From: Francisco Jerez Date: Sat, 18 Jul 2015 13:16:19 +0000 (+0300) Subject: i965/fs: Hook up SIMD lowering to unroll surface instructions of unsupported width. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=086d29f4d747bbcfe37beeb18ba77fb2cb84dbdc;p=mesa.git i965/fs: Hook up SIMD lowering to unroll surface instructions of unsupported width. Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 2af7a892ca4..7aa77ff6591 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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; }