diff options
-rw-r--r-- | src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 20c72fd2147..c465a866d24 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -1063,7 +1063,7 @@ emit_intrinsic(struct ntv_context *ctx, nir_intrinsic_instr *intr) static void emit_undef(struct ntv_context *ctx, nir_ssa_undef_instr *undef) { - SpvId type = get_fvec_type(ctx, undef->def.bit_size, + SpvId type = get_uvec_type(ctx, undef->def.bit_size, undef->def.num_components); store_ssa_def_uint(ctx, &undef->def, |