From 2999f83bd987fd53e2348ceb887dc2d40096c813 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 16 Aug 2014 11:38:07 -0700 Subject: [PATCH] i965/fs: Derive force_uncompressed from instruction exec_size Signed-off-by: Jason Ekstrand Reviewed-by: Matt Turner --- 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 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; -- 2.30.2