compiler: add shader_info.cs.user_data_components_amd
[mesa.git] / src / gallium / auxiliary / nir / tgsi_to_nir.c
index 1195d522239b792af4b4f2741c4e8780ed3c3d1d..a23ed4d685fccd76003174c875565d8d7ccf180d 100644 (file)
@@ -2455,6 +2455,9 @@ ttn_compile_init(const void *tgsi_tokens,
       case TGSI_PROPERTY_CS_FIXED_BLOCK_DEPTH:
          s->info.cs.local_size[2] = value;
          break;
+      case TGSI_PROPERTY_CS_USER_DATA_COMPONENTS_AMD:
+         s->info.cs.user_data_components_amd = value;
+         break;
       default:
          if (value) {
             fprintf(stderr, "tgsi_to_nir: unhandled TGSI property %u = %u\n",