Set new minimum version for the spirv_new tests. (#854)

This allows 1.2 implementations with the cl_khr_il_program extension to run them.
This commit is contained in:
aarongreig
2020-07-31 13:13:08 +01:00
committed by GitHub
parent d3eba8571a
commit fb55f7e81c
2 changed files with 4 additions and 4 deletions

View File

@@ -1041,9 +1041,9 @@ test_status check_spirv_compilation_readiness(cl_device_id device)
}
else
{
version_expected_info("Test", "OpenCL",
ocl_expected_min_version.to_string().c_str(),
ocl_version.to_string().c_str());
log_error("SPIR-V intermediate language support on OpenCL version "
"%s requires cl_khr_il_program extension.\n",
ocl_version.to_string().c_str());
return TEST_SKIP;
}
}

View File

@@ -81,7 +81,7 @@ void spirvTestsRegistry::addTestClass(baseTestClass *test, const char *testName)
test_definition testDef;
testDef.func = test->getFunction();
testDef.name = testName;
testDef.min_version = Version(2, 1);
testDef.min_version = Version(1, 2);
testDefinitions.push_back(testDef);
}