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:
Arcady Goldmints-Orlov 2024-04-25 19:14:26 -04:00 committed by arcady-lunarg
parent b5672e8e8d
commit 9337143313

View File

@ -1251,7 +1251,7 @@ protected:
std::unordered_set<int> usedConstantId; // specialization constant ids used
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,
// one for callableData/callableDataIn, one for hitObjectAttributeNV and
// one for shaderrecordhitobjectNV