Fixed bugs in lazy shader compilation.

This commit is contained in:
zy4n
2025-03-03 20:45:30 +01:00
parent 925125e99b
commit fde6a2fd7b
26 changed files with 234 additions and 321 deletions

View File

@@ -44,12 +44,12 @@ constexpr ENUM_TYPE operator<<( \
); \
} \
\
constexpr ENUM_TYPE operator<<( \
constexpr ENUM_TYPE operator>>( \
ENUM_TYPE& lhs, \
int shift \
) { \
return static_cast<ENUM_TYPE>( \
static_cast<std::underlying_type_t<ENUM_TYPE>>(lhs) << shift \
static_cast<std::underlying_type_t<ENUM_TYPE>>(lhs) >> shift \
); \
} \
\