[Mesa-dev] [PATCH 05/10] i965/fs: Derive force_uncompressed from instruction width
Jason Ekstrand
jason at jlekstrand.net
Thu Sep 4 22:19:09 PDT 2014
Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
---
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index ad89914..3c798f1 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -2764,6 +2764,9 @@ fs_inst *
fs_visitor::emit(fs_inst *inst)
{
if (force_uncompressed_stack > 0)
+ inst->width = 8;
+
+ if (dispatch_width == 16 && inst->width == 8)
inst->force_uncompressed = true;
inst->annotation = this->current_annotation;
--
2.1.0
More information about the mesa-dev
mailing list