mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
nv50/ir: add SHL to the list of U32 opcodes
Having the wrong inferred type prevents a number of optimizations, including constant propagation (since float immediates work differently than integer immediates). Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
51e3453785
commit
55b66dc4de
1 changed files with 1 additions and 0 deletions
|
|
@ -418,6 +418,7 @@ nv50_ir::DataType Instruction::inferSrcType() const
|
|||
case TGSI_OPCODE_OR:
|
||||
case TGSI_OPCODE_XOR:
|
||||
case TGSI_OPCODE_NOT:
|
||||
case TGSI_OPCODE_SHL:
|
||||
case TGSI_OPCODE_U2F:
|
||||
case TGSI_OPCODE_U2D:
|
||||
case TGSI_OPCODE_UADD:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue