Change MakeCompositePointer to take a const array of indices

This commit is contained in:
Jake Turner committed 2026-10-08 10:57:53 +01:00
1 parent f5f8f8f652
commit 591e765bea
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;