mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-24 04:51:09 +00:00
Change MakeCompositePointer to take a const array of indices
This commit is contained in:
1 parent
f5f8f8f652
commit
591e765bea
2 files changed
+2
-2
No files matched your search
@@ -736,7 +736,7 @@ public:
|
||||
bool ArePointersAndEqual(const ShaderVariable &a, const ShaderVariable &b) const;
|
||||
DeviceOpResult WriteThroughPointer(ShaderVariable &ptr, const ShaderVariable &val) const;
|
||||
ShaderVariable MakeCompositePointer(const ShaderVariable &base, Id id,
|
||||
rdcarray<uint32_t> &indices) const;
|
||||
const rdcarray<uint32_t> &indices) const;
|
||||
|
||||
DebugAPIWrapper *GetAPIWrapper() const;
|
||||
uint32_t GetNumInstructions() const { return (uint32_t)instructionOffsets.size(); }
|
||||
|
||||
@@ -3318,7 +3318,7 @@ ShaderVariable Debugger::MakePointerVariable(Id id, const ShaderVariable *v, uin
|
||||
}
|
||||
|
||||
ShaderVariable Debugger::MakeCompositePointer(const ShaderVariable &base, Id id,
|
||||
rdcarray<uint32_t> &indices) const
|
||||
const rdcarray<uint32_t> &indices) const
|
||||
{
|
||||
const ShaderVariable *leaf = &base;
|
||||
|
||||
|
||||
Reference in new issue
Block a user