mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
zink: fix typing on bindless io lowering
with lowered io this should always be an ivec2 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24950>
This commit is contained in:
parent
a3ce422a99
commit
7fdc74b078
1 changed files with 1 additions and 2 deletions
|
|
@ -4204,9 +4204,8 @@ lower_bindless_io_instr(nir_builder *b, nir_intrinsic_instr *instr,
|
|||
if (!glsl_type_is_image(var->type) && !glsl_type_is_sampler(var->type))
|
||||
return false;
|
||||
|
||||
var->type = glsl_int64_t_type();
|
||||
var->type = glsl_vector_type(GLSL_TYPE_INT, 2);
|
||||
var->data.bindless = 1;
|
||||
nir_intrinsic_set_dest_type(instr, nir_type_int64);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue