summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-06-12 18:53:59 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:44 +0000
commit93af00502ebc32061c63927815d0d2255fe66a98 (patch)
tree7e3eed77f0b94c6885a1fee03baac018e043bc0a /src/gallium
parenta8e63387f3403ddb56a27a41229cd424d6d43da8 (diff)
zink: use uvec for undefs
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c2
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,