@@ -225,55 +225,55 @@ interface Device_vk10 : Pointer {
225225 // --- [ vkCreatePipelineCache ] ---
226226
227227 fun MemoryStack.createPipelineCache (createInfo : PipelineCacheCreateInfo = PipelineCacheCreateInfo ()): VkPipelineCache =
228- framed { VkPipelineCache (this .longAdr { callPPPPI(adr, createInfo write this , NULL , it, capabilities.vkCreatePipelineCache) }) }
228+ framed { VkPipelineCache (this .longAdr { callPPPPI(this @Device_vk10. adr, createInfo write this , NULL , it, capabilities.vkCreatePipelineCache) }) }
229229
230230 fun createPipelineCache (createInfo : PipelineCacheCreateInfo = PipelineCacheCreateInfo ()): VkPipelineCache =
231231 stak { it.createPipelineCache(createInfo) }
232232
233233 // --- [ vkCreatePipelineLayout ] ---
234234
235235 infix fun MemoryStack.createPipelineLayout (createInfo : PipelineLayoutCreateInfo ): VkPipelineLayout =
236- framed { VkPipelineLayout (this .longAdr { callPPPPI(adr, createInfo write this , NULL , it, capabilities.vkCreatePipelineLayout) }) }
236+ framed { VkPipelineLayout (this .longAdr { callPPPPI(this @Device_vk10. adr, createInfo write this , NULL , it, capabilities.vkCreatePipelineLayout) }) }
237237
238238 infix fun createPipelineLayout (createInfo : PipelineLayoutCreateInfo ): VkPipelineLayout =
239239 stak { it createPipelineLayout createInfo }
240240
241241 // --- [ vkCreateQueryPool ] ---
242242
243243 infix fun MemoryStack.createQueryPool (createInfo : QueryPoolCreateInfo ): VkQueryPool =
244- framed { VkQueryPool (this .longAdr { callPPPPI(adr, createInfo write this , NULL , it, capabilities.vkCreateQueryPool) }) }
244+ framed { VkQueryPool (this .longAdr { callPPPPI(this @Device_vk10. adr, createInfo write this , NULL , it, capabilities.vkCreateQueryPool) }) }
245245
246246 infix fun createQueryPool (createInfo : QueryPoolCreateInfo ): VkQueryPool =
247247 stak { it createQueryPool createInfo }
248248
249249 // --- [ vkCreateRenderPass ] ---
250250
251251 infix fun MemoryStack.createRenderPass (createInfo : RenderPassCreateInfo ): VkRenderPass =
252- framed { VkRenderPass (this .longAdr { callPPPPI(adr, createInfo write this , NULL , it, capabilities.vkCreateRenderPass) }) }
252+ framed { VkRenderPass (this .longAdr { callPPPPI(this @Device_vk10. adr, createInfo write this , NULL , it, capabilities.vkCreateRenderPass) }) }
253253
254254 infix fun createRenderPass (createInfo : RenderPassCreateInfo ): VkRenderPass =
255255 stak { it createRenderPass createInfo }
256256
257257 // --- [ vkCreateSampler ] ---
258258
259259 infix fun MemoryStack.createSampler (createInfo : SamplerCreateInfo ): VkSampler =
260- framed { VkSampler (this .longAdr { callPPPPI(adr, createInfo write this , NULL , it, capabilities.vkCreateSampler) }) }
260+ framed { VkSampler (this .longAdr { callPPPPI(this @Device_vk10. adr, createInfo write this , NULL , it, capabilities.vkCreateSampler) }) }
261261
262262 infix fun createSampler (createInfo : SamplerCreateInfo ): VkSampler =
263263 stak { it createSampler createInfo }
264264
265265 // --- [ vkCreateSemaphore ] ---
266266
267267 fun MemoryStack.createSemaphore (createInfo : SemaphoreCreateInfo = SemaphoreCreateInfo ()): VkSemaphore =
268- framed { VkSemaphore (this .longAdr { callPPPPI(adr, createInfo write this , NULL , it, capabilities.vkCreateSemaphore) }) }
268+ framed { VkSemaphore (this .longAdr { callPPPPI(this @Device_vk10. adr, createInfo write this , NULL , it, capabilities.vkCreateSemaphore) }) }
269269
270270 fun createSemaphore (createInfo : SemaphoreCreateInfo = SemaphoreCreateInfo ()): VkSemaphore =
271271 stak { it.createSemaphore(createInfo) }
272272
273273 // --- [ vkCreateShaderModule ] ---
274274
275275 infix fun MemoryStack.createShaderModule (createInfo : ShaderModuleCreateInfo ): VkShaderModule =
276- framed { VkShaderModule (this .longAdr { callPPPPI(adr, createInfo write this , NULL , it, capabilities.vkCreateShaderModule) }) }
276+ framed { VkShaderModule (this .longAdr { callPPPPI(this @Device_vk10. adr, createInfo write this , NULL , it, capabilities.vkCreateShaderModule) }) }
277277
278278 infix fun createShaderModule (createInfo : ShaderModuleCreateInfo ): VkShaderModule =
279279 stak { it createShaderModule createInfo }
@@ -395,7 +395,7 @@ interface Device_vk10 : Pointer {
395395 // --- [ vkGetBufferMemoryRequirements ] ---
396396
397397 infix fun MemoryStack.getBufferMemoryRequirements (buffer : VkBuffer ): MemoryRequirements =
398- framed { MemoryRequirements .read(this ) { callPJPV(adr, buffer.L , it, capabilities.vkGetBufferMemoryRequirements) } }
398+ framed { MemoryRequirements .read(this ) { callPJPV(this @Device_vk10. adr, buffer.L , it, capabilities.vkGetBufferMemoryRequirements) } }
399399
400400 infix fun getBufferMemoryRequirements (buffer : VkBuffer ): MemoryRequirements =
401401 stak { it getBufferMemoryRequirements buffer }
@@ -411,7 +411,7 @@ interface Device_vk10 : Pointer {
411411 // --- [ vkGetRenderAreaGranularity ] ---
412412
413413 infix fun MemoryStack.getRenderAreaGranularity (renderPass : VkRenderPass ): Extent2D =
414- framed { Extent2D .read(this ) { callPJPV(adr, renderPass.L , it, capabilities.vkGetRenderAreaGranularity) } }
414+ framed { Extent2D .read(this ) { callPJPV(this @Device_vk10. adr, renderPass.L , it, capabilities.vkGetRenderAreaGranularity) } }
415415
416416 infix fun getRenderAreaGranularity (renderPass : VkRenderPass ): Extent2D =
417417 stak { it getRenderAreaGranularity renderPass }
@@ -434,7 +434,7 @@ interface Device_vk10 : Pointer {
434434 // --- [ vkGetImageMemoryRequirements ] ---
435435
436436 infix fun MemoryStack.getImageMemoryRequirements (image : VkImage ): MemoryRequirements =
437- framed { MemoryRequirements .read(this ) { callPJPV(adr, image.L , it, capabilities.vkGetImageMemoryRequirements) } }
437+ framed { MemoryRequirements .read(this ) { callPJPV(this @Device_vk10. adr, image.L , it, capabilities.vkGetImageMemoryRequirements) } }
438438
439439 infix fun getImageMemoryRequirements (image : VkImage ): MemoryRequirements =
440440 stak { it getImageMemoryRequirements image }
@@ -459,7 +459,7 @@ interface Device_vk10 : Pointer {
459459 // --- [ vkGetImageSubresourceLayout ] ---
460460
461461 fun MemoryStack.getImageSubresourceLayout (image : VkImage , subresource : ImageSubresource ): SubresourceLayout =
462- framed { SubresourceLayout .read(this ) { callPJPPV(adr, image.L , subresource write this , it, capabilities.vkGetImageSubresourceLayout) } }
462+ framed { SubresourceLayout .read(this ) { callPJPPV(this @Device_vk10. adr, image.L , subresource write this , it, capabilities.vkGetImageSubresourceLayout) } }
463463
464464 fun getImageSubresourceLayout (image : VkImage , subresource : ImageSubresource ): SubresourceLayout =
465465 stak { it.getImageSubresourceLayout(image, subresource) }
@@ -508,23 +508,23 @@ interface Device_vk10 : Pointer {
508508 // --- [ vkGetDeviceMemoryCommitment ] ---
509509
510510 infix fun MemoryStack.getMemoryCommitment (memory : VkDeviceMemory ): VkDeviceSize =
511- framed { VkDeviceSize (this .longAdr { callPJPV(adr, memory.L , it, capabilities.vkGetDeviceMemoryCommitment) }) }
511+ framed { VkDeviceSize (this .longAdr { callPJPV(this @Device_vk10. adr, memory.L , it, capabilities.vkGetDeviceMemoryCommitment) }) }
512512
513513 infix fun getMemoryCommitment (memory : VkDeviceMemory ): VkDeviceSize =
514514 stak { it getMemoryCommitment memory }
515515
516516 // --- [ vkMapMemory ] ---
517517
518518 fun MemoryStack.mapMemory (memory : VkDeviceMemory , offset : VkDeviceSize , size : VkDeviceSize , flags : VkMemoryMapFlags = 0): Ptr =
519- framed { this .pointerAdr { callPJJJPI(adr, memory.L , offset.L , size.L , flags, it, capabilities.vkMapMemory) } }
519+ framed { this .pointerAdr { callPJJJPI(this @Device_vk10. adr, memory.L , offset.L , size.L , flags, it, capabilities.vkMapMemory) } }
520520
521521 fun mapMemory (memory : VkDeviceMemory , offset : VkDeviceSize , size : VkDeviceSize , flags : VkMemoryMapFlags = 0): Ptr =
522522 stak { it.mapMemory(memory, offset, size, flags) }
523523
524524 // --- [ vkMergePipelineCaches ] ---
525525
526526 fun MemoryStack.mergePipelineCaches (dstCache : VkPipelineCache , srcCaches : VkPipelineCache_Array ): VkResult =
527- framed { VkResult (callPJPI(adr, dstCache.L , srcCaches.size, srcCaches write this , capabilities.vkMergePipelineCaches)) }
527+ framed { VkResult (callPJPI(this @Device_vk10. adr, dstCache.L , srcCaches.size, srcCaches write this , capabilities.vkMergePipelineCaches)) }
528528
529529 fun mergePipelineCaches (dstCache : VkPipelineCache , srcCaches : VkPipelineCache_Array ): VkResult =
530530 stak { it.mergePipelineCaches(dstCache, srcCaches) }
@@ -544,14 +544,14 @@ interface Device_vk10 : Pointer {
544544 // --- [ vkResetFences ] ---
545545
546546 infix fun MemoryStack.resetFences (fences : VkFence_Array ): VkResult =
547- framed { VkResult (callPPI(adr, fences.size, fences write this , capabilities.vkResetFences)) }
547+ framed { VkResult (callPPI(this @Device_vk10. adr, fences.size, fences write this , capabilities.vkResetFences)) }
548548
549549 infix fun resetFences (fences : VkFence_Array ): VkResult =
550550 stak { it resetFences fences }
551551
552552
553553 infix fun MemoryStack.resetFences (fence : VkFence ): VkResult =
554- framed { VkResult (callPPI(adr, 1 , this .longAdr(fence.L ), capabilities.vkResetFences)) }
554+ framed { VkResult (callPPI(this @Device_vk10. adr, 1 , this .longAdr(fence.L ), capabilities.vkResetFences)) }
555555
556556 infix fun resetFences (fence : VkFence ): VkResult =
557557 stak { it resetFences fence }
0 commit comments