Issue 128560
Summary [DirectX] DXILBindingMap is incorrectly populated if we have cbuffers but no UAVs or SRVs.
Labels backend:DirectX, HLSL
Assignees bogner
Reporter bogner
    In `DXILBindingMap::populate` we set up FirstUAV, FirstCBuffer, and FirstCBuffer variables in order to get iterators over just the specific type of resource. However, if we have cbuffers and no uavs, FirstUAV is set to `size()` but `FirstCBuffer` is zero, which causes our iterators to return garbage.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to