zink: lower fisnormal as it requires the Kernel Cap

I didn't check if it's a valid vulkan SPIR-V opcode and turns out it isn't

Fixes: 82eed326f4 ("zink: support more nir opcodes")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25837>
This commit is contained in:
Karol Herbst 2023-10-22 16:49:42 +02:00 committed by Marge Bot
parent e3a0df6468
commit 01b6ccccc6
2 changed files with 1 additions and 1 deletions

View file

@ -1853,7 +1853,6 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
UNOP(nir_op_f2f64, SpvOpFConvert)
UNOP(nir_op_bitfield_reverse, SpvOpBitReverse)
UNOP(nir_op_bit_count, SpvOpBitCount)
UNOP(nir_op_fisnormal, SpvOpIsNormal)
#undef UNOP
case nir_op_f2f16_rtz:

View file

@ -1212,6 +1212,7 @@ zink_screen_init_compiler(struct zink_screen *screen)
.lower_fsat = true,
.lower_hadd = true,
.lower_iadd_sat = true,
.lower_fisnormal = true,
.lower_extract_byte = true,
.lower_extract_word = true,
.lower_insert_byte = true,