-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HLSL] Add AppendStructuredBuffer
and ConsumeStructuredBuffer
definitions to HLSLExternalSemaSource
#112777
Comments
…ExternalSemaSource Add separate tests for the AST shape and element types. Add constructor/handle.fromBinding test case to shared test file. These buffers do not have any subscript operators. Append and Consume methods will be added later in llvm#112968. Fixes llvm#112777
…SemaSource (#113643) Adds `AppendStructuredBuffer` and `ConsumeStructuredBuffer` definition to HLSLExternalSemaSource. Adds separate tests for the AST shape and element types, and adds constructor/handle.fromBinding test case to shared test file for structured buffers. These buffers do not have any subscript operators. Append and Consume methods will be added later in #112968. Fixes #112777
@llvm/issue-subscribers-clang-frontend Author: Helena Kotas (hekota)
Add `AppendStructuredBuffer` and `ConsumeStructuredBuffer` definitions to HLSLExternalSemaSource.
The resource definitions will contain a handle that will be lowered to a Refer to Proposal for mapping resource attributes for the attribute mapping. |
…SemaSource (llvm#113643) Adds `AppendStructuredBuffer` and `ConsumeStructuredBuffer` definition to HLSLExternalSemaSource. Adds separate tests for the AST shape and element types, and adds constructor/handle.fromBinding test case to shared test file for structured buffers. These buffers do not have any subscript operators. Append and Consume methods will be added later in llvm#112968. Fixes llvm#112777
Add
AppendStructuredBuffer
andConsumeStructuredBuffer
definitions to HLSLExternalSemaSource.AppendStructuredBuffer
is a streaming output buffer:https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-appendstructuredbuffer
ConsumeStructuredBuffer
is a streaming input buffer:https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-consumestructuredbuffer
The resource definitions will contain a handle that will be lowered to a
dx.RawBuffer
target extension type with scalar, vector or UDT as its type argument.Refer to Proposal for mapping resource attributes for the attribute mapping.
The text was updated successfully, but these errors were encountered: