rusticl/program: add debug option to validate internal spirvs
Sometimes it's useful to validate SPIR-Vs we generate just to make sure they are valid. Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27204>
This commit is contained in:
@@ -1064,6 +1064,7 @@ Rusticl environment variables
|
||||
- ``clc`` dumps all OpenCL C source being compiled
|
||||
- ``program`` dumps compilation logs to stderr
|
||||
- ``sync`` waits on the GPU to complete after every event
|
||||
- ``validate`` validates any internally generated SPIR-Vs, e.g. through compiling OpenCL C code
|
||||
|
||||
.. _clc-env-var:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user