• Home
  • Raw
  • Download

Lines Matching refs:vprog

49 _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()
116 _mesa_insert_mvp_mad_code(struct gl_context *ctx, struct gl_program *vprog) in _mesa_insert_mvp_mad_code() argument
119 const GLuint origLen = vprog->arb.NumInstructions; in _mesa_insert_mvp_mad_code()
137 mvpRef[i] = _mesa_add_state_reference(vprog->Parameters, mvpState[i]); in _mesa_insert_mvp_mad_code()
141 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in _mesa_insert_mvp_mad_code()
149 hposTemp = vprog->arb.NumTemporaries++; in _mesa_insert_mvp_mad_code()
203 _mesa_copy_instructions (newInst + 4, vprog->arb.Instructions, origLen); in _mesa_insert_mvp_mad_code()
206 ralloc_free(vprog->arb.Instructions); in _mesa_insert_mvp_mad_code()
209 vprog->arb.Instructions = newInst; in _mesa_insert_mvp_mad_code()
210 vprog->arb.NumInstructions = newLen; in _mesa_insert_mvp_mad_code()
211 vprog->info.inputs_read |= VERT_BIT_POS; in _mesa_insert_mvp_mad_code()
212 vprog->info.outputs_written |= BITFIELD64_BIT(VARYING_SLOT_POS); in _mesa_insert_mvp_mad_code()
217 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog) in _mesa_insert_mvp_code() argument
220 _mesa_insert_mvp_dp4_code( ctx, vprog ); in _mesa_insert_mvp_code()
222 _mesa_insert_mvp_mad_code( ctx, vprog ); in _mesa_insert_mvp_code()