[clang] [llvm] [AMDGPU] Add a new builtin type for image descriptor rsrc (PR #160258)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 23 02:36:48 PDT 2025


================
@@ -34,6 +34,7 @@
 //  Q -> target builtin type, followed by a character to distinguish the builtin type
 //    Qa -> AArch64 svcount_t builtin type.
 //    Qb -> AMDGPU __amdgpu_buffer_rsrc_t builtin type.
+//    Qc -> AMDGPU __amdgpu_image_desc_t builtin type.
----------------
jayfoad wrote:

The documentation I've seen uses:

- T# for "texture" aka image resource
- V# for buffer resource (dunno what the etymology is)
- S# for sampler resource

So I'd prefer Qt over Qi.

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


More information about the llvm-commits mailing list