From: valtteri rantala <valtteri.rant...@intel.com>

Change-Id: I9fcac17e609b8647e786f9bd81ec9246b167bbac
---
 src/intel/compiler/brw_fs.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index c847acd..993d947 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -7170,9 +7170,9 @@ brw_compile_fs(const struct brw_compiler *compiler, void 
*log_data,
 
    if (v8.max_dispatch_width >= 32 && !use_rep_send &&
        compiler->devinfo->gen >= 6 &&
-       (INTEL_DEBUG & DEBUG_DO32 ||
-        strncmp(src_shader->info.name, "BLORP", 5) == 0)) {
-      /* Try a SIMD32 compile */
+       strncmp(src_shader->info.name, "BLORP", 5) == 0 ||
+       shader->info.outputs_written <= BITFIELD64_BIT(FRAG_RESULT_DATA0)) {
+       /* Try a SIMD32 compile */
       fs_visitor v32(compiler, log_data, mem_ctx, key,
                      &prog_data->base, prog, shader, 32,
                      shader_time_index32);
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to