We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d4adc commit 6336a0eCopy full SHA for 6336a0e
src/pipeline_builder.cpp
@@ -13,9 +13,8 @@ constexpr auto dynamic_states_v = std::array{
13
vk::DynamicState::eLineWidth,
14
};
15
16
-[[nodiscard]] constexpr auto
17
-create_shader_stages(vk::ShaderModule const vertex,
18
- vk::ShaderModule const fragment) {
+[[nodiscard]] auto create_shader_stages(vk::ShaderModule const vertex,
+ vk::ShaderModule const fragment) {
19
// set vertex (0) and fragment (1) shader stages.
20
auto ret = std::array<vk::PipelineShaderStageCreateInfo, 2>{};
21
ret[0]
0 commit comments