24 lines
648 B
C
24 lines
648 B
C
#pragma once
|
|
|
|
struct ShaderCacheEntry
|
|
{
|
|
const uint64_t hash;
|
|
const uint32_t dxilOffset;
|
|
const uint32_t dxilSize;
|
|
const uint32_t spirvOffset;
|
|
const uint32_t spirvSize;
|
|
const uint32_t specConstantsMask;
|
|
struct GuestShader* guestShader;
|
|
};
|
|
|
|
extern ShaderCacheEntry g_shaderCacheEntries[];
|
|
extern const size_t g_shaderCacheEntryCount;
|
|
|
|
extern const uint8_t g_compressedDxilCache[];
|
|
extern const size_t g_dxilCacheCompressedSize;
|
|
extern const size_t g_dxilCacheDecompressedSize;
|
|
|
|
extern const uint8_t g_compressedSpirvCache[];
|
|
extern const size_t g_spirvCacheCompressedSize;
|
|
extern const size_t g_spirvCacheDecompressedSize;
|