i965/fs: Derive force_uncompressed from instruction exec_size
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 Aug 2014 18:38:07 +0000 (11:38 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Sep 2014 17:29:14 +0000 (10:29 -0700)
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp

index 640987ed3339079d6e095c53a50d2f855d0778ff..23c371b273693af9baef9a4680fe0c45d1d9504a 100644 (file)
@@ -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;