tgsi/ureg: add shared variables support for compute shaders
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_dump.c
index 2ad29b9d49a4852c0ee4adfce43f5819d85102c8..36f0cc57946c37aba70d456c846db4c02f010615 100644 (file)
@@ -364,6 +364,11 @@ iter_declaration(
          TXT(", ATOMIC");
    }
 
+   if (decl->Declaration.File == TGSI_FILE_MEMORY) {
+      if (decl->Declaration.Shared)
+         TXT(", SHARED");
+   }
+
    if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) {
       TXT(", ");
       ENM(decl->SamplerView.Resource, tgsi_texture_names);