diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp b/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp index 543c720aae5..e4e10b0d76a 100644 --- a/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp +++ b/src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp @@ -169,7 +169,7 @@ brw_lower_texture_gradients(struct brw_context *brw, struct exec_list *instructions) { struct intel_context *intel = &brw->intel; - bool has_sample_d_c = intel->gen >= 8 || intel->is_haswell; + bool has_sample_d_c = intel->gen >= 8 || brw->is_haswell; lower_texture_grad_visitor v(has_sample_d_c); visit_list_elements(&v, instructions); |