mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 16:10:09 +01:00
tgsi/nir: use enum tgsi_opcode
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
22a3190c85
commit
ccecb2bbd3
1 changed files with 2 additions and 2 deletions
|
|
@ -773,8 +773,8 @@ ttn_get_src(struct ttn_compile *c, struct tgsi_full_src_register *tgsi_fsrc,
|
|||
{
|
||||
nir_builder *b = &c->build;
|
||||
struct tgsi_src_register *tgsi_src = &tgsi_fsrc->Register;
|
||||
unsigned tgsi_opcode = c->token->FullInstruction.Instruction.Opcode;
|
||||
unsigned tgsi_src_type = tgsi_opcode_infer_src_type(tgsi_opcode, src_idx);
|
||||
enum tgsi_opcode opcode = c->token->FullInstruction.Instruction.Opcode;
|
||||
unsigned tgsi_src_type = tgsi_opcode_infer_src_type(opcode, src_idx);
|
||||
bool src_is_float = !(tgsi_src_type == TGSI_TYPE_SIGNED ||
|
||||
tgsi_src_type == TGSI_TYPE_UNSIGNED);
|
||||
nir_alu_src src;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue