i965/fs: Hook up SIMD lowering to unroll surface instructions of unsupported width.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 18 Jul 2015 13:16:19 +0000 (16:16 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:49 +0000 (14:12 +0300)
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 2af7a892ca4b11b4348ebd279b3399df7a016207..7aa77ff659119b98d144ee93379c103ab0967175 100644 (file)
@@ -4073,6 +4073,11 @@ get_lowered_simd_width(const struct brw_device_info *devinfo,
       else
          return inst->exec_size;
 
+   case SHADER_OPCODE_TYPED_ATOMIC_LOGICAL:
+   case SHADER_OPCODE_TYPED_SURFACE_READ_LOGICAL:
+   case SHADER_OPCODE_TYPED_SURFACE_WRITE_LOGICAL:
+      return 8;
+
    default:
       return inst->exec_size;
    }