commit | 07cb38f0d2fb9aae8d5c62875c69f9c3262defb9 | [log] [tgz] |
---|---|---|
author | Gert Wollny <gert.wollny@collabora.com> | Sat Sep 19 15:36:35 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Mon Sep 21 17:16:54 2020 +0000 |
tree | 792c1cf293fce1511bf64edcd575bac3feefd402 | |
parent | eb3199db3e558672a332f9fcf26f90b9c3c04498 [diff] |
r600/sfn: Fix component count for fdph The second parameter has four components, and this is the one that would be copied when splitting constants. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6787>
diff --git a/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp b/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp index b2da81f..bfcce67 100644 --- a/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp
@@ -217,7 +217,6 @@ return 2; case nir_op_fdot3: - case nir_op_fdph: case nir_op_bany_inequal3: case nir_op_ball_iequal3: case nir_op_bany_fnequal3: @@ -225,6 +224,7 @@ return 3; case nir_op_fdot4: + case nir_op_fdph: case nir_op_bany_inequal4: case nir_op_ball_iequal4: case nir_op_bany_fnequal4: