1 parent 3e7f382 commit 91f00d9Copy full SHA for 91f00d9
1 file changed
src/main/java/git/artdeell/artvk/Vk11RenderPipeline.java
@@ -46,7 +46,7 @@ public static Vk11RenderPipeline compile(
46
VkPushConstantRange.Buffer range = VkPushConstantRange.calloc(1, stack)
47
.stageFlags(VK10.VK_SHADER_STAGE_VERTEX_BIT | VK10.VK_SHADER_STAGE_FRAGMENT_BIT)
48
.offset(0)
49
- .size(20);
+ .size((int) pushConstantRange);
50
createInfo.pPushConstantRanges(range);
51
}
52
LongBuffer pointer = stack.callocLong(1);
0 commit comments