llvm-project
f2128267 - [HLSL][NFC] Remove RegisterBindingFlags struct (#108924)

Commit
1 year ago
[HLSL][NFC] Remove RegisterBindingFlags struct (#108924) When diagnosing register bindings we just need to make sure there is a resource that matches the provided register type. We can emit the diagnostics right away instead of collecting flags in the RegisterBindingFlags struct. That also enables early exit when scanning user defined types because we can return as soon as we find a matching resource for the given register type.
Author
Parents
Loading