-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
Introduce clang builtins (or use existing ones from RWBuffer) to implement Load method and read-only or read/write indexing operator on structured buffers.
Applieds to:
StructuredBuffer
RWStructuredBuffer
RasterizerOrderedStructuredBuffer
The buildings would be lowered to appropriate LLVM DirectX intrinsic during clang codegen.
Depends on #106188.
Docs:
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/structuredbuffer-load
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-structuredbuffer-operatorindex
AC:
Loadmethods and read-only or read/write indexing operators work on structured buffers
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Type
Projects
Status
Closed