diff options
| author | bunnei <bunneidev@gmail.com> | 2021-01-27 11:34:21 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-27 11:34:21 -0800 |
| commit | 28b822fe381164f0c2d426b4c6e5866a69bb9fa4 (patch) | |
| tree | da84c060ce3f9411423485d5409ca96b1e366aa2 /src/video_core/renderer_opengl/gl_device.h | |
| parent | fb0fe3b8c37e9705ed18cb798eda8e144151b1da (diff) | |
| parent | 51512d01d8e956b2afada91e51dfd7c0a6444ad6 (diff) | |
Merge pull request #5778 from ReinUsesLisp/shader-dir
renderer_opengl: Avoid precompiled cache and force NV GL cache directory
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h index 3e79d1e37..9141de635 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -120,6 +120,10 @@ public: return use_asynchronous_shaders; } + bool UseDriverCache() const { + return use_driver_cache; + } + private: static bool TestVariableAoffi(); static bool TestPreciseBug(); @@ -147,6 +151,7 @@ private: bool has_debugging_tool_attached{}; bool use_assembly_shaders{}; bool use_asynchronous_shaders{}; + bool use_driver_cache{}; }; } // namespace OpenGL |
