mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 11:20:11 +01:00
zink: use uvec for undefs
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
a8e63387f3
commit
93af00502e
1 changed files with 1 additions and 1 deletions
|
|
@ -1063,7 +1063,7 @@ emit_intrinsic(struct ntv_context *ctx, nir_intrinsic_instr *intr)
|
||||||
static void
|
static void
|
||||||
emit_undef(struct ntv_context *ctx, nir_ssa_undef_instr *undef)
|
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);
|
undef->def.num_components);
|
||||||
|
|
||||||
store_ssa_def_uint(ctx, &undef->def,
|
store_ssa_def_uint(ctx, &undef->def,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue