rusticl/program: add debugging option to disable SPIR-V validation

This is useful for running applications known to pass in invalid SPIR-V.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Nora Allen <blackcatgames@protonmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23818>
This commit is contained in:
Karol Herbst 2023-06-23 02:05:38 +02:00 committed by Marge Bot
parent 2b2a513890
commit 45d86b419b
3 changed files with 9 additions and 1 deletions

View file

@ -945,6 +945,7 @@ Rusticl environment variables
a comma-separated list of debug channels to enable.
- ``allow_invalid_spirv`` disables validation of any input SPIR-V
- ``clc`` dumps all OpenCL C source being compiled
- ``program`` dumps compilation logs to stderr