nir: Add compute shader shared variable storage class
Previously we were receiving shared variable accesses via a lowered intrinsic function from glsl. This change allows us to send in variables instead. For example, when converting from SPIR-V. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -159,6 +159,7 @@ nir_sweep(nir_shader *nir)
|
||||
steal_list(nir, nir_variable, &nir->uniforms);
|
||||
steal_list(nir, nir_variable, &nir->inputs);
|
||||
steal_list(nir, nir_variable, &nir->outputs);
|
||||
steal_list(nir, nir_variable, &nir->shared);
|
||||
steal_list(nir, nir_variable, &nir->globals);
|
||||
steal_list(nir, nir_variable, &nir->system_values);
|
||||
steal_list(nir, nir_register, &nir->registers);
|
||||
|
Reference in New Issue
Block a user