Latte: Fix uniform size limit being too low

This commit is contained in:
Exzap 2023-10-02 19:05:44 +02:00
parent 757d458161
commit 29c823fa1f
2 changed files with 3 additions and 3 deletions

View file

@ -162,8 +162,8 @@ struct LatteDecompilerShader
// compact resource lists for optimized access
struct QuickBufferEntry
{
uint8 index;
uint16 size;
uint32 index : 8;
uint32 size : 24;
};
boost::container::static_vector<QuickBufferEntry, LATTE_NUM_MAX_UNIFORM_BUFFERS> list_quickBufferList;
uint8 textureUnitList[LATTE_NUM_MAX_TEX_UNITS];