nir: Allow var_mem_global in nir_lower_vars_to_explicit_types
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6472>
This commit is contained in:
parent
3135984ad0
commit
3719b69dfc
|
@ -1756,7 +1756,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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue