Skip to content

Commit 9228f48

Browse files
committed
testing github action
1 parent 7630787 commit 9228f48

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/main/kotlin/vkk/_10/api/Device_vk10.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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 =

src/test/kotlin/tests/01 initInstance.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package tests
22

33
import io.kotlintest.specs.StringSpec
44
import main.isNotGithubAction
5+
import org.lwjgl.system.Configuration
56
import org.lwjgl.vulkan.VK11.VK_API_VERSION_1_1
67
import vkk._10.structs.ApplicationInfo
78
import 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

0 commit comments

Comments
 (0)