Module: Mesa Branch: master Commit: 0592ee457dbddd9483e4294097e5d7f2e1c39308 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0592ee457dbddd9483e4294097e5d7f2e1c39308
Author: Matt Turner <[email protected]> Date: Tue May 12 15:51:05 2015 -0700 i965/fs: Add set_sechalf() method. Used in the next commit. Reviewed-by: Jason Ekstrand <[email protected]> --- src/mesa/drivers/dri/i965/brw_ir_fs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_ir_fs.h b/src/mesa/drivers/dri/i965/brw_ir_fs.h index 7ac7ff8..a79713c 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
