spirv: Only require bare types to match when copying variables
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Mon, 17 Aug 2020 09:02:22 +0000 (12:02 +0300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 Aug 2020 11:53:07 +0000 (11:53 +0000)
commitb6ebf6eba958651321a8e332677877c0fe7ee7ec
treef523056353817f8478fbfa6c01731f1d8887e627
parent16f1d8b3910496e04faba22f5d7b0ba84c07e6ad
spirv: Only require bare types to match when copying variables

OpCopyMemory doesn't care about mismatched decorations, only about
matching types.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3418
Fixes: bf1a1eed882980a1cd08482386e3a001ce64a5a4
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6344>
src/compiler/spirv/vtn_variables.c