Searched refs:optype (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_atifragshader.c99 apply_src_rep(GLint optype, GLuint rep, GLfloat * val) argument
106 start = optype ? 3 : 0;
128 apply_src_mod(GLint optype, GLuint mod, GLfloat * val) argument
136 start = optype ? 3 : 0;
155 apply_dst_mod(GLuint optype, GLuint mod, GLfloat * val) argument
163 start = optype ? 3 : 0;
164 end = optype ? 4 : 3;
205 write_dst_addr(GLuint optype, GLuint mod, GLuint mask, GLfloat * src, argument
209 apply_dst_mod(optype, mod, src);
211 if (optype
309 GLint optype; local in function:execute_shader
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_atifragshader.c99 apply_src_rep(GLint optype, GLuint rep, GLfloat * val) argument
106 start = optype ? 3 : 0;
128 apply_src_mod(GLint optype, GLuint mod, GLfloat * val) argument
136 start = optype ? 3 : 0;
155 apply_dst_mod(GLuint optype, GLuint mod, GLfloat * val) argument
163 start = optype ? 3 : 0;
164 end = optype ? 4 : 3;
205 write_dst_addr(GLuint optype, GLuint mod, GLuint mask, GLfloat * src, argument
209 apply_dst_mod(optype, mod, src);
211 if (optype
309 GLint optype; local in function:execute_shader
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_fragshader.c41 static void r200SetFragShaderArg( GLuint *afs_cmd, GLuint opnum, GLuint optype, argument
55 if (optype)
60 if (optype)
64 if (!optype)
70 if (!optype)
108 SET_INST(opnum, optype) |= reg0;
109 SET_INST_2(opnum, optype) |= reg2;
144 GLuint optype; local in function:r200UpdateFSArith
152 for (optype = 0; optype <
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_fragshader.c41 static void r200SetFragShaderArg( GLuint *afs_cmd, GLuint opnum, GLuint optype, argument
55 if (optype)
60 if (optype)
64 if (!optype)
70 if (!optype)
108 SET_INST(opnum, optype) |= reg0;
109 SET_INST_2(opnum, optype) |= reg2;
146 GLuint optype; local in function:r200UpdateFSArith
154 for (optype = 0; optype <
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Datifragshader.c77 static void match_pair_inst(struct ati_fragment_shader *curProg, GLuint optype) argument
79 if (optype == curProg->last_optype) {
117 static void debug_op(GLint optype, GLuint arg_count, GLenum op, GLuint dst, argument
125 op_name = atifs_ops[(arg_count-1)+(optype?3:0)];
129 if (optype == ATI_FRAGMENT_SHADER_COLOR_OP)
149 check_arith_arg(GLuint optype, GLuint arg, GLuint argRep) argument
168 if (optype == ATI_FRAGMENT_SHADER_COLOR_OP && argRep == GL_ALPHA) {
171 } else if (optype == ATI_FRAGMENT_SHADER_ALPHA_OP &&
581 _mesa_FragmentOpXATI(GLint optype, GLuint arg_count, GLenum op, GLuint dst, argument
611 if (optype
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Datifragshader.c75 static void match_pair_inst(struct ati_fragment_shader *curProg, GLuint optype) argument
77 if (optype == curProg->last_optype) {
115 static void debug_op(GLint optype, GLuint arg_count, GLenum op, GLuint dst, argument
123 op_name = atifs_ops[(arg_count-1)+(optype?3:0)];
127 if (optype == ATI_FRAGMENT_SHADER_COLOR_OP)
147 check_arith_arg(GLuint optype, GLuint arg, GLuint argRep) argument
166 if (optype == ATI_FRAGMENT_SHADER_COLOR_OP && argRep == GL_ALPHA) {
169 } else if (optype == ATI_FRAGMENT_SHADER_ALPHA_OP &&
574 _mesa_FragmentOpXATI(GLint optype, GLuint arg_count, GLenum op, GLuint dst, argument
604 if (optype
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atifs_to_nir.c397 unsigned optype; local in function:compile_instruction
399 for (optype = 0; optype < 2; optype++) { /* color, alpha */
400 unsigned dstreg = inst->DstReg[optype].Index - GL_REG_0_ATI;
402 if (!inst->Opcode[optype])
406 nir_ssa_def *result = emit_arith_inst(t, inst, optype);
407 result = emit_dstmod(t, result, inst->DstReg[optype].dstMod);
412 if (inst->DstReg[optype].dstMask & (1 << i))
542 unsigned pass, i, r, optype, ar local in function:st_init_atifs_prog
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atifs_to_tgsi.c351 unsigned optype; local in function:compile_instruction
353 for (optype = 0; optype < 2; optype++) { /* color, alpha */
358 unsigned dstreg = inst->DstReg[optype].Index - GL_REG_0_ATI;
360 if (!inst->Opcode[optype])
363 desc = &inst_desc[inst->Opcode[optype] - GL_MOV_ATI];
367 if (arg >= inst->ArgCount[optype]) {
373 &inst->SrcReg[optype][arg]);
380 if (optype) {
547 unsigned pass, i, r, optype, arg; local in function:st_init_atifs_prog
[all...]

Completed in 50 milliseconds