mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 18:10:35 +00:00
DXIL Disassembly match bindings with upperBound = -1
i.e. Texture2DArray<float> resArray[] : register(t0);
This commit is contained in:
@@ -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