rusticl/program: pass our max param size along to the spirv validator
authorKarol Herbst <git@karolherbst.de>
Fri, 16 Jun 2023 17:58:28 +0000 (19:58 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 19 Jun 2023 22:54:59 +0000 (22:54 +0000)
commit4d26b38caf962367b16487bfe6c180a15bba7990
tree28eeddeb03012fe66a278b25aabfa208a941b472
parent99a480ba9bbae4df47f90a84fc150944b3465ae6
rusticl/program: pass our max param size along to the spirv validator

Fixes "api min_max_parameter_size" in spir-v mode

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23700>
src/gallium/frontends/rusticl/core/program.rs
src/gallium/frontends/rusticl/mesa/compiler/clc/spirv.rs