Home
last modified time | relevance | path

Searched refs:VertexProgram (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mesa3d/src/mesa/main/
Dstate.c181 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 …]
Dstate.h78 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()
Darbprogram.c114 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 …]
Ddraw.c90 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 …]
Denable.c130 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 …]
Dcontext.c626 (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()
Dattrib.c197 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()
Dff_fragment_shader.cpp160 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/
DVertexProgram.cpp26 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 …]
DVertexProgram.hpp32 class VertexProgram : public VertexRoutine, public ShaderCore class
35 VertexProgram(const VertexProcessor::State &state, const VertexShader *vertexShader);
37 virtual ~VertexProgram();
DCMakeLists.txt31 VertexProgram.cpp
44 VertexProgram.hpp
DBUILD.gn48 "VertexProgram.cpp",
/third_party/mesa3d/src/mesa/state_tracker/
Dst_util.h78 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()
Dst_atom_shader.c198 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()
Dst_atom.c86 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()
Dst_cb_rasterpos.c231 if (ctx->VertexProgram._Current == NULL || in st_RasterPos()
232 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { in st_RasterPos()
/third_party/mesa3d/src/mesa/program/
Dprogram.c92 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/
DVertexProgram.cpp27 VertexProgram::VertexProgram( in VertexProgram() function in sw::VertexProgram
65 VertexProgram::~VertexProgram() in ~VertexProgram()
69 void VertexProgram::program(Pointer<UInt> &batch, UInt &vertexCount) in program()
DVertexProgram.hpp25 class VertexProgram : public VertexRoutine class
28 VertexProgram(
34 virtual ~VertexProgram();
DBUILD.gn29 "VertexProgram.hpp",
55 "VertexProgram.cpp",
DCMakeLists.txt50 VertexProgram.cpp
51 VertexProgram.hpp
/third_party/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c139 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()
Dvbo_context.c202 const gl_vertex_processing_mode vmp = ctx->VertexProgram._VPMode; in _vbo_current_attrib()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DVertexProcessor.cpp100 VertexRoutine *generator = new VertexProgram(state, pipelineLayout, vertexShader, descriptorSets); in routine()
/third_party/skia/third_party/externals/swiftshader/docs/
DIndex.md42 …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…

12