-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi Folks,
I believe there is a bug with the priorities float buffer allocation in vk.DeviceQueueCreateInfo.
When doing the following the creation of a logical device fails with a SIGSEGV:
val queue = vk.DeviceQueueCreateInfo {
queueFamilyIndex = graphics
queuePriority = 1.0f
}Results in
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000122816a51, pid=88962, tid=0x0000000000000307
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libMoltenVK.dylib+0x56a51]
However, when I push the float buffer myself, everything works fine:
val queue = vk.DeviceQueueCreateInfo {
queueFamilyIndex = graphics
queuePriorities = stack.floats(1.0f)
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels