tgsi_to_nir: translate non-vec4 image stores correctly
authorMarek Olšák <marek.olsak@amd.com>
Tue, 5 May 2020 16:44:54 +0000 (12:44 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 16:39:07 +0000 (16:39 +0000)
commitd5109741f372173d6e13bdb6fff06c75def19439
tree6087ea2a662441b0a8f773faef074d42b2857852
parent784358bd6e6d59c521133c2a31fa9b88f8e18598
tgsi_to_nir: translate non-vec4 image stores correctly

set the correct number of components for src data and the intrinsic

Reviewed-by: Rob Clark <robdclark@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4908>
src/gallium/auxiliary/nir/tgsi_to_nir.c