Increase the TIntermediate::usedIo array
In 0bbec2e8f, the code started using usedIo[4], however it never
increased the size of the array to make that index actually valid.
This commit is contained in:
parent
b5672e8e8d
commit
9337143313
1 changed files with 1 additions and 1 deletions
|
|
@ -1251,7 +1251,7 @@ protected:
|
||||||
|
|
||||||
std::unordered_set<int> usedConstantId; // specialization constant ids used
|
std::unordered_set<int> usedConstantId; // specialization constant ids used
|
||||||
std::vector<TOffsetRange> usedAtomics; // sets of bindings used by atomic counters
|
std::vector<TOffsetRange> usedAtomics; // sets of bindings used by atomic counters
|
||||||
std::vector<TIoRange> usedIo[4]; // sets of used locations, one for each of in, out, uniform, and buffers
|
std::vector<TIoRange> usedIo[5]; // sets of used locations, one for each of in, out, uniform, and buffers
|
||||||
std::vector<TRange> usedIoRT[4]; // sets of used location, one for rayPayload/rayPayloadIN,
|
std::vector<TRange> usedIoRT[4]; // sets of used location, one for rayPayload/rayPayloadIN,
|
||||||
// one for callableData/callableDataIn, one for hitObjectAttributeNV and
|
// one for callableData/callableDataIn, one for hitObjectAttributeNV and
|
||||||
// one for shaderrecordhitobjectNV
|
// one for shaderrecordhitobjectNV
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue