File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,9 @@ namespace __spirv {
143
143
// built-in variables
144
144
#define __SPIRV_DEFINE_INIT_AND_GET_HELPERS (POSTFIX ) \
145
145
template <int ID> static size_t get##POSTFIX(); \
146
- template <> size_t get##POSTFIX<0 >() { return __spirv_BuiltIn ##POSTFIX. x ; } \
147
- template <> size_t get##POSTFIX<1 >() { return __spirv_BuiltIn ##POSTFIX. y ; } \
148
- template <> size_t get##POSTFIX<2 >() { return __spirv_BuiltIn ##POSTFIX. z ; } \
146
+ template <> size_t get##POSTFIX<0 >() { return __spirv_ ##POSTFIX## _x () ; } \
147
+ template <> size_t get##POSTFIX<1 >() { return __spirv_ ##POSTFIX## _y () ; } \
148
+ template <> size_t get##POSTFIX<2 >() { return __spirv_ ##POSTFIX## _z () ; } \
149
149
\
150
150
template <int Dim, class DstT > struct InitSizesST ##POSTFIX; \
151
151
\
You can’t perform that action at this time.
0 commit comments