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

@@ -35,7 +35,7 @@ constexpr inline type texture = 7;
constexpr inline type uniform_color = 8;
}
enum class flags : unsigned
enum class flags : std::uint16_t
{
none = 0,
face = 1 << indices::face,
@@ -46,7 +46,7 @@ enum class flags : unsigned
alpha = 1 << indices::alpha,
lighting = 1 << indices::lighting,
texture = 1 << indices::texture,
uniform_color = 1 << indices::uniform_color,
uniform_color = 1 << indices::uniform_color
};
constexpr inline auto face = type{

View File

@@ -33,7 +33,7 @@ constexpr inline type uniform_color = 5;
constexpr inline type rainbow = 6;
}
enum class flags : unsigned
enum class flags : std::uint8_t
{
none = 0,
square = 1 << indices::square,