Searched refs:VertexProgram (Results 1 - 25 of 78) sorted by relevance

1234

/external/mesa3d/src/mesa/tnl/
H A Dt_vp_build.c44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current;
46 if (!ctx->VertexProgram._Current ||
47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
48 ctx->VertexProgram._Current
49 = ctx->VertexProgram._TnlProgram
56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) {
58 (struct gl_program *) ctx->VertexProgram._Current);
H A Dt_vb_program.c167 if (ctx->Transform.ClipPlanesEnabled && (!ctx->VertexProgram._Enabled ||
168 ctx->VertexProgram.Current->IsPositionInvariant)) {
234 if (ctx->VertexProgram._Current->IsNVProgram) {
263 machine->Samplers = ctx->VertexProgram._Current->Base.SamplerUnits;
316 struct gl_vertex_program *program = ctx->VertexProgram._Current;
437 if (ctx->VertexProgram.PointSizeEnabled &&
558 if (ctx->VertexProgram._Current) {
H A Dt_vb_points.c52 if (ctx->Point._Attenuated && !ctx->VertexProgram._Current) {
H A Dt_vb_texmat.c63 if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Current)
H A Dt_context.c66 if (ctx->VertexProgram._MaintainTnlProgram) {
128 const struct gl_vertex_program *vp = ctx->VertexProgram._Current;
173 if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled)
H A Dt_vb_normals.c96 if (ctx->VertexProgram._Current ||
/external/mesa3d/src/mesa/main/
H A Dstate.h62 if (ctx->VertexProgram._Current &&
63 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) &&
64 (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_COLOR1))
H A Dstate.c68 * ctx->VertexProgram._Enabled
80 ctx->VertexProgram._Enabled = ctx->VertexProgram.Enabled
81 && ctx->VertexProgram.Current->Base.Instructions;
109 const struct gl_vertex_program *prevVP = ctx->VertexProgram._Current;
115 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current
187 _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current,
190 else if (ctx->VertexProgram._Enabled) {
192 _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current,
193 ctx->VertexProgram
[all...]
H A Darbprogram.c83 curProg = &ctx->VertexProgram.Current->Base;
140 _mesa_reference_vertprog(ctx, &ctx->VertexProgram.Current,
150 ASSERT(ctx->VertexProgram.Current);
186 if (ctx->VertexProgram.Current &&
187 ctx->VertexProgram.Current->Base.Id == ids[i]) {
281 prog = &(ctx->VertexProgram.Current->Base);
282 maxParams = ctx->Const.VertexProgram.MaxLocalParams;
326 if (index >= ctx->Const.VertexProgram.MaxEnvParams) {
330 *param = ctx->VertexProgram.Parameters[index];
368 struct gl_vertex_program *prog = ctx->VertexProgram
[all...]
H A Dnvprogram.c185 COPY_4V(params, ctx->VertexProgram.Parameters[index]);
220 COPY_4V(params, ctx->VertexProgram.Parameters[index]);
334 params[0] = (GLint) ctx->VertexProgram.TrackMatrix[i];
337 params[0] = (GLint) ctx->VertexProgram.TrackMatrixTransform[i];
698 ctx->VertexProgram.Parameters[index + i][0] = (GLfloat) params[0];
699 ctx->VertexProgram.Parameters[index + i][1] = (GLfloat) params[1];
700 ctx->VertexProgram.Parameters[index + i][2] = (GLfloat) params[2];
701 ctx->VertexProgram.Parameters[index + i][3] = (GLfloat) params[3];
730 COPY_4V(ctx->VertexProgram.Parameters[index + i], params);
796 ctx->VertexProgram
[all...]
H A Darrayobj.c316 if (!ctx->VertexProgram._Current ||
317 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
319 } else if (ctx->VertexProgram._Current->IsNVProgram) {
/external/mesa3d/src/mesa/vbo/
H A Dvbo_context.h107 if (!ctx->VertexProgram._Current)
109 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
111 else if (ctx->VertexProgram._Current->IsNVProgram)
H A Dvbo_save_draw.c183 if ((ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_POS) == 0 &&
184 (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_GENERIC0)) {
306 if ((ctx->VertexProgram.Enabled && !ctx->VertexProgram._Enabled) ||
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_context.c234 ctx->Const.VertexProgram.MaxNativeInstructions = (16 * 1024);
235 ctx->Const.VertexProgram.MaxAluInstructions = 0;
236 ctx->Const.VertexProgram.MaxTexInstructions = 0;
237 ctx->Const.VertexProgram.MaxTexIndirections = 0;
238 ctx->Const.VertexProgram.MaxNativeAluInstructions = 0;
239 ctx->Const.VertexProgram.MaxNativeTexInstructions = 0;
240 ctx->Const.VertexProgram.MaxNativeTexIndirections = 0;
241 ctx->Const.VertexProgram.MaxNativeAttribs = 16;
242 ctx->Const.VertexProgram.MaxNativeTemps = 256;
243 ctx->Const.VertexProgram
[all...]
H A Dintel_span.c184 if (ctx->VertexProgram._Current == NULL)
189 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
204 if (ctx->VertexProgram._Current == NULL)
209 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_span.c184 if (ctx->VertexProgram._Current == NULL)
189 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
204 if (ctx->VertexProgram._Current == NULL)
209 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_span.c184 if (ctx->VertexProgram._Current == NULL)
189 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
204 if (ctx->VertexProgram._Current == NULL)
209 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
/external/mesa3d/src/glsl/
H A Dstandalone_scaffolding.cpp91 ctx->Const.VertexProgram.MaxAttribs = 16;
93 ctx->Const.VertexProgram.MaxUniformComponents = 512;
/external/swiftshader/src/Shader/
H A DVertexProgram.cpp15 #include "VertexProgram.hpp"
26 VertexProgram::VertexProgram(const VertexProcessor::State &state, const VertexShader *shader) function in class:sw::VertexProgram
59 VertexProgram::~VertexProgram()
67 void VertexProgram::pipeline()
84 void VertexProgram::program()
593 void VertexProgram::passThrough()
661 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset)
776 RValue<Pointer<Byte>> VertexProgram
[all...]
H A DVertexProgram.hpp30 class VertexProgram : public VertexRoutine, public ShaderCore class in namespace:sw
33 VertexProgram(const VertexProcessor::State &state, const VertexShader *vertexShader);
35 virtual ~VertexProgram();
/external/mesa3d/src/mesa/program/
H A Dprogram.c61 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents / 4
66 ASSERT(ctx->Const.VertexProgram.MaxTemps <= (1 << INST_INDEX_BITS));
67 ASSERT(ctx->Const.VertexProgram.MaxLocalParams <= (1 << INST_INDEX_BITS));
71 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS);
74 ASSERT(ctx->Const.VertexProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS));
87 ctx->VertexProgram.Enabled = GL_FALSE;
89 ctx->VertexProgram.PointSizeEnabled =
92 ctx->VertexProgram.PointSizeEnabled = GL_FALSE;
94 ctx->VertexProgram.TwoSideEnabled = GL_FALSE;
95 _mesa_reference_vertprog(ctx, &ctx->VertexProgram
[all...]
H A Dprog_statevars.c384 COPY_4V(value, ctx->VertexProgram.Parameters[idx]);
387 COPY_4V(value, ctx->VertexProgram.Current->Base.LocalParams[idx]);
1120 if (ctx->VertexProgram.TrackMatrix[i] == GL_MODELVIEW) {
1123 else if (ctx->VertexProgram.TrackMatrix[i] == GL_PROJECTION) {
1126 else if (ctx->VertexProgram.TrackMatrix[i] == GL_TEXTURE) {
1131 else if (ctx->VertexProgram.TrackMatrix[i]==GL_MODELVIEW_PROJECTION_NV) {
1135 else if (ctx->VertexProgram.TrackMatrix[i] >= GL_MATRIX0_NV &&
1136 ctx->VertexProgram.TrackMatrix[i] <= GL_MATRIX7_NV) {
1137 GLuint n = ctx->VertexProgram.TrackMatrix[i] - GL_MATRIX0_NV;
1143 assert(ctx->VertexProgram
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_shader.c131 assert(st->ctx->VertexProgram._Current);
132 stvp = st_vertex_program(st->ctx->VertexProgram._Current);
H A Dst_atom_rasterizer.c62 const struct gl_vertex_program *vertProg = ctx->VertexProgram._Current;
94 raster->light_twoside = ctx->VertexProgram._TwoSideEnabled;
201 else if (ctx->VertexProgram.PointSizeEnabled) {
203 raster->point_size_per_vertex = ctx->VertexProgram.PointSizeEnabled;
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_context.c344 ctx->Const.VertexProgram.MaxNativeInstructions = R200_VSF_MAX_INST;
345 ctx->Const.VertexProgram.MaxNativeAttribs = 12;
346 ctx->Const.VertexProgram.MaxNativeTemps = R200_VSF_MAX_TEMPS;
347 ctx->Const.VertexProgram.MaxNativeParameters = R200_VSF_MAX_PARAM;
348 ctx->Const.VertexProgram.MaxNativeAddressRegs = 1;

Completed in 368 milliseconds

1234