[Mesa-dev] [PATCH 29/41] i965/fs: Derive force_uncompressed from instruction exec_size
Jason Ekstrand
jason at jlekstrand.net
Sat Sep 20 10:23:18 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 d519a3a..bc607be 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -2784,6 +2784,9 @@ fs_inst *
fs_visitor::emit(fs_inst *inst)
{
if (force_uncompressed_stack > 0)
+ inst->exec_size = 8;
+
+ if (dispatch_width == 16 && inst->exec_size == 8)
inst->force_uncompressed = true;
inst->annotation = this->current_annotation;
--
2.1.0
More information about the mesa-dev
mailing list