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:

committed by
Marge Bot

parent
3ace6b968b
commit
2ab5546a96
@@ -889,6 +889,7 @@ validate_tex_instr(nir_tex_instr *instr, validate_state *state)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
validate_assert(state, glsl_type_is_image(deref->type) ||
|
validate_assert(state, glsl_type_is_image(deref->type) ||
|
||||||
|
glsl_type_is_texture(deref->type) ||
|
||||||
glsl_type_is_sampler(deref->type));
|
glsl_type_is_sampler(deref->type));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user