ac: fix PIPE_FORMAT_R11G11B10_FLOAT DST_SEL_W
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 14 Jun 2023 11:14:19 +0000 (12:14 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 15 Jun 2023 10:33:03 +0000 (10:33 +0000)
commit4291cc5255741f02eddc2114b7170166658174ce
tree5a363a53354111da0f7147b0348fd245fd47dfba
parent5638b768e660266426e69ce9db1af2e1ea8baee7
ac: fix PIPE_FORMAT_R11G11B10_FLOAT DST_SEL_W

Previously, the W component would be incorrect for attributes using this
format when loaded in RADV's vertex shader prologs.

Fixes dEQP-VK.pipeline.fast_linked_library.vertex_input.*b10g11r11*missing_components*

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes: 6a2ada93b49 ("ac: add ac_vtx_format_info")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23645>
src/amd/common/ac_shader_util.c