r600/sfn: Fix default z swizzle for GDS instructions

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5963>
This commit is contained in:
Gert Wollny
2020-07-05 16:46:32 +02:00
committed by Marge Bot
parent 2779aa360e
commit 05df4bfbca
@@ -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,