mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix off-by-one error checking for D3D12 descriptor range inclusion
This commit is contained in:
@@ -1365,7 +1365,7 @@ rdcarray<BoundResourceArray> PipeState::GetReadWriteResources(ShaderStage stage)
|
||||
for(size_t j = 0; j < element.views.size(); ++j)
|
||||
{
|
||||
const D3D12Pipe::View &view = element.views[j];
|
||||
if(view.bind >= start && view.bind <= end)
|
||||
if(view.bind >= start && view.bind < end)
|
||||
{
|
||||
val.push_back(BoundResource());
|
||||
BoundResource &b = val.back();
|
||||
|
||||
Reference in New Issue
Block a user