From 58bcb5401d85b4a21f6d9ea4eb7bff8e1ed7110f Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 27 Oct 2020 00:36:53 -0500 Subject: [PATCH] intel/fs: QUAD_SWIZZLE requires packed data We could probably support some strides if we tried hard enough but the whole point of this opcode is to accelerate things with crazy Align16 or crazy regions. It's ok if we have to emit an extra MOV to get a packed source. Fixes: 8b4a5e641bc3 "intel/fs: Add support for subgroup quad operations" Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw_fs_copy_propagation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw_fs_copy_propagation.cpp b/src/intel/compiler/brw_fs_copy_propagation.cpp index 917c3abfe9e..6896987055f 100644 --- a/src/intel/compiler/brw_fs_copy_propagation.cpp +++ b/src/intel/compiler/brw_fs_copy_propagation.cpp @@ -437,6 +437,7 @@ instruction_requires_packed_data(fs_inst *inst) case FS_OPCODE_DDX_COARSE: case FS_OPCODE_DDY_FINE: case FS_OPCODE_DDY_COARSE: + case SHADER_OPCODE_QUAD_SWIZZLE: return true; default: return false;