We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fdafac commit 2c5f8f4Copy full SHA for 2c5f8f4
1 file changed
lib/gfx/clear.hpp
@@ -15,10 +15,10 @@ constexpr uint32_t ClearPipelineConfigVersion = 2;
15
struct PipelineConfig {
16
uint32_t version = ClearPipelineConfigVersion;
17
uint32_t msaaSamples = 1;
18
- bool clearColor : 1 = true;
19
- bool clearAlpha : 1 = true;
20
- bool clearDepth : 1 = true;
21
- uint32_t _pad : 29 = 0;
+ bool clearColor = true;
+ bool clearAlpha = true;
+ bool clearDepth = true;
+ uint8_t _pad = 0;
22
};
23
static_assert(std::has_unique_object_representations_v<PipelineConfig>);
24
0 commit comments