Searched refs:vprog (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/mesa/program/ |
D | programopt.c | 49 _mesa_insert_mvp_dp4_code(struct gl_context *ctx, struct gl_vertex_program *vprog) in _mesa_insert_mvp_dp4_code() argument 52 const GLuint origLen = vprog->Base.NumInstructions; in _mesa_insert_mvp_dp4_code() 69 mvpRef[i] = _mesa_add_state_reference(vprog->Base.Parameters, in _mesa_insert_mvp_dp4_code() 103 _mesa_copy_instructions (newInst + 4, vprog->Base.Instructions, origLen); in _mesa_insert_mvp_dp4_code() 106 _mesa_free_instructions(vprog->Base.Instructions, origLen); in _mesa_insert_mvp_dp4_code() 109 vprog->Base.Instructions = newInst; in _mesa_insert_mvp_dp4_code() 110 vprog->Base.NumInstructions = newLen; in _mesa_insert_mvp_dp4_code() 111 vprog->Base.InputsRead |= VERT_BIT_POS; in _mesa_insert_mvp_dp4_code() 112 vprog->Base.OutputsWritten |= BITFIELD64_BIT(VERT_RESULT_HPOS); in _mesa_insert_mvp_dp4_code() 117 _mesa_insert_mvp_mad_code(struct gl_context *ctx, struct gl_vertex_program *vprog) in _mesa_insert_mvp_mad_code() argument [all …]
|
D | programopt.h | 32 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_vertex_program *vprog);
|
/external/mesa3d/src/mesa/main/ |
D | nvprogram.c | 63 struct gl_vertex_program *vprog; in _mesa_ExecuteProgramNV() local 74 vprog = gl_vertex_program(_mesa_lookup_program(ctx, id)); in _mesa_ExecuteProgramNV() 76 if (!vprog || vprog->Base.Target != GL_VERTEX_STATE_PROGRAM_NV) { in _mesa_ExecuteProgramNV() 630 struct gl_vertex_program *vprog = gl_vertex_program(prog); in _mesa_LoadProgramNV() local 631 if (!vprog || prog == &_mesa_DummyProgram) { in _mesa_LoadProgramNV() 632 vprog = gl_vertex_program(ctx->Driver.NewProgram(ctx, target, id)); in _mesa_LoadProgramNV() 633 if (!vprog) { in _mesa_LoadProgramNV() 637 _mesa_HashInsert(ctx->Shared->Programs, id, vprog); in _mesa_LoadProgramNV() 642 _mesa_parse_arb_vertex_program(ctx, target, program, len, vprog); in _mesa_LoadProgramNV() 644 _mesa_parse_nv_vertex_program(ctx, target, program, len, vprog); in _mesa_LoadProgramNV()
|
D | texstate.c | 497 struct gl_program *vprog = NULL; in update_texture_state() local 502 vprog = ctx->Shader.CurrentVertexProgram->_LinkedShaders[MESA_SHADER_VERTEX]->Program; in update_texture_state() 546 if (vprog) { in update_texture_state() 547 enabledVertTargets |= vprog->TexturesUsed[unit]; in update_texture_state()
|
D | ff_fragment_shader.cpp | 380 struct gl_program *vprog; in get_fp_input_mask() local 388 vprog = ctx->Shader.CurrentVertexProgram->_LinkedShaders[MESA_SHADER_VERTEX]->Program; in get_fp_input_mask() 390 vprog = &ctx->VertexProgram.Current->Base; in get_fp_input_mask() 392 vp_outputs = vprog->OutputsWritten; in get_fp_input_mask()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program.c | 153 struct gl_vertex_program *vprog = (struct gl_vertex_program *) prog; in brwProgramStringNotify() local 154 struct brw_vertex_program *newVP = brw_vertex_program(vprog); in brwProgramStringNotify()
|