mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix extra read-only resources displayed in D3D12 Texture Viewer
This commit is contained in:
committed by
Baldur Karlsson
parent
bb45e67e30
commit
5eec88fdc7
@@ -1189,7 +1189,7 @@ rdcarray<BoundResourceArray> PipeState::GetReadOnlyResources(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