Skip to content
Snippets Groups Projects

Resolve "Descriptor in multiple shader stages"

Merged Ghost User requested to merge 76-descriptor-in-multiple-shader-stages into develop
All threads resolved!
1 file
+ 9
7
Compare changes
  • Side-by-side
  • Inline
  • 3a986fbf
    [#76] try to adapt Vulkan shader stage flags · 3a986fbf
    Simeon Hermann authored
@@ -2,13 +2,15 @@
namespace vkcv {
enum class ShaderStage : uint32_t
enum class ShaderStage : VkShaderStageFlags
{
VERTEX = 0x00000001,
TESS_CONTROL = 0x00000002,
TESS_EVAL = 0x00000004,
GEOMETRY = 0x00000008,
FRAGMENT = 0x00000016,
COMPUTE = 0x00000032
VERTEX = VK_SHADER_STAGE_VERTEX_BIT,
TESS_CONTROL = VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,
TESS_EVAL = VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT,
GEOMETRY = VK_SHADER_STAGE_GEOMETRY_BIT,
FRAGMENT = VK_SHADER_STAGE_FRAGMENT_BIT,
COMPUTE = VK_SHADER_STAGE_COMPUTE_BIT
};
using ShaderStages = vk::Flags<ShaderStage>;
}
Loading