diff options
author | Matt Turner <[email protected]> | 2015-05-12 15:51:05 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-05-18 10:11:36 -0700 |
commit | 0592ee457dbddd9483e4294097e5d7f2e1c39308 (patch) | |
tree | 9e2a5054f3697cc3e67d04864da5c77f82203bfd /src/mesa/drivers | |
parent | 81deefc45ba7b7d3b2b5e7ccf9e1680df6e31e3a (diff) |
i965/fs: Add set_sechalf() method.
Used in the next commit.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_ir_fs.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |