summaryrefslogtreecommitdiff
path: root/tools/gfx/gfx.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/gfx.slang')
-rw-r--r--tools/gfx/gfx.slang2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/gfx.slang b/tools/gfx/gfx.slang
index 17a38e28d..c1296b472 100644
--- a/tools/gfx/gfx.slang
+++ b/tools/gfx/gfx.slang
@@ -1733,6 +1733,8 @@ struct DeviceDesc
void *apiCommandDispatcher = nullptr;
// The slot (typically UAV) used to identify NVAPI intrinsics. If >=0 NVAPI is required.
GfxIndex nvapiExtnSlot = -1;
+ // The root directory for the shader cache.
+ NativeString shaderCachePath;
// The file system for loading cached shader kernels. The layer does not maintain a strong reference to the object,
// instead the user is responsible for holding the object alive during the lifetime of an `IDevice`.
void *shaderCacheFileSystem = nullptr;