Skip to content
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

[DirectX] Introduce llvm.dx.rawBufferLoad/Store and lower them to rawBufferLoad/Store dxil ops #106188

Closed
Tracked by #88
bogner opened this issue Aug 27, 2024 · 1 comment · Fixed by #121012 or #121282
Closed
Tracked by #88
Assignees

Comments

@bogner
Copy link
Contributor

bogner commented Aug 27, 2024

We need intrinsics for rawBufferLoad and Store, which will be lowered to the RawBufferLoad and Store dxil operations. These will be used by both StructuredBuffer and RawBuffer as of SM6.2.

@bogner bogner changed the title Introduce llvm.dx.rawBufferLoad/Store and lower them to rawBufferLoad/Store dxil ops [DirectX] Introduce llvm.dx.rawBufferLoad/Store and lower them to rawBufferLoad/Store dxil ops Aug 27, 2024
@bogner bogner transferred this issue from llvm/wg-hlsl Aug 27, 2024
@lizhengxing
Copy link
Contributor

I'll work on this task.

@damyanp damyanp moved this to Ready in HLSL Support Sep 26, 2024
@damyanp damyanp moved this from Ready to Active in HLSL Support Oct 7, 2024
lizhengxing added a commit to lizhengxing/llvm-project that referenced this issue Oct 17, 2024
When lowering some resource use intrisics to DXIL operations, it needs to know the information of the resource that the intrisics are using.

This PR adds Resource uses to Resource Handle map in DXILResourceMap. It helps the resource uses to find the resource information.

This PR is also useful to llvm#106188
lizhengxing added a commit to lizhengxing/llvm-project that referenced this issue Oct 18, 2024
When lowering some resource use intrisics to DXIL operations, it needs to know the information of the resource that the intrisics are using.

This PR adds Resource uses to Resource Handle map in DXILResourceMap. It helps the resource uses to find the resource information.

This PR is also useful to llvm#106188
lizhengxing added a commit to lizhengxing/llvm-project that referenced this issue Oct 21, 2024
When lowering some resource use intrisics to DXIL operations, it needs to know the information of the resource that the intrisics are using.

This PR adds Resource uses to Resource Handle map in DXILResourceMap. It helps the resource uses to find the resource information.

This PR is also useful to llvm#106188
lizhengxing added a commit to lizhengxing/llvm-project that referenced this issue Oct 21, 2024
When lowering some resource use intrisics to DXIL operations, it needs to know the information of the resource that the intrisics are using.

This PR adds Resource uses to Resource Handle map in DXILResourceMap. It helps the resource uses to find the resource information.

This PR is also useful to llvm#106188
@damyanp damyanp moved this from Active to Needs Review in HLSL Support Nov 4, 2024
lizhengxing added a commit to lizhengxing/llvm-project that referenced this issue Nov 19, 2024
When lowering some resource use intrisics to DXIL operations, it needs to know the information of the resource that the intrisics are using.

This PR adds Resource uses to Resource Handle map in DXILResourceMap. It helps the resource uses to find the resource information.

This PR is also useful to llvm#106188
@bogner bogner assigned bogner and unassigned lizhengxing Dec 23, 2024
bogner added a commit to bogner/llvm-project that referenced this issue Dec 23, 2024
This introduces `@llvm.dx.resource.load.rawbuffer` and generalizes the
buffer load docs under DirectX/DXILResources.

This resolves the "load" parts of llvm#106188
@bogner bogner linked a pull request Dec 23, 2024 that will close this issue
bogner added a commit that referenced this issue Dec 29, 2024
This introduces `@llvm.dx.resource.load.rawbuffer` and generalizes the
buffer load docs under DirectX/DXILResources.

This resolves the "load" parts of #106188
bogner added a commit to bogner/llvm-project that referenced this issue Dec 29, 2024
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes llvm#106188
bogner added a commit to bogner/llvm-project that referenced this issue Jan 1, 2025
This introduces `@llvm.dx.resource.load.rawbuffer` and generalizes the
buffer load docs under DirectX/DXILResources.

This resolves the "load" parts of llvm#106188
bogner added a commit to bogner/llvm-project that referenced this issue Jan 1, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes llvm#106188
bogner added a commit that referenced this issue Jan 6, 2025
This introduces `@llvm.dx.resource.load.rawbuffer` and generalizes the
buffer load docs under DirectX/DXILResources.

This resolves the "load" parts of #106188
bogner added a commit that referenced this issue Jan 6, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes #106188
bogner added a commit to bogner/llvm-project that referenced this issue Jan 7, 2025
This introduces `@llvm.dx.resource.load.rawbuffer` and generalizes the
buffer load docs under DirectX/DXILResources.

This resolves the "load" parts of llvm#106188
bogner added a commit that referenced this issue Jan 9, 2025
This introduces `@llvm.dx.resource.load.rawbuffer` and generalizes the
buffer load docs under DirectX/DXILResources.

This resolves the "load" parts of #106188
@github-project-automation github-project-automation bot moved this from Needs Review to Closed in HLSL Support Jan 9, 2025
bogner added a commit to bogner/llvm-project that referenced this issue Jan 9, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes llvm#106188
bogner added a commit that referenced this issue Jan 13, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes #106188
shenhanc78 pushed a commit to shenhanc78/llvm-project that referenced this issue Jan 13, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes llvm#106188
Mel-Chen pushed a commit to Mel-Chen/llvm-project that referenced this issue Jan 13, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes llvm#106188
kazutakahirata pushed a commit to kazutakahirata/llvm-project that referenced this issue Jan 13, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes llvm#106188
DKLoehr pushed a commit to DKLoehr/llvm-project that referenced this issue Jan 17, 2025
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.

Fixes llvm#106188
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Closed
2 participants