mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-22 12:01:10 +00:00
DXIL Disassembly match bindings with upperBound = -1
i.e. Texture2DArray<float> resArray[] : register(t0);
This commit is contained in:
1 parent
d7fa6c9df0
commit
e8665926cc
1 file changed
+3
@@ -1561,12 +1561,15 @@ struct EntryPointInterface
|
||||
struct ResourceBase
|
||||
{
|
||||
ResourceBase(ResourceClass resourceClass, const Metadata *resourceBase);
|
||||
// lowerBound -> upperBound : is inclusive i.e. 1 -> 1 for a single binding
|
||||
bool MatchesBinding(uint32_t lowerBound, uint32_t upperBound, uint32_t spaceID) const
|
||||
{
|
||||
if(space != spaceID)
|
||||
return false;
|
||||
if(regBase > lowerBound)
|
||||
return false;
|
||||
if(upperBound == UINT_MAX)
|
||||
return true;
|
||||
if(regBase + regCount <= upperBound)
|
||||
return false;
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user