Skip to content

Commit e713cb4

Browse files
committed
switch to actual enums
1 parent 9058020 commit e713cb4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

layers/12_spirvqueriesemu/emulate.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ extern const struct _cl_icd_dispatch* g_pNextDispatch;
1212
#ifndef cl_khr_spirv_queries
1313
#define cl_khr_spirv_queries 1
1414
#define CL_KHR_SPIRV_QUERIES_EXTENSION_NAME "cl_khr_spirv_queries"
15-
#define CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR 0x10100
16-
#define CL_DEVICE_SPIRV_EXTENSIONS_KHR 0x10101
17-
#define CL_DEVICE_SPIRV_CAPABILITIES_KHR 0x10102
15+
#define CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR 0x12B9
16+
#define CL_DEVICE_SPIRV_EXTENSIONS_KHR 0x12BA
17+
#define CL_DEVICE_SPIRV_CAPABILITIES_KHR 0x12BB
1818
#endif
1919

2020
///////////////////////////////////////////////////////////////////////////////

samples/00_spirvqueries/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#ifndef cl_khr_spirv_queries
1515
#define cl_khr_spirv_queries 1
1616
#define CL_KHR_SPIRV_QUERIES_EXTENSION_NAME "cl_khr_spirv_queries"
17-
#define CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR 0x10100
18-
#define CL_DEVICE_SPIRV_EXTENSIONS_KHR 0x10101
19-
#define CL_DEVICE_SPIRV_CAPABILITIES_KHR 0x10102
17+
#define CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR 0x12B9
18+
#define CL_DEVICE_SPIRV_EXTENSIONS_KHR 0x12BA
19+
#define CL_DEVICE_SPIRV_CAPABILITIES_KHR 0x12BB
2020
#endif
2121

2222
#define SPV_ENABLE_UTILITY_CODE

0 commit comments

Comments
 (0)