[clang] [llvm] [SPIR-V] DRAFT: Shader built-ins - no spec change (PR #116393)

Steven Perron via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 12:34:13 PST 2024


================
@@ -204,7 +204,11 @@ addressSpaceToStorageClass(unsigned AddrSpace, const SPIRVSubtarget &STI) {
                ? SPIRV::StorageClass::HostOnlyINTEL
                : SPIRV::StorageClass::CrossWorkgroup;
   case 7:
+    return SPIRV::StorageClass::Private;
+  case 8:
     return SPIRV::StorageClass::Input;
----------------
s-perron wrote:

Are you sure you can change the input storage class's address space?

https://github.com/llvm/llvm-project/pull/116393


More information about the cfe-commits mailing list