i965/fs: Add set_sechalf() method.

Used in the next commit.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
Matt Turner 2015-05-12 15:51:05 -07:00
parent 81deefc45b
commit 0592ee457d
1 changed files with 10 additions and 0 deletions

View File

@ -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