nir: Allow texture types

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13389>
This commit is contained in:
Jason Ekstrand
2021-10-15 14:15:32 -05:00
committed by Marge Bot
parent 3ace6b968b
commit 2ab5546a96

View File

@@ -889,6 +889,7 @@ validate_tex_instr(nir_tex_instr *instr, validate_state *state)
break;
validate_assert(state, glsl_type_is_image(deref->type) ||
glsl_type_is_texture(deref->type) ||
glsl_type_is_sampler(deref->type));
break;
}