/third_party/mesa3d/src/mesa/main/ |
D | state.c | 181 const struct gl_program *prevVP = ctx->VertexProgram._Current; in update_program() 268 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode); in update_program() 269 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, vsProg); in update_program() 273 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode); in update_program() 274 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, in update_program() 275 ctx->VertexProgram.Current); in update_program() 279 assert(VP_MODE_FF == ctx->VertexProgram._VPMode); in update_program() 280 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, in update_program() 282 _mesa_reference_program(ctx, &ctx->VertexProgram._TnlProgram, in update_program() 283 ctx->VertexProgram._Current); in update_program() [all …]
|
D | state.h | 78 if (ctx->VertexProgram._Current && in _mesa_need_secondary_color() 79 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) && in _mesa_need_secondary_color() 80 (ctx->VertexProgram._Current->info.inputs_read & VERT_BIT_COLOR1)) in _mesa_need_secondary_color() 97 return ctx->VertexProgram.Enabled && in _mesa_arb_vertex_program_enabled() 98 ctx->VertexProgram.Current->arb.Instructions; in _mesa_arb_vertex_program_enabled() 107 return ctx->VertexProgram.TwoSideEnabled; in _mesa_vertex_program_two_side_enabled()
|
D | arbprogram.c | 114 curProg = ctx->VertexProgram.Current; in _mesa_BindProgramARB() 147 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, newProg); in _mesa_BindProgramARB() 157 assert(ctx->VertexProgram.Current); in _mesa_BindProgramARB() 190 if (ctx->VertexProgram.Current && in _mesa_DeleteProgramsARB() 191 ctx->VertexProgram.Current->Id == ids[i]) { in _mesa_DeleteProgramsARB() 278 return ctx->VertexProgram.Current; in get_current_program() 351 *param = ctx->VertexProgram.Parameters[index]; in get_env_param_pointer() 472 set_program_string(ctx->VertexProgram.Current, target, format, len, string); in _mesa_ProgramStringARB() 594 dest = ctx->VertexProgram.Parameters[index]; in _mesa_ProgramEnvParameters4fvEXT() 667 if ((target == GL_VERTEX_PROGRAM_ARB && prog == ctx->VertexProgram.Current) || in _mesa_NamedProgramLocalParameter4fEXT() [all …]
|
D | draw.c | 90 if (ctx->VertexProgram._VPModeOptimizesConstantAttribs && in _mesa_set_varying_vp_inputs() 91 ctx->VertexProgram._VaryingInputs != varying_inputs) { in _mesa_set_varying_vp_inputs() 92 ctx->VertexProgram._VaryingInputs = varying_inputs; in _mesa_set_varying_vp_inputs() 1521 ctx->VertexProgram._VPModeInputFilter); in _mesa_DrawArrays() 1552 ctx->VertexProgram._VPModeInputFilter); in _mesa_DrawArraysInstancedARB() 1584 ctx->VertexProgram._VPModeInputFilter); in _mesa_DrawArraysInstancedBaseInstance() 1615 ctx->VertexProgram._VPModeInputFilter); in _mesa_MultiDrawArrays() 1850 ctx->VertexProgram._VPModeInputFilter); in _mesa_DrawRangeElementsBaseVertex() 1946 ctx->VertexProgram._VPModeInputFilter); in _mesa_DrawElements() 1971 ctx->VertexProgram._VPModeInputFilter); in _mesa_DrawElementsBaseVertex() [all …]
|
D | enable.c | 130 if (ctx->VertexProgram.PointSizeEnabled != state) { in client_state() 132 ctx->VertexProgram.PointSizeEnabled = state; in client_state() 1078 if (ctx->VertexProgram.Enabled == state) in _mesa_set_enable() 1081 ctx->VertexProgram.Enabled = state; in _mesa_set_enable() 1092 if (ctx->VertexProgram.PointSizeEnabled == state) in _mesa_set_enable() 1095 ctx->VertexProgram.PointSizeEnabled = state; in _mesa_set_enable() 1100 if (ctx->VertexProgram.TwoSideEnabled == state) in _mesa_set_enable() 1103 ctx->VertexProgram.TwoSideEnabled = state; in _mesa_set_enable() 1851 return ctx->VertexProgram.Enabled; in _mesa_IsEnabled() 1859 return ctx->VertexProgram.PointSizeEnabled; in _mesa_IsEnabled() [all …]
|
D | context.c | 626 (8 * sizeof(ctx->VertexProgram._Current->info.outputs_written))); in check_context_limits() 740 ctx->VertexProgram._VaryingInputs = VERT_BIT_ALL; in init_attrib_groups() 1079 ctx->VertexProgram.PointSizeEnabled = ctx->API == API_OPENGLES2; in _mesa_initialize_context() 1118 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); in _mesa_free_context_data() 1119 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, NULL); in _mesa_free_context_data() 1120 _mesa_reference_program(ctx, &ctx->VertexProgram._TnlProgram, NULL); in _mesa_free_context_data()
|
D | attrib.c | 197 attr->VertexProgram = ctx->VertexProgram.Enabled; in _mesa_PushAttrib() 198 attr->VertexProgramPointSize = ctx->VertexProgram.PointSizeEnabled; in _mesa_PushAttrib() 199 attr->VertexProgramTwoSide = ctx->VertexProgram.TwoSideEnabled; in _mesa_PushAttrib() 465 TEST_AND_UPDATE(ctx->VertexProgram.Enabled, in pop_enable_group() 466 enable->VertexProgram, in pop_enable_group() 468 TEST_AND_UPDATE(ctx->VertexProgram.PointSizeEnabled, in pop_enable_group() 471 TEST_AND_UPDATE(ctx->VertexProgram.TwoSideEnabled, in pop_enable_group()
|
D | ff_fragment_shader.cpp | 160 if (ctx->VertexProgram._Overriden) { in filter_fp_input_mask() 182 GLbitfield varying_inputs = ctx->VertexProgram._VaryingInputs; in filter_fp_input_mask() 184 assert(VP_MODE_FF == ctx->VertexProgram._VPMode); in filter_fp_input_mask() 238 vprog = ctx->VertexProgram.Current; in filter_fp_input_mask()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | VertexProgram.cpp | 26 VertexProgram::VertexProgram(const VertexProcessor::State &state, const VertexShader *shader) in VertexProgram() function in sw::VertexProgram 61 VertexProgram::~VertexProgram() in ~VertexProgram() 65 void VertexProgram::pipeline(UInt &index) in pipeline() 77 void VertexProgram::program(UInt &index) in program() 620 void VertexProgram::passThrough() in passThrough() 688 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) in fetchRegister() 826 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() 838 …RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index, Int &offs… in uniformAddress() 843 Vector4f VertexProgram::readConstant(const Src &src, unsigned int offset) in readConstant() 935 Int VertexProgram::relativeAddress(const Shader::Relative &rel, int bufferIndex) in relativeAddress() [all …]
|
D | VertexProgram.hpp | 32 class VertexProgram : public VertexRoutine, public ShaderCore class 35 VertexProgram(const VertexProcessor::State &state, const VertexShader *vertexShader); 37 virtual ~VertexProgram();
|
D | CMakeLists.txt | 31 VertexProgram.cpp 44 VertexProgram.hpp
|
D | BUILD.gn | 48 "VertexProgram.cpp",
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_util.h | 78 const struct gl_program *vertProg = ctx->VertexProgram._Current; in st_point_size_per_vertex() 89 return ctx->VertexProgram.PointSizeEnabled; in st_point_size_per_vertex() 99 else if (ctx->VertexProgram._Current) in st_point_size_per_vertex() 100 last = ctx->VertexProgram._Current; in st_point_size_per_vertex()
|
D | st_atom_shader.c | 198 assert(st->ctx->VertexProgram._Current); in st_update_vp() 199 vp = st->ctx->VertexProgram._Current; in st_update_vp() 232 … key.export_point_size = !st->ctx->VertexProgram.PointSizeEnabled && !st->ctx->PointSizeIsSet; in st_update_vp() 238 update_gl_clamp(st, st->ctx->VertexProgram._Current, key.gl_clamp); in st_update_vp() 289 … key.export_point_size = !st->ctx->VertexProgram.PointSizeEnabled && !st->ctx->PointSizeIsSet; in st_update_common_program()
|
D | st_atom.c | 86 struct gl_program *new_vp = ctx->VertexProgram._Current; in check_program_state() 152 !st->ctx->VertexProgram.PointSizeEnabled && !st->ctx->PointSizeIsSet) { in check_program_state() 175 struct gl_program *vp = st->ctx->VertexProgram._Current; in st_update_edgeflags()
|
D | st_cb_rasterpos.c | 231 if (ctx->VertexProgram._Current == NULL || in st_RasterPos() 232 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { in st_RasterPos()
|
/third_party/mesa3d/src/mesa/program/ |
D | program.c | 92 ctx->VertexProgram.Enabled = GL_FALSE; in _mesa_init_program() 93 ctx->VertexProgram.PointSizeEnabled = in _mesa_init_program() 95 ctx->VertexProgram.TwoSideEnabled = GL_FALSE; in _mesa_init_program() 96 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, in _mesa_init_program() 98 assert(ctx->VertexProgram.Current); in _mesa_init_program() 99 ctx->VertexProgram.Cache = _mesa_new_program_cache(); in _mesa_init_program() 122 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); in _mesa_free_program_data() 123 _mesa_delete_program_cache(ctx, ctx->VertexProgram.Cache); in _mesa_free_program_data() 147 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, in _mesa_update_default_objects_program() 149 assert(ctx->VertexProgram.Current); in _mesa_update_default_objects_program()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | VertexProgram.cpp | 27 VertexProgram::VertexProgram( in VertexProgram() function in sw::VertexProgram 65 VertexProgram::~VertexProgram() in ~VertexProgram() 69 void VertexProgram::program(Pointer<UInt> &batch, UInt &vertexCount) in program()
|
D | VertexProgram.hpp | 25 class VertexProgram : public VertexRoutine class 28 VertexProgram( 34 virtual ~VertexProgram();
|
D | BUILD.gn | 29 "VertexProgram.hpp", 55 "VertexProgram.cpp",
|
D | CMakeLists.txt | 50 VertexProgram.cpp 51 VertexProgram.hpp
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_draw.c | 139 const gl_vertex_processing_mode mode = ctx->VertexProgram._VPMode; in bind_vertex_list() 198 const gl_vertex_processing_mode mode = ctx->VertexProgram._VPMode; in vbo_save_playback_vertex_list_gallium() 225 struct gl_program *vp = ctx->VertexProgram._Current; in vbo_save_playback_vertex_list_gallium()
|
D | vbo_context.c | 202 const gl_vertex_processing_mode vmp = ctx->VertexProgram._VPMode; in _vbo_current_attrib()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | VertexProcessor.cpp | 100 VertexRoutine *generator = new VertexProgram(state, pipelineLayout, vertexShader, descriptorSets); in routine()
|
/third_party/skia/third_party/externals/swiftshader/docs/ |
D | Index.md | 42 …ble vertex processing with a shader is implemented by [VertexProgram](../src/Shader/VertexProgram.… 48 The PixelProgram and VertexProgram share some common functionality in [ShaderCore](../src/Shader/Sh…
|