zink: add shift ops
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -838,6 +838,9 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
|
||||
BINOP(nir_op_fmod, SpvOpFMod)
|
||||
BINOP(nir_op_flt, SpvOpFUnordLessThan)
|
||||
BINOP(nir_op_fge, SpvOpFUnordGreaterThanEqual)
|
||||
BINOP(nir_op_ishl, SpvOpShiftLeftLogical)
|
||||
BINOP(nir_op_ishr, SpvOpShiftRightArithmetic)
|
||||
BINOP(nir_op_ushr, SpvOpShiftRightLogical)
|
||||
#undef BINOP
|
||||
|
||||
#define BUILTIN_BINOP(nir_op, spirv_op) \
|
||||
|
||||
Reference in New Issue
Block a user