From: Jason Ekstrand Date: Sat, 16 Aug 2014 18:38:07 +0000 (-0700) Subject: i965/fs: Derive force_uncompressed from instruction exec_size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2999f83bd987fd53e2348ceb887dc2d40096c813;p=mesa.git i965/fs: Derive force_uncompressed from instruction exec_size Signed-off-by: Jason Ekstrand Reviewed-by: Matt Turner --- 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;