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:
committed by
Marge Bot
parent
a3ce422a99
commit
7fdc74b078
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user