Add constructor to make apple clang happy
This commit is contained in:
@@ -14,6 +14,14 @@ namespace OpenVulkano
|
|||||||
{
|
{
|
||||||
ShaderProgramType::Type stageFlags;
|
ShaderProgramType::Type stageFlags;
|
||||||
uint32_t offset, size;
|
uint32_t offset, size;
|
||||||
|
|
||||||
|
PushConstantRange(ShaderProgramType::Type stages, uint32_t offset, uint32_t size)
|
||||||
|
: stageFlags(stages), offset(offset), size(size)
|
||||||
|
{}
|
||||||
|
|
||||||
|
PushConstantRange(uint32_t size, uint32_t offset = 0, ShaderProgramType::Type stages = ShaderProgramType::ALL_GRAPHICS)
|
||||||
|
: stageFlags(stages), offset(offset), size(size)
|
||||||
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PushConstant : PushConstantRange
|
struct PushConstant : PushConstantRange
|
||||||
|
|||||||
Reference in New Issue
Block a user