From: Gert Wollny Date: Sun, 5 Jul 2020 14:46:32 +0000 (+0200) Subject: r600/sfn: Fix default z swizzle for GDS instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05df4bfbcabab90668f26675b03747c2d74ee59d;p=mesa.git r600/sfn: Fix default z swizzle for GDS instructions Signed-off-by: Gert Wollny Part-of: --- diff --git a/src/gallium/drivers/r600/sfn/sfn_instruction_gds.cpp b/src/gallium/drivers/r600/sfn/sfn_instruction_gds.cpp index 002dba6a399..c84ed642a12 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instruction_gds.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instruction_gds.cpp @@ -56,7 +56,7 @@ GDSInstr::GDSInstr(ESDOp op, const GPRVector& dest, const PValue& value, { assert(value); m_src_swizzle[1] = value->chan(); - m_src_swizzle[2] = PIPE_SWIZZLE_MAX; + m_src_swizzle[2] = PIPE_SWIZZLE_0; } GDSInstr::GDSInstr(ESDOp op, const GPRVector& dest,