rusticl: fix MemConstant invalid arg size check
authorItalo Nicola <italonicola@collabora.com>
Sun, 7 Aug 2022 13:30:19 +0000 (13:30 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Oct 2022 16:34:56 +0000 (16:34 +0000)
commit89b93f7e344830b82f54054a9c7966ee383216a9
treea4b5bdac65020f566776ef6615b254e511aeb0e7
parent341babb8a79ae3906d39827ea40ff92c50fdb391
rusticl: fix MemConstant invalid arg size check

As a memory object, the MemConstant check should be the same as
MemGlobal.

Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19352>
src/gallium/frontends/rusticl/api/kernel.rs