Searched refs:vprog (Results 1 – 3 of 3) sorted by relevance
49 insert_mvp_dp4_code(struct gl_context *ctx, struct gl_program *vprog) in insert_mvp_dp4_code() argument52 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 …]
41 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog);
228 struct gl_program *vprog; in filter_fp_input_mask() local235 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in filter_fp_input_mask()237 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in filter_fp_input_mask()239 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in filter_fp_input_mask()241 vprog = ctx->VertexProgram.Current; in filter_fp_input_mask()243 GLbitfield possible_inputs = vprog->info.outputs_written; in filter_fp_input_mask()