summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-08-16 11:38:07 -0700
committerJason Ekstrand <[email protected]>2014-09-30 10:29:14 -0700
commit2999f83bd987fd53e2348ceb887dc2d40096c813 (patch)
tree5cc730fbac079a1ee23e3635bfff9be824dea155 /src/mesa
parent5f41d052bf53e32761fb528f4be99a1af3a33ebc (diff)
i965/fs: Derive force_uncompressed from instruction exec_size
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_visitor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index 640987ed333..23c371b2736 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -2812,6 +2812,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;