Home
last modified time | relevance | path

Searched refs:vprog (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprogramopt.c49 _mesa_insert_mvp_dp4_code(struct gl_context *ctx, struct gl_program *vprog) in _mesa_insert_mvp_dp4_code() argument
52 const GLuint origLen = vprog->arb.NumInstructions; in _mesa_insert_mvp_dp4_code()
69 mvpRef[i] = _mesa_add_state_reference(vprog->Parameters, mvpState[i]); in _mesa_insert_mvp_dp4_code()
73 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in _mesa_insert_mvp_dp4_code()
102 _mesa_copy_instructions (newInst + 4, vprog->arb.Instructions, origLen); in _mesa_insert_mvp_dp4_code()
105 ralloc_free(vprog->arb.Instructions); in _mesa_insert_mvp_dp4_code()
108 vprog->arb.Instructions = newInst; in _mesa_insert_mvp_dp4_code()
109 vprog->arb.NumInstructions = newLen; in _mesa_insert_mvp_dp4_code()
110 vprog->info.inputs_read |= VERT_BIT_POS; in _mesa_insert_mvp_dp4_code()
111 vprog->info.outputs_written |= BITFIELD64_BIT(VARYING_SLOT_POS); in _mesa_insert_mvp_dp4_code()
[all …]
Dprogramopt.h38 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog);
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp361 struct gl_program *vprog; in get_fp_input_mask() local
369vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]->_LinkedShaders[MESA_SHADER_VERTEX]->Prog… in get_fp_input_mask()
371 vprog = ctx->VertexProgram.Current; in get_fp_input_mask()
373 vp_outputs = vprog->info.outputs_written; in get_fp_input_mask()