mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-20 15:02:20 +00:00
Add shader cache definitions for AIR
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
This commit is contained in:
parent
5a5672d84a
commit
f54a7f61e7
1 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ struct ShaderCacheEntry
|
||||||
const uint32_t dxilSize;
|
const uint32_t dxilSize;
|
||||||
const uint32_t spirvOffset;
|
const uint32_t spirvOffset;
|
||||||
const uint32_t spirvSize;
|
const uint32_t spirvSize;
|
||||||
|
const uint32_t airOffset;
|
||||||
|
const uint32_t airSize;
|
||||||
const uint32_t specConstantsMask;
|
const uint32_t specConstantsMask;
|
||||||
struct GuestShader* guestShader;
|
struct GuestShader* guestShader;
|
||||||
};
|
};
|
||||||
|
|
@ -18,6 +20,10 @@ extern const uint8_t g_compressedDxilCache[];
|
||||||
extern const size_t g_dxilCacheCompressedSize;
|
extern const size_t g_dxilCacheCompressedSize;
|
||||||
extern const size_t g_dxilCacheDecompressedSize;
|
extern const size_t g_dxilCacheDecompressedSize;
|
||||||
|
|
||||||
|
extern const uint8_t g_compressedAirCache[];
|
||||||
|
extern const size_t g_airCacheCompressedSize;
|
||||||
|
extern const size_t g_airCacheDecompressedSize;
|
||||||
|
|
||||||
extern const uint8_t g_compressedSpirvCache[];
|
extern const uint8_t g_compressedSpirvCache[];
|
||||||
extern const size_t g_spirvCacheCompressedSize;
|
extern const size_t g_spirvCacheCompressedSize;
|
||||||
extern const size_t g_spirvCacheDecompressedSize;
|
extern const size_t g_spirvCacheDecompressedSize;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue