projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81deefc
)
i965/fs: Add set_sechalf() method.
author
Matt Turner
<mattst88@gmail.com>
Tue, 12 May 2015 22:51:05 +0000
(15:51 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Mon, 18 May 2015 17:11:36 +0000
(10:11 -0700)
Used in the next commit.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_ir_fs.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_ir_fs.h
b/src/mesa/drivers/dri/i965/brw_ir_fs.h
index 7ac7ff81d202b8787efccef1b9e295ca0820b260..a79713ce2014a717c24cedce0336ba7975cc1b71 100644
(file)
--- 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