Commit 5fd8d3e4 authored by Jason Ekstrand's avatar Jason Ekstrand Committed by Erik Faye-Lund
Browse files

nir: Allow var_mem_global in nir_lower_vars_to_explicit_types


Reviewed-by: Jesse Natalie's avatarJesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boris Brezillon's avatarBoris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Karol Herbst's avatarKarol Herbst <kherbst@redhat.com>
Part-of: <mesa/mesa!6472>
parent 580c34b9
......@@ -1722,7 +1722,8 @@ nir_lower_vars_to_explicit_types(nir_shader *shader,
* - compact shader inputs/outputs
* - interface types
*/
ASSERTED nir_variable_mode supported = nir_var_mem_shared |
ASSERTED nir_variable_mode supported =
nir_var_mem_shared | nir_var_mem_global |
nir_var_shader_temp | nir_var_function_temp;
assert(!(modes & ~supported) && "unsupported");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment