From 05df4bfbcabab90668f26675b03747c2d74ee59d Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sun, 5 Jul 2020 16:46:32 +0200 Subject: [PATCH] r600/sfn: Fix default z swizzle for GDS instructions Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_instruction_gds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2