diff options
author | Timothy Arceri <[email protected]> | 2019-01-17 17:16:28 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-01-19 08:24:43 +1100 |
commit | c9d7b0f18425f7c5acabb7cec6b877d5ee112543 (patch) | |
tree | 2e4f1db8fc520dae6909248243a34e167d4ac2dc /src/mesa | |
parent | cd56d79b59f367ef0c52d76fc5d37ecc87d0e84b (diff) |
glsl: don't skip GLSL IR opts on first-time compiles
This basically reverts c2bc0aa7b188.
By running the opts we reduce memory using in Team Fortress 2
from 1.5GB -> 1.3GB from start-up to game menu.
This will likely increase Deus Ex start up times as per commit
c2bc0aa7b188. However currently 32bit games like Team Fortress 2
can run out of memory on low memory systems, so that seems more
important.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 241c2b92f7a..0fdeba47329 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2576,8 +2576,7 @@ enum gl_compile_status { COMPILE_FAILURE = 0, COMPILE_SUCCESS, - COMPILE_SKIPPED, - COMPILED_NO_OPTS + COMPILE_SKIPPED }; /** |