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

Survey the set of cases and edge cases we need to handle for locally scoped resource objects #180

Open
bogner opened this issue Feb 19, 2025 · 0 comments

Comments

@bogner
Copy link
Collaborator

bogner commented Feb 19, 2025

There are various things that can be done with a resource variables - they can be passed to functions in parameters, defined in local arrays, assigned, etc.

RWBuffer<float> Buf;

[numthreads(1,1,1)]
void main() {
    RWBuffer<float> T = Buf;
    T[0] = 0;
}

We need to come up with a set of test cases and acceptance criteria to say we handle these correctly in clang so that we match what is possible in DXC, both in terms of accepted syntax and what generates valid DXIL.

@bogner bogner moved this to Planning in HLSL Support Feb 19, 2025
@damyanp damyanp moved this from Planning to Ready in HLSL Support Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant