diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2023-05-17 19:30:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 18:30:27 -0500 |
commit | 87bda552688bb38fe255cc7e6069c1be6ac20834 (patch) | |
tree | 0630569c338cf9c88627f0a6e10cd68bb66691cb /indra/newview/app_settings/settings.xml | |
parent | 446d0cbf7f19e459b90a06f4153b3f7f9df6f09a (diff) |
Add a binary cache for compiled shaders using glProgramBinary (#216)
* Add a binary cache for compiled shaders using glProgramBinary
* Add additional sanity checking to shader binary save and load, hook up cache clear and menu option
* Fix default init of shader cache data struct and clear gl errors before glGetError calls
---------
Co-authored-by: RunitaiLinden <davep@lindenlab.com>
Diffstat (limited to 'indra/newview/app_settings/settings.xml')
-rw-r--r-- | indra/newview/app_settings/settings.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 162a474f69..79639c9b32 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -11014,6 +11014,28 @@ <key>Value</key> <integer>1</integer> </map> + <key>RenderShaderCacheEnabled</key> + <map> + <key>Comment</key> + <string>Enable binary shader cache</string> + <key>Persist</key> + <integer>1</integer> + <key>Type</key> + <string>Boolean</string> + <key>Value</key> + <integer>1</integer> + </map> + <key>RenderShaderCacheVersion</key> + <map> + <key>Comment</key> + <string>Current version hash for shader cache</string> + <key>Persist</key> + <integer>1</integer> + <key>Type</key> + <string>String</string> + <key>Value</key> + <string>00000000-0000-0000-0000-000000000000</string> + </map> <key>ReplaySession</key> <map> <key>Comment</key> |