From 77d675926a5a5b6cfafe11d1b692e0ba93fdac85 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 26 Aug 2012 12:17:29 -0700 Subject: [PATCH] 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 Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2