Module: Mesa Branch: main Commit: 1c92d355c692c5a266ec7b506f00a8e9abbfed7e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c92d355c692c5a266ec7b506f00a8e9abbfed7e
Author: Lionel Landwerlin <[email protected]> Date: Fri Sep 24 10:55:05 2021 +0300 clc: use the defined version for the parser Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13018> --- src/microsoft/clc/clc_helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft/clc/clc_helpers.cpp b/src/microsoft/clc/clc_helpers.cpp index 1bb09f5dfe5..f892d8fab93 100644 --- a/src/microsoft/clc/clc_helpers.cpp +++ b/src/microsoft/clc/clc_helpers.cpp @@ -105,7 +105,7 @@ class SPIRVKernelParser { public: SPIRVKernelParser() : curKernel(NULL) { - ctx = spvContextCreate(SPV_ENV_UNIVERSAL_1_0); + ctx = spvContextCreate(spirv_target); } ~SPIRVKernelParser()
