Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/program/
Dprogramopt.c49 insert_mvp_dp4_code(struct gl_context *ctx, struct gl_program *vprog) in insert_mvp_dp4_code() argument
52 const GLuint origLen = vprog->arb.NumInstructions; in insert_mvp_dp4_code()
69 mvpRef[i] = _mesa_add_state_reference(vprog->Parameters, mvpState[i]); in insert_mvp_dp4_code()
73 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in insert_mvp_dp4_code()
102 _mesa_copy_instructions (newInst + 4, vprog->arb.Instructions, origLen); in insert_mvp_dp4_code()
105 ralloc_free(vprog->arb.Instructions); in insert_mvp_dp4_code()
108 vprog->arb.Instructions = newInst; in insert_mvp_dp4_code()
109 vprog->arb.NumInstructions = newLen; in insert_mvp_dp4_code()
110 vprog->info.inputs_read |= VERT_BIT_POS; in insert_mvp_dp4_code()
111 vprog->info.outputs_written |= BITFIELD64_BIT(VARYING_SLOT_POS); in 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.cpp226 struct gl_program *vprog; in filter_fp_input_mask() local
233 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in filter_fp_input_mask()
235 vprog = ctx->VertexProgram.Current; in filter_fp_input_mask()
237 GLbitfield possible_inputs = vprog->info.outputs_written; in filter_fp_input_mask()