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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user