Lines Matching refs:program
242 print_arith_op(GLuint opcode, const GLuint * program)
245 print_dest_reg(program[0]);
246 if (program[0] & A0_DEST_SATURATE)
254 print_src_reg(GET_SRC0_REG(program[0], program[1]));
261 print_src_reg(GET_SRC1_REG(program[1], program[2]));
268 print_src_reg(GET_SRC2_REG(program[2]));
275 print_tex_op(GLuint opcode, const GLuint * program)
277 print_dest_reg(program[0] | A0_DEST_CHANNEL_ALL);
282 printf("S[%d],", program[0] & T0_SAMPLER_NR_MASK);
284 print_reg_type_nr((program[1] >> T1_ADDRESS_REG_TYPE_SHIFT) &
286 (program[1] >> T1_ADDRESS_REG_NR_SHIFT) & REG_NR_MASK);
291 print_dcl_op(GLuint opcode, const GLuint * program)
294 print_dest_reg(program[0] | A0_DEST_CHANNEL_ALL);
300 i915_disassemble_program(const GLuint * program, GLuint sz)
302 GLuint size = program[0] & 0x1ff;
309 program++;
310 for (i = 1; i < sz; i += 3, program += 3) {
311 GLuint opcode = program[0] & (0x1f << 24);
316 print_arith_op(opcode >> 24, program);
318 print_tex_op(opcode >> 24, program);
320 print_dcl_op(opcode >> 24, program);