From: Matt Turner Date: Tue, 12 May 2015 22:51:05 +0000 (-0700) Subject: i965/fs: Add set_sechalf() method. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0592ee457dbddd9483e4294097e5d7f2e1c39308;p=mesa.git i965/fs: Add set_sechalf() method. Used in the next commit. Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/brw_ir_fs.h b/src/mesa/drivers/dri/i965/brw_ir_fs.h index 7ac7ff81d20..a79713ce201 100644 --- a/src/mesa/drivers/dri/i965/brw_ir_fs.h +++ b/src/mesa/drivers/dri/i965/brw_ir_fs.h @@ -261,4 +261,14 @@ public: bool pi_noperspective:1; /**< Pixel interpolator noperspective flag */ }; +/** + * Set second-half quarter control on \p inst. + */ +static inline fs_inst * +set_sechalf(fs_inst *inst) +{ + inst->force_sechalf = true; + return inst; +} + #endif