Lines Matching refs:opcode
257 _mesa_num_inst_src_regs(gl_inst_opcode opcode) in _mesa_num_inst_src_regs() argument
259 ASSERT(opcode < MAX_OPCODE); in _mesa_num_inst_src_regs()
260 ASSERT(opcode == InstInfo[opcode].Opcode); in _mesa_num_inst_src_regs()
262 return InstInfo[opcode].NumSrcRegs; in _mesa_num_inst_src_regs()
270 _mesa_num_inst_dst_regs(gl_inst_opcode opcode) in _mesa_num_inst_dst_regs() argument
272 ASSERT(opcode < MAX_OPCODE); in _mesa_num_inst_dst_regs()
273 ASSERT(opcode == InstInfo[opcode].Opcode); in _mesa_num_inst_dst_regs()
275 return InstInfo[opcode].NumDstRegs; in _mesa_num_inst_dst_regs()
280 _mesa_is_tex_instruction(gl_inst_opcode opcode) in _mesa_is_tex_instruction() argument
282 return (opcode == OPCODE_TEX || in _mesa_is_tex_instruction()
283 opcode == OPCODE_TXB || in _mesa_is_tex_instruction()
284 opcode == OPCODE_TXD || in _mesa_is_tex_instruction()
285 opcode == OPCODE_TXL || in _mesa_is_tex_instruction()
286 opcode == OPCODE_TXP); in _mesa_is_tex_instruction()
344 _mesa_opcode_string(gl_inst_opcode opcode) in _mesa_opcode_string() argument
346 if (opcode < MAX_OPCODE) in _mesa_opcode_string()
347 return InstInfo[opcode].Name; in _mesa_opcode_string()
350 _mesa_snprintf(s, sizeof(s), "OP%u", opcode); in _mesa_opcode_string()