clc: use the defined version for the parser

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13018>
This commit is contained in:
Lionel Landwerlin 2021-09-24 10:55:05 +03:00 committed by Marge Bot
parent dce8870f64
commit 1c92d355c6
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class SPIRVKernelParser {
public:
SPIRVKernelParser() : curKernel(NULL)
{
ctx = spvContextCreate(SPV_ENV_UNIVERSAL_1_0);
ctx = spvContextCreate(spirv_target);
}
~SPIRVKernelParser()