mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix min version for SPIRV test registration. (#1028)
Signed-off-by: John Kesapides <john.kesapides@arm.com>
This commit is contained in:
@@ -82,7 +82,7 @@ void spirvTestsRegistry::addTestClass(baseTestClass *test, const char *testName,
|
||||
test_definition testDef;
|
||||
testDef.func = test->getFunction();
|
||||
testDef.name = testName;
|
||||
testDef.min_version = Version(1, 2);
|
||||
testDef.min_version = version;
|
||||
testDefinitions.push_back(testDef);
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ template <typename T> T *createAndRegister(const char *name, Version version)
|
||||
int test_##name(cl_device_id deviceID, cl_context context, \
|
||||
cl_command_queue queue, int num_elements)
|
||||
|
||||
#define TEST_SPIRV_FUNC(name) TEST_SPIRV_FUNC_VERSION(name, Version(2, 1))
|
||||
#define TEST_SPIRV_FUNC(name) TEST_SPIRV_FUNC_VERSION(name, Version(1, 2))
|
||||
|
||||
struct spec_const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user