File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,12 @@ interface Device_vk10 : Pointer {
7979 infix fun createCommandPool (createInfo : CommandPoolCreateInfo ): VkCommandPool =
8080 stak { it createCommandPool createInfo }
8181
82+ infix fun MemoryStack.createCommandPoolUnique (createInfo : CommandPoolCreateInfo ): VkCommandPool =
83+ createCommandPool(createInfo).also { }
84+
85+ infix fun createCommandPoolUnique (createInfo : CommandPoolCreateInfo ): VkCommandPool =
86+ stak { it createCommandPool createInfo }
87+
8288 // --- [ vkCreateComputePipelines ] ---
8389
8490 fun MemoryStack.createComputePipelines (pipelineCache : VkPipelineCache , createInfos : Array <ComputePipelineCreateInfo >): VkPipeline_Array =
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package tests
22
33import io.kotlintest.specs.StringSpec
44import main.isNotGithubAction
5+ import org.lwjgl.system.Configuration
56import org.lwjgl.vulkan.VK11.VK_API_VERSION_1_1
67import vkk._10.structs.ApplicationInfo
78import vkk._10.structs.InstanceCreateInfo
@@ -13,7 +14,7 @@ class `01 initInstance` : StringSpec() {
1314 val engineName = " Vulkan.hpp"
1415
1516 init {
16-
17+ Configuration . DEBUG_LOADER .set( true )
1718 if (isNotGithubAction)
1819 " 01 initInstance" {
1920
You can’t perform that action at this time.
0 commit comments