mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Handle some edge cases around samplers being lumped in with RO resources
This commit is contained in:
@@ -1338,7 +1338,7 @@ namespace renderdocui.Windows
|
||||
|
||||
foreach (var bind in resourceDetails)
|
||||
{
|
||||
if (bind.bindPoint == idx && bind.IsSRV)
|
||||
if (bind.bindPoint == idx && bind.IsSRV && !bind.IsSampler)
|
||||
{
|
||||
bindName = bind.name;
|
||||
otherBind = true;
|
||||
@@ -1347,7 +1347,7 @@ namespace renderdocui.Windows
|
||||
|
||||
if (bind.bindPoint == idx)
|
||||
{
|
||||
if(bind.IsSampler && !bind.IsSRV)
|
||||
if(bind.IsSampler)
|
||||
samplerBind = true;
|
||||
else
|
||||
otherBind = true;
|
||||
|
||||
Reference in New Issue
Block a user