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

[HLSL][DirectX] Compile a runnable shader from clang #90129

Open
3 of 8 tasks
damyanp opened this issue Apr 25, 2024 · 0 comments
Open
3 of 8 tasks

[HLSL][DirectX] Compile a runnable shader from clang #90129

damyanp opened this issue Apr 25, 2024 · 0 comments
Labels
HLSL HLSL Language Support metabug

Comments

@damyanp
Copy link
Contributor

damyanp commented Apr 25, 2024

This is a milestone on the way to getting full HLSL support in Clang.

For this milestone we need to be able to compile a simple compute shader such that the resulting DXBC container can pass validation and be signed by the DXC validator and can therefore be executed on a non-developer mode Windows desktop PC. The shader compiler binary should come from some kind of nightly build, rather than building locally.

Sample shader

RWBuffer<int> In;
RWBuffer<int> Out;

[numthreads(8,1,1)]
void main(uint GI : SV_GroupIndex) {
  Out[GI] = In[GI] * In[GI];
}

Work

The work items listed here are expected to be fully completed - even if that means doing more than the bare minimum required to pass this milestone.

@damyanp damyanp added HLSL HLSL Language Support metabug labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLSL HLSL Language Support metabug
Projects
Status: Planning
Development

No branches or pull requests

1 participant