diff options
author | Kenneth Graunke <[email protected]> | 2012-08-26 12:17:29 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-08-27 14:23:40 -0700 |
commit | 77d675926a5a5b6cfafe11d1b692e0ba93fdac85 (patch) | |
tree | 3e076625a95593c769dc63e620ef6806bdb7d81e /src/mesa | |
parent | 9ef710575b914ddfc8e9a162d98ad554c1c217f7 (diff) |
i965: Make VS programs obey the shader_precompile driconf option.
Now that it's on by default, we may as well make it obey the flag,
for consistency's sake if nothing else.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index 77e93920713..1b509c05a80 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp @@ -70,7 +70,7 @@ brw_shader_precompile(struct gl_context *ctx, struct gl_shader_program *prog) if (brw->precompile && !brw_fs_precompile(ctx, prog)) return false; - if (!brw_vs_precompile(ctx, prog)) + if (brw->precompile && !brw_vs_precompile(ctx, prog)) return false; return true; |