Issue 110723
Summary [HLSL] Diagnose non-local overlapping resource bindings
Labels HLSL
Assignees
Reporter bogner
    If we have two separate resources bound to the same or overlapping registers, we need to diagnose this.

There are two ways to go about this:
- DXC does this after optimizations, in `DxilResourceRegisterAllocator::AllocateRegisters`
- In #58051 we discussed doing this in Sema, but that requires us to become stricter than DXC about whether this diagnostic depends on optimization.

We need to decide on an approach and implement it.

Depends on #110719 and #110722


_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to