Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- layout(push_constant) uniform Instance {
- mat4 VP;
- vec3 posCam;
- float radius;
- float curvature;
- } u_instance;
- uint32_t offset = 0;
- uint32_t size = 21 *sizeof(float);
- vk::PushConstantRange range {vk::ShaderStageFlagBits::eGeometry,offset,size};
- Push constant range covering variable starting at offset 0 not accessible from stage VK_SHADER_STAGE_GEOMETRY_BIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement