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 <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke
2012-08-26 12:17:29 -07:00
parent 9ef710575b
commit 77d675926a
+1 -1
View File
@@ -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;