diff --git a/basetype.go b/basetype.go index 66e1976..1cebc86 100644 --- a/basetype.go +++ b/basetype.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.53584 -0500 EST m=+3.061284658. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.503543 +0200 CEST m=+1.432550001. DO NOT EDIT. package vk diff --git a/basetype_metal.go b/basetype_metal.go index bbeb883..45877bd 100644 --- a/basetype_metal.go +++ b/basetype_metal.go @@ -1,5 +1,6 @@ //go:build darwin -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.738365 -0500 EST m=+3.263810870. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.300056 +0200 CEST m=+2.229065001. DO NOT EDIT. package vk diff --git a/bitmask.go b/bitmask.go index b684e50..e796938 100644 --- a/bitmask.go +++ b/bitmask.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.526479 -0500 EST m=+3.051923781. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.833559 +0200 CEST m=+1.762566501. DO NOT EDIT. package vk @@ -542,6 +542,51 @@ type VideoDecodeH264PictureLayoutFlagsKHR Flags // VideoDecodeUsageFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeUsageFlagsKHR.html type VideoDecodeUsageFlagsKHR Flags +// VideoEncodeCapabilityFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeCapabilityFlagsKHR.html +type VideoEncodeCapabilityFlagsKHR Flags + +// VideoEncodeContentFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeContentFlagsKHR.html +type VideoEncodeContentFlagsKHR Flags + +// VideoEncodeFeedbackFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeFeedbackFlagsKHR.html +type VideoEncodeFeedbackFlagsKHR Flags + +// VideoEncodeFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeFlagsKHR.html +type VideoEncodeFlagsKHR Flags + +// VideoEncodeH264CapabilityFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264CapabilityFlagsKHR.html +type VideoEncodeH264CapabilityFlagsKHR Flags + +// VideoEncodeH264RateControlFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264RateControlFlagsKHR.html +type VideoEncodeH264RateControlFlagsKHR Flags + +// VideoEncodeH264StdFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264StdFlagsKHR.html +type VideoEncodeH264StdFlagsKHR Flags + +// VideoEncodeH265CapabilityFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CapabilityFlagsKHR.html +type VideoEncodeH265CapabilityFlagsKHR Flags + +// VideoEncodeH265CtbSizeFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CtbSizeFlagsKHR.html +type VideoEncodeH265CtbSizeFlagsKHR Flags + +// VideoEncodeH265RateControlFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265RateControlFlagsKHR.html +type VideoEncodeH265RateControlFlagsKHR Flags + +// VideoEncodeH265StdFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265StdFlagsKHR.html +type VideoEncodeH265StdFlagsKHR Flags + +// VideoEncodeH265TransformBlockSizeFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265TransformBlockSizeFlagsKHR.html +type VideoEncodeH265TransformBlockSizeFlagsKHR Flags + +// VideoEncodeRateControlFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRateControlFlagsKHR.html +type VideoEncodeRateControlFlagsKHR Flags + +// VideoEncodeRateControlModeFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRateControlModeFlagsKHR.html +type VideoEncodeRateControlModeFlagsKHR Flags + +// VideoEncodeUsageFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeUsageFlagsKHR.html +type VideoEncodeUsageFlagsKHR Flags + // VideoEndCodingFlagsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEndCodingFlagsKHR.html type VideoEndCodingFlagsKHR Flags diff --git a/bitmask_macos.go b/bitmask_macos.go index ce134e2..604e3f9 100644 --- a/bitmask_macos.go +++ b/bitmask_macos.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.178609 -0500 EST m=+3.704057488. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.109323 +0200 CEST m=+2.038331376. DO NOT EDIT. package vk diff --git a/bitmask_metal.go b/bitmask_metal.go index 1b54c7d..64cd37c 100644 --- a/bitmask_metal.go +++ b/bitmask_metal.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.937563 -0500 EST m=+3.463010520. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.293973 +0200 CEST m=+2.222981251. DO NOT EDIT. package vk diff --git a/bitmask_win32.go b/bitmask_win32.go index 3bd9aed..6931b10 100644 --- a/bitmask_win32.go +++ b/bitmask_win32.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.047211 -0500 EST m=+3.572658855. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.965153 +0200 CEST m=+1.894160918. DO NOT EDIT. package vk diff --git a/command.go b/command.go index 55d7bd1..a4fdcf7 100644 --- a/command.go +++ b/command.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.290276 -0500 EST m=+2.815719071. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.554047 +0200 CEST m=+1.483054418. DO NOT EDIT. package vk @@ -163,6 +163,20 @@ func AllocateMemory(device Device, allocateInfo *MemoryAllocateInfo, allocator * var vkAllocateMemory = &vkCommand{"vkAllocateMemory", 4, true, nil} +// AntiLagUpdateAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkAntiLagUpdateAMD.html +func AntiLagUpdateAMD(device Device, data *AntiLagDataAMD) { + // Parameter is a singular input, requires translation - data + var pData *_vkAntiLagDataAMD + if data != nil { + pData = data.Vulkanize() + } + + execTrampoline(vkAntiLagUpdateAMD, uintptr(device), uintptr(unsafe.Pointer(pData))) + +} + +var vkAntiLagUpdateAMD = &vkCommand{"vkAntiLagUpdateAMD", 2, true, nil} + // BeginCommandBuffer: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkBeginCommandBuffer.html func BeginCommandBuffer(commandBuffer CommandBuffer, beginInfo *CommandBufferBeginInfo) (r error) { // Parameter is a singular input, requires translation - beginInfo @@ -497,6 +511,20 @@ func CmdBeginVideoCodingKHR(commandBuffer CommandBuffer, beginInfo *VideoBeginCo var vkCmdBeginVideoCodingKHR = &vkCommand{"vkCmdBeginVideoCodingKHR", 2, true, nil} +// CmdBindDescriptorBufferEmbeddedSamplers2EXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdBindDescriptorBufferEmbeddedSamplers2EXT.html +func CmdBindDescriptorBufferEmbeddedSamplers2EXT(commandBuffer CommandBuffer, bindDescriptorBufferEmbeddedSamplersInfo *BindDescriptorBufferEmbeddedSamplersInfoEXT) { + // Parameter is a singular input, requires translation - bindDescriptorBufferEmbeddedSamplersInfo + var pBindDescriptorBufferEmbeddedSamplersInfo *_vkBindDescriptorBufferEmbeddedSamplersInfoEXT + if bindDescriptorBufferEmbeddedSamplersInfo != nil { + pBindDescriptorBufferEmbeddedSamplersInfo = bindDescriptorBufferEmbeddedSamplersInfo.Vulkanize() + } + + execTrampoline(vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, uintptr(commandBuffer), uintptr(unsafe.Pointer(pBindDescriptorBufferEmbeddedSamplersInfo))) + +} + +var vkCmdBindDescriptorBufferEmbeddedSamplers2EXT = &vkCommand{"vkCmdBindDescriptorBufferEmbeddedSamplers2EXT", 2, true, nil} + // CmdBindDescriptorBufferEmbeddedSamplersEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdBindDescriptorBufferEmbeddedSamplersEXT.html func CmdBindDescriptorBufferEmbeddedSamplersEXT(commandBuffer CommandBuffer, pipelineBindPoint PipelineBindPoint, layout PipelineLayout, set uint32) { @@ -547,6 +575,20 @@ func CmdBindDescriptorSets(commandBuffer CommandBuffer, pipelineBindPoint Pipeli var vkCmdBindDescriptorSets = &vkCommand{"vkCmdBindDescriptorSets", 8, true, nil} +// CmdBindDescriptorSets2KHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdBindDescriptorSets2KHR.html +func CmdBindDescriptorSets2KHR(commandBuffer CommandBuffer, bindDescriptorSetsInfo *BindDescriptorSetsInfoKHR) { + // Parameter is a singular input, requires translation - bindDescriptorSetsInfo + var pBindDescriptorSetsInfo *_vkBindDescriptorSetsInfoKHR + if bindDescriptorSetsInfo != nil { + pBindDescriptorSetsInfo = bindDescriptorSetsInfo.Vulkanize() + } + + execTrampoline(vkCmdBindDescriptorSets2KHR, uintptr(commandBuffer), uintptr(unsafe.Pointer(pBindDescriptorSetsInfo))) + +} + +var vkCmdBindDescriptorSets2KHR = &vkCommand{"vkCmdBindDescriptorSets2KHR", 2, true, nil} + // CmdBindIndexBuffer: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdBindIndexBuffer.html func CmdBindIndexBuffer(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize, indexType IndexType) { @@ -1487,6 +1529,20 @@ func CmdDrawMultiIndexedEXT(commandBuffer CommandBuffer, indexInfo []MultiDrawIn var vkCmdDrawMultiIndexedEXT = &vkCommand{"vkCmdDrawMultiIndexedEXT", 7, true, nil} +// CmdEncodeVideoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdEncodeVideoKHR.html +func CmdEncodeVideoKHR(commandBuffer CommandBuffer, encodeInfo *VideoEncodeInfoKHR) { + // Parameter is a singular input, requires translation - encodeInfo + var pEncodeInfo *_vkVideoEncodeInfoKHR + if encodeInfo != nil { + pEncodeInfo = encodeInfo.Vulkanize() + } + + execTrampoline(vkCmdEncodeVideoKHR, uintptr(commandBuffer), uintptr(unsafe.Pointer(pEncodeInfo))) + +} + +var vkCmdEncodeVideoKHR = &vkCommand{"vkCmdEncodeVideoKHR", 2, true, nil} + // CmdEndConditionalRenderingEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdEndConditionalRenderingEXT.html func CmdEndConditionalRenderingEXT(commandBuffer CommandBuffer) { @@ -1775,6 +1831,34 @@ func CmdPushConstants(commandBuffer CommandBuffer, layout PipelineLayout, stageF var vkCmdPushConstants = &vkCommand{"vkCmdPushConstants", 6, true, nil} +// CmdPushConstants2KHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPushConstants2KHR.html +func CmdPushConstants2KHR(commandBuffer CommandBuffer, pushConstantsInfo *PushConstantsInfoKHR) { + // Parameter is a singular input, requires translation - pushConstantsInfo + var pPushConstantsInfo *_vkPushConstantsInfoKHR + if pushConstantsInfo != nil { + pPushConstantsInfo = pushConstantsInfo.Vulkanize() + } + + execTrampoline(vkCmdPushConstants2KHR, uintptr(commandBuffer), uintptr(unsafe.Pointer(pPushConstantsInfo))) + +} + +var vkCmdPushConstants2KHR = &vkCommand{"vkCmdPushConstants2KHR", 2, true, nil} + +// CmdPushDescriptorSet2KHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPushDescriptorSet2KHR.html +func CmdPushDescriptorSet2KHR(commandBuffer CommandBuffer, pushDescriptorSetInfo *PushDescriptorSetInfoKHR) { + // Parameter is a singular input, requires translation - pushDescriptorSetInfo + var pPushDescriptorSetInfo *_vkPushDescriptorSetInfoKHR + if pushDescriptorSetInfo != nil { + pPushDescriptorSetInfo = pushDescriptorSetInfo.Vulkanize() + } + + execTrampoline(vkCmdPushDescriptorSet2KHR, uintptr(commandBuffer), uintptr(unsafe.Pointer(pPushDescriptorSetInfo))) + +} + +var vkCmdPushDescriptorSet2KHR = &vkCommand{"vkCmdPushDescriptorSet2KHR", 2, true, nil} + // CmdPushDescriptorSetKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPushDescriptorSetKHR.html func CmdPushDescriptorSetKHR(commandBuffer CommandBuffer, pipelineBindPoint PipelineBindPoint, layout PipelineLayout, set uint32, descriptorWrites []WriteDescriptorSet) { descriptorWriteCount := len(descriptorWrites) @@ -1794,6 +1878,20 @@ func CmdPushDescriptorSetKHR(commandBuffer CommandBuffer, pipelineBindPoint Pipe var vkCmdPushDescriptorSetKHR = &vkCommand{"vkCmdPushDescriptorSetKHR", 6, true, nil} +// CmdPushDescriptorSetWithTemplate2KHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPushDescriptorSetWithTemplate2KHR.html +func CmdPushDescriptorSetWithTemplate2KHR(commandBuffer CommandBuffer, pushDescriptorSetWithTemplateInfo *PushDescriptorSetWithTemplateInfoKHR) { + // Parameter is a singular input, requires translation - pushDescriptorSetWithTemplateInfo + var pPushDescriptorSetWithTemplateInfo *_vkPushDescriptorSetWithTemplateInfoKHR + if pushDescriptorSetWithTemplateInfo != nil { + pPushDescriptorSetWithTemplateInfo = pushDescriptorSetWithTemplateInfo.Vulkanize() + } + + execTrampoline(vkCmdPushDescriptorSetWithTemplate2KHR, uintptr(commandBuffer), uintptr(unsafe.Pointer(pPushDescriptorSetWithTemplateInfo))) + +} + +var vkCmdPushDescriptorSetWithTemplate2KHR = &vkCommand{"vkCmdPushDescriptorSetWithTemplate2KHR", 2, true, nil} + // CmdPushDescriptorSetWithTemplateKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html func CmdPushDescriptorSetWithTemplateKHR(commandBuffer CommandBuffer, descriptorUpdateTemplate DescriptorUpdateTemplate, layout PipelineLayout, set uint32, data *byte) { // Parameter is a singular input, pass direct - data @@ -2239,6 +2337,20 @@ func CmdSetDepthWriteEnable(commandBuffer CommandBuffer, depthWriteEnable bool) var vkCmdSetDepthWriteEnable = &vkCommand{"vkCmdSetDepthWriteEnable", 2, true, nil} var CmdSetDepthWriteEnableEXT = CmdSetDepthWriteEnable +// CmdSetDescriptorBufferOffsets2EXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetDescriptorBufferOffsets2EXT.html +func CmdSetDescriptorBufferOffsets2EXT(commandBuffer CommandBuffer, setDescriptorBufferOffsetsInfo *SetDescriptorBufferOffsetsInfoEXT) { + // Parameter is a singular input, requires translation - setDescriptorBufferOffsetsInfo + var pSetDescriptorBufferOffsetsInfo *_vkSetDescriptorBufferOffsetsInfoEXT + if setDescriptorBufferOffsetsInfo != nil { + pSetDescriptorBufferOffsetsInfo = setDescriptorBufferOffsetsInfo.Vulkanize() + } + + execTrampoline(vkCmdSetDescriptorBufferOffsets2EXT, uintptr(commandBuffer), uintptr(unsafe.Pointer(pSetDescriptorBufferOffsetsInfo))) + +} + +var vkCmdSetDescriptorBufferOffsets2EXT = &vkCommand{"vkCmdSetDescriptorBufferOffsets2EXT", 2, true, nil} + // CmdSetDescriptorBufferOffsetsEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetDescriptorBufferOffsetsEXT.html func CmdSetDescriptorBufferOffsetsEXT(commandBuffer CommandBuffer, pipelineBindPoint PipelineBindPoint, layout PipelineLayout, firstSet uint32, bufferIndices []uint32, offsets []DeviceSize) { setCount := len(bufferIndices) @@ -2420,15 +2532,7 @@ func CmdSetLineRasterizationModeEXT(commandBuffer CommandBuffer, lineRasterizati } var vkCmdSetLineRasterizationModeEXT = &vkCommand{"vkCmdSetLineRasterizationModeEXT", 2, true, nil} - -// CmdSetLineStippleEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetLineStippleEXT.html -func CmdSetLineStippleEXT(commandBuffer CommandBuffer, lineStippleFactor uint32, lineStipplePattern uint16) { - - execTrampoline(vkCmdSetLineStippleEXT, uintptr(commandBuffer), uintptr(lineStippleFactor), uintptr(lineStipplePattern)) - -} - -var vkCmdSetLineStippleEXT = &vkCommand{"vkCmdSetLineStippleEXT", 3, true, nil} +var CmdSetLineStippleEXT = CmdSetLineStippleKHR // CmdSetLineStippleEnableEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetLineStippleEnableEXT.html func CmdSetLineStippleEnableEXT(commandBuffer CommandBuffer, stippledLineEnable bool) { @@ -2440,6 +2544,15 @@ func CmdSetLineStippleEnableEXT(commandBuffer CommandBuffer, stippledLineEnable var vkCmdSetLineStippleEnableEXT = &vkCommand{"vkCmdSetLineStippleEnableEXT", 2, true, nil} +// CmdSetLineStippleKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetLineStippleKHR.html +func CmdSetLineStippleKHR(commandBuffer CommandBuffer, lineStippleFactor uint32, lineStipplePattern uint16) { + + execTrampoline(vkCmdSetLineStippleKHR, uintptr(commandBuffer), uintptr(lineStippleFactor), uintptr(lineStipplePattern)) + +} + +var vkCmdSetLineStippleKHR = &vkCommand{"vkCmdSetLineStippleKHR", 3, true, nil} + // CmdSetLineWidth: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetLineWidth.html func CmdSetLineWidth(commandBuffer CommandBuffer, lineWidth float32) { @@ -2608,6 +2721,34 @@ func CmdSetRayTracingPipelineStackSizeKHR(commandBuffer CommandBuffer, pipelineS var vkCmdSetRayTracingPipelineStackSizeKHR = &vkCommand{"vkCmdSetRayTracingPipelineStackSizeKHR", 2, true, nil} +// CmdSetRenderingAttachmentLocationsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html +func CmdSetRenderingAttachmentLocationsKHR(commandBuffer CommandBuffer, locationInfo *RenderingAttachmentLocationInfoKHR) { + // Parameter is a singular input, requires translation - locationInfo + var pLocationInfo *_vkRenderingAttachmentLocationInfoKHR + if locationInfo != nil { + pLocationInfo = locationInfo.Vulkanize() + } + + execTrampoline(vkCmdSetRenderingAttachmentLocationsKHR, uintptr(commandBuffer), uintptr(unsafe.Pointer(pLocationInfo))) + +} + +var vkCmdSetRenderingAttachmentLocationsKHR = &vkCommand{"vkCmdSetRenderingAttachmentLocationsKHR", 2, true, nil} + +// CmdSetRenderingInputAttachmentIndicesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html +func CmdSetRenderingInputAttachmentIndicesKHR(commandBuffer CommandBuffer, inputAttachmentIndexInfo *RenderingInputAttachmentIndexInfoKHR) { + // Parameter is a singular input, requires translation - inputAttachmentIndexInfo + var pInputAttachmentIndexInfo *_vkRenderingInputAttachmentIndexInfoKHR + if inputAttachmentIndexInfo != nil { + pInputAttachmentIndexInfo = inputAttachmentIndexInfo.Vulkanize() + } + + execTrampoline(vkCmdSetRenderingInputAttachmentIndicesKHR, uintptr(commandBuffer), uintptr(unsafe.Pointer(pInputAttachmentIndexInfo))) + +} + +var vkCmdSetRenderingInputAttachmentIndicesKHR = &vkCommand{"vkCmdSetRenderingInputAttachmentIndicesKHR", 2, true, nil} + // CmdSetRepresentativeFragmentTestEnableNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetRepresentativeFragmentTestEnableNV.html func CmdSetRepresentativeFragmentTestEnableNV(commandBuffer CommandBuffer, representativeFragmentTestEnable bool) { representativeFragmentTestEnable_Bool32 := translateInternal_Bool32(representativeFragmentTestEnable) @@ -5837,14 +5978,15 @@ func GetBufferOpaqueCaptureDescriptorDataEXT(device Device, info *BufferCaptureD } var vkGetBufferOpaqueCaptureDescriptorDataEXT = &vkCommand{"vkGetBufferOpaqueCaptureDescriptorDataEXT", 3, true, nil} +var GetCalibratedTimestampsEXT = GetCalibratedTimestampsKHR -// GetCalibratedTimestampsEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetCalibratedTimestampsEXT.html -func GetCalibratedTimestampsEXT(device Device, timestampInfos []CalibratedTimestampInfoEXT) (timestamps []uint64, maxDeviation uint64, r error) { +// GetCalibratedTimestampsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetCalibratedTimestampsKHR.html +func GetCalibratedTimestampsKHR(device Device, timestampInfos []CalibratedTimestampInfoKHR) (timestamps []uint64, maxDeviation uint64, r error) { timestampCount := len(timestampInfos) // timestampInfos is an input slice that requires translation to an internal type var pTimestampInfos unsafe.Pointer if len(timestampInfos) > 0 { - sl_timestampInfos := make([]_vkCalibratedTimestampInfoEXT, timestampCount) + sl_timestampInfos := make([]_vkCalibratedTimestampInfoKHR, timestampCount) for i, v := range timestampInfos { sl_timestampInfos[i] = *(v.Vulkanize()) } @@ -5858,7 +6000,7 @@ func GetCalibratedTimestampsEXT(device Device, timestampInfos []CalibratedTimest // maxDeviation is a binding-allocated single return value and will be populated by Vulkan ptr_pMaxDeviation := &maxDeviation - r = Result(execTrampoline(vkGetCalibratedTimestampsEXT, uintptr(device), uintptr(timestampCount), uintptr(unsafe.Pointer(pTimestampInfos)), uintptr(unsafe.Pointer(pTimestamps)), uintptr(unsafe.Pointer(ptr_pMaxDeviation)))) + r = Result(execTrampoline(vkGetCalibratedTimestampsKHR, uintptr(device), uintptr(timestampCount), uintptr(unsafe.Pointer(pTimestampInfos)), uintptr(unsafe.Pointer(pTimestamps)), uintptr(unsafe.Pointer(ptr_pMaxDeviation)))) if r == Result(0) { r = SUCCESS @@ -5866,7 +6008,7 @@ func GetCalibratedTimestampsEXT(device Device, timestampInfos []CalibratedTimest return } -var vkGetCalibratedTimestampsEXT = &vkCommand{"vkGetCalibratedTimestampsEXT", 5, true, nil} +var vkGetCalibratedTimestampsKHR = &vkCommand{"vkGetCalibratedTimestampsKHR", 5, true, nil} // GetCudaModuleCacheNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetCudaModuleCacheNV.html func GetCudaModuleCacheNV(device Device, module CudaModuleNV) (cacheData []byte, r error) { @@ -6279,11 +6421,10 @@ func GetDeviceQueue2(device Device, queueInfo *DeviceQueueInfo2) (queue Queue) { var vkGetDeviceQueue2 = &vkCommand{"vkGetDeviceQueue2", 3, true, nil} // GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI.html -func GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device Device, renderpass RenderPass) (maxWorkgroupSize Extent2D, r error) { - // maxWorkgroupSize is a binding-allocated single return value and will be populated by Vulkan - ptr_pMaxWorkgroupSize := &maxWorkgroupSize +func GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device Device, renderpass RenderPass) (r error) { + // Parameter is binding-allocated array populated by Vulkan; length is possibly embedded in a struct (1) - maxWorkgroupSize - r = Result(execTrampoline(vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, uintptr(device), uintptr(renderpass), uintptr(unsafe.Pointer(ptr_pMaxWorkgroupSize)))) + r = Result(execTrampoline(vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, uintptr(device), uintptr(renderpass))) if r == Result(0) { r = SUCCESS @@ -6291,7 +6432,7 @@ func GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device Device, renderpass Ren return } -var vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = &vkCommand{"vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", 3, true, nil} +var vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = &vkCommand{"vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", 2, true, nil} // GetDisplayModeProperties2KHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetDisplayModeProperties2KHR.html func GetDisplayModeProperties2KHR(physicalDevice PhysicalDevice, display DisplayKHR) (properties []DisplayModeProperties2KHR, r error) { @@ -6455,6 +6596,45 @@ func GetDynamicRenderingTilePropertiesQCOM(device Device, renderingInfo *Renderi var vkGetDynamicRenderingTilePropertiesQCOM = &vkCommand{"vkGetDynamicRenderingTilePropertiesQCOM", 3, true, nil} +// GetEncodedVideoSessionParametersKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetEncodedVideoSessionParametersKHR.html +func GetEncodedVideoSessionParametersKHR(device Device, videoSessionParametersInfo *VideoEncodeSessionParametersGetInfoKHR) (feedbackInfo VideoEncodeSessionParametersFeedbackInfoKHR, data []byte, r error) { + // Parameter is a singular input, requires translation - videoSessionParametersInfo + var pVideoSessionParametersInfo *_vkVideoEncodeSessionParametersGetInfoKHR + if videoSessionParametersInfo != nil { + pVideoSessionParametersInfo = videoSessionParametersInfo.Vulkanize() + } + + // feedbackInfo is a binding-allocated single return value and will be populated by Vulkan, but requiring translation + var pFeedbackInfo *_vkVideoEncodeSessionParametersFeedbackInfoKHR = feedbackInfo.Vulkanize() + + // data is a double-call array output + var dataSize uintptr + pDataSize := &dataSize + // first trampoline happens here; also, still need to check returned Result value + // NOT identical internal and external, result needs translation + var pData *byte + + r = Result(execTrampoline(vkGetEncodedVideoSessionParametersKHR, uintptr(device), uintptr(unsafe.Pointer(pVideoSessionParametersInfo)), uintptr(unsafe.Pointer(pFeedbackInfo)), uintptr(unsafe.Pointer(pDataSize)), uintptr(unsafe.Pointer(pData)))) + + feedbackInfo = *(pFeedbackInfo.Goify()) + sl_pData := make([]byte, dataSize) + data = make([]byte, dataSize) + pData = &sl_pData[0] + + // Trampoline call after last array allocation + r = Result(execTrampoline(vkGetEncodedVideoSessionParametersKHR, uintptr(device), uintptr(unsafe.Pointer(pVideoSessionParametersInfo)), uintptr(unsafe.Pointer(pFeedbackInfo)), uintptr(unsafe.Pointer(pDataSize)), uintptr(unsafe.Pointer(pData)))) + + for i := range sl_pData { + data[i] = *&sl_pData[i] + } + if r == Result(0) { + r = SUCCESS + } + return +} + +var vkGetEncodedVideoSessionParametersKHR = &vkCommand{"vkGetEncodedVideoSessionParametersKHR", 5, true, nil} + // GetEventStatus: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetEventStatus.html func GetEventStatus(device Device, event Event) (r error) { @@ -6784,20 +6964,17 @@ func GetInstanceProcAddr(instance Instance, name string) (fn PFN_vkVoidFunction) var vkGetInstanceProcAddr = &vkCommand{"vkGetInstanceProcAddr", 2, true, nil} // GetLatencyTimingsNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetLatencyTimingsNV.html -func GetLatencyTimingsNV(device Device, swapchain SwapchainKHR) (timingCount uint32, latencyMarkerInfo GetLatencyMarkerInfoNV) { - // timingCount is a binding-allocated single return value and will be populated by Vulkan - ptr_pTimingCount := &timingCount - +func GetLatencyTimingsNV(device Device, swapchain SwapchainKHR) (latencyMarkerInfo GetLatencyMarkerInfoNV) { // latencyMarkerInfo is a binding-allocated single return value and will be populated by Vulkan, but requiring translation var pLatencyMarkerInfo *_vkGetLatencyMarkerInfoNV = latencyMarkerInfo.Vulkanize() - execTrampoline(vkGetLatencyTimingsNV, uintptr(device), uintptr(swapchain), uintptr(unsafe.Pointer(ptr_pTimingCount)), uintptr(unsafe.Pointer(pLatencyMarkerInfo))) + execTrampoline(vkGetLatencyTimingsNV, uintptr(device), uintptr(swapchain), uintptr(unsafe.Pointer(pLatencyMarkerInfo))) latencyMarkerInfo = *(pLatencyMarkerInfo.Goify()) return } -var vkGetLatencyTimingsNV = &vkCommand{"vkGetLatencyTimingsNV", 4, true, nil} +var vkGetLatencyTimingsNV = &vkCommand{"vkGetLatencyTimingsNV", 3, true, nil} // GetMemoryFdKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetMemoryFdKHR.html func GetMemoryFdKHR(device Device, getFdInfo *MemoryGetFdInfoKHR) (fd int32, r error) { @@ -6942,24 +7119,25 @@ func GetPerformanceParameterINTEL(device Device, parameter PerformanceParameterT } var vkGetPerformanceParameterINTEL = &vkCommand{"vkGetPerformanceParameterINTEL", 3, true, nil} +var GetPhysicalDeviceCalibrateableTimeDomainsEXT = GetPhysicalDeviceCalibrateableTimeDomainsKHR -// GetPhysicalDeviceCalibrateableTimeDomainsEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html -func GetPhysicalDeviceCalibrateableTimeDomainsEXT(physicalDevice PhysicalDevice) (timeDomains []TimeDomainEXT, r error) { +// GetPhysicalDeviceCalibrateableTimeDomainsKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html +func GetPhysicalDeviceCalibrateableTimeDomainsKHR(physicalDevice PhysicalDevice) (timeDomains []TimeDomainKHR, r error) { // timeDomains is a double-call array output var timeDomainCount uint32 pTimeDomainCount := &timeDomainCount // first trampoline happens here; also, still need to check returned Result value // NOT identical internal and external, result needs translation - var pTimeDomains *TimeDomainEXT + var pTimeDomains *TimeDomainKHR - r = Result(execTrampoline(vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, uintptr(physicalDevice), uintptr(unsafe.Pointer(pTimeDomainCount)), uintptr(unsafe.Pointer(pTimeDomains)))) + r = Result(execTrampoline(vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, uintptr(physicalDevice), uintptr(unsafe.Pointer(pTimeDomainCount)), uintptr(unsafe.Pointer(pTimeDomains)))) - sl_pTimeDomains := make([]TimeDomainEXT, timeDomainCount) - timeDomains = make([]TimeDomainEXT, timeDomainCount) + sl_pTimeDomains := make([]TimeDomainKHR, timeDomainCount) + timeDomains = make([]TimeDomainKHR, timeDomainCount) pTimeDomains = &sl_pTimeDomains[0] // Trampoline call after last array allocation - r = Result(execTrampoline(vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, uintptr(physicalDevice), uintptr(unsafe.Pointer(pTimeDomainCount)), uintptr(unsafe.Pointer(pTimeDomains)))) + r = Result(execTrampoline(vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, uintptr(physicalDevice), uintptr(unsafe.Pointer(pTimeDomainCount)), uintptr(unsafe.Pointer(pTimeDomains)))) for i := range sl_pTimeDomains { timeDomains[i] = *&sl_pTimeDomains[i] @@ -6970,7 +7148,7 @@ func GetPhysicalDeviceCalibrateableTimeDomainsEXT(physicalDevice PhysicalDevice) return } -var vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = &vkCommand{"vkGetPhysicalDeviceCalibrateableTimeDomainsEXT", 3, true, nil} +var vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = &vkCommand{"vkGetPhysicalDeviceCalibrateableTimeDomainsKHR", 3, true, nil} // GetPhysicalDeviceCooperativeMatrixPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html func GetPhysicalDeviceCooperativeMatrixPropertiesKHR(physicalDevice PhysicalDevice) (properties []CooperativeMatrixPropertiesKHR, r error) { @@ -7877,6 +8055,28 @@ func GetPhysicalDeviceVideoCapabilitiesKHR(physicalDevice PhysicalDevice, videoP var vkGetPhysicalDeviceVideoCapabilitiesKHR = &vkCommand{"vkGetPhysicalDeviceVideoCapabilitiesKHR", 3, true, nil} +// GetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html +func GetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(physicalDevice PhysicalDevice, qualityLevelInfo *PhysicalDeviceVideoEncodeQualityLevelInfoKHR) (qualityLevelProperties VideoEncodeQualityLevelPropertiesKHR, r error) { + // Parameter is a singular input, requires translation - qualityLevelInfo + var pQualityLevelInfo *_vkPhysicalDeviceVideoEncodeQualityLevelInfoKHR + if qualityLevelInfo != nil { + pQualityLevelInfo = qualityLevelInfo.Vulkanize() + } + + // qualityLevelProperties is a binding-allocated single return value and will be populated by Vulkan, but requiring translation + var pQualityLevelProperties *_vkVideoEncodeQualityLevelPropertiesKHR = qualityLevelProperties.Vulkanize() + + r = Result(execTrampoline(vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, uintptr(physicalDevice), uintptr(unsafe.Pointer(pQualityLevelInfo)), uintptr(unsafe.Pointer(pQualityLevelProperties)))) + + qualityLevelProperties = *(pQualityLevelProperties.Goify()) + if r == Result(0) { + r = SUCCESS + } + return +} + +var vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR = &vkCommand{"vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR", 3, true, nil} + // GetPhysicalDeviceVideoFormatPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html func GetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice PhysicalDevice, videoFormatInfo *PhysicalDeviceVideoFormatInfoKHR) (videoFormatProperties []VideoFormatPropertiesKHR, r error) { // Parameter is a singular input, requires translation - videoFormatInfo diff --git a/command_macos.go b/command_macos.go index b29e5ad..b373506 100644 --- a/command_macos.go +++ b/command_macos.go @@ -1,5 +1,6 @@ //go:build darwin -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.284361 -0500 EST m=+3.809810145. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.172317 +0200 CEST m=+2.101325543. DO NOT EDIT. package vk diff --git a/command_metal.go b/command_metal.go index fdb1753..088f89c 100644 --- a/command_metal.go +++ b/command_metal.go @@ -1,5 +1,6 @@ //go:build darwin -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.831983 -0500 EST m=+3.357429502. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.357018 +0200 CEST m=+2.286026335. DO NOT EDIT. package vk diff --git a/command_win32.go b/command_win32.go index 3d8c2ab..b36a147 100644 --- a/command_win32.go +++ b/command_win32.go @@ -1,5 +1,6 @@ //go:build windows -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.949411 -0500 EST m=+3.474858711. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.977876 +0200 CEST m=+1.906884043. DO NOT EDIT. package vk diff --git a/define.go b/define.go index 04e9eb1..61f6d91 100644 --- a/define.go +++ b/define.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.126508 -0500 EST m=+2.651950186. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.89476 +0200 CEST m=+1.823768043. DO NOT EDIT. package vk @@ -27,7 +27,7 @@ var API_VERSION_PATCH = apiVersionPatch var API_VERSION_VARIANT = apiVersionVariant // HEADER_VERSION: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION.html -var HEADER_VERSION = uint32(270) +var HEADER_VERSION = uint32(293) // HEADER_VERSION_COMPLETE: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html var HEADER_VERSION_COMPLETE = MAKE_API_VERSION(0, 1, 3, HEADER_VERSION) diff --git a/enum.go b/enum.go index c508f57..cfa8af9 100644 --- a/enum.go +++ b/enum.go @@ -1,16 +1,18 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.455731 -0500 EST m=+2.981175480. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.842614 +0200 CEST m=+1.771621626. DO NOT EDIT. package vk -//go:generate stringer -output=enum_string_0.go -type=AccelerationStructureBuildTypeKHR,AccelerationStructureCompatibilityKHR,AccelerationStructureCreateFlagBitsKHR,AccelerationStructureMemoryRequirementsTypeNV,AccelerationStructureMotionInstanceTypeNV,AccelerationStructureTypeKHR,AccessFlagBits,AccessFlagBits2,AttachmentDescriptionFlagBits,AttachmentLoadOp,AttachmentStoreOp,BlendFactor,BlendOp,BlendOverlapEXT,BlockMatchWindowCompareModeQCOM,BorderColor,BufferCreateFlagBits,BufferUsageFlagBits,BufferUsageFlagBits2KHR,BuildAccelerationStructureFlagBitsKHR,BuildAccelerationStructureModeKHR,BuildMicromapFlagBitsEXT,BuildMicromapModeEXT,ChromaLocation,CoarseSampleOrderTypeNV,ColorComponentFlagBits,ColorSpaceKHR,CommandBufferLevel,CommandBufferResetFlagBits,CommandBufferUsageFlagBits,CommandPoolCreateFlagBits -//go:generate stringer -output=enum_string_1.go -type=CommandPoolResetFlagBits,CompareOp,ComponentSwizzle,ComponentTypeKHR,CompositeAlphaFlagBitsKHR,ConditionalRenderingFlagBitsEXT,ConservativeRasterizationModeEXT,CopyAccelerationStructureModeKHR,CopyMicromapModeEXT,CoverageModulationModeNV,CoverageReductionModeNV,CubicFilterWeightsQCOM,CullModeFlagBits,DebugReportFlagBitsEXT,DebugReportObjectTypeEXT,DebugUtilsMessageSeverityFlagBitsEXT,DebugUtilsMessageTypeFlagBitsEXT,DependencyFlagBits,DepthBiasRepresentationEXT,DescriptorBindingFlagBits,DescriptorPoolCreateFlagBits,DescriptorSetLayoutCreateFlagBits,DescriptorType,DescriptorUpdateTemplateType,DeviceAddressBindingFlagBitsEXT,DeviceAddressBindingTypeEXT,DeviceDiagnosticsConfigFlagBitsNV,DeviceEventTypeEXT,DeviceFaultAddressTypeEXT,DeviceFaultVendorBinaryHeaderVersionEXT,DeviceGroupPresentModeFlagBitsKHR -//go:generate stringer -output=enum_string_2.go -type=DeviceMemoryReportEventTypeEXT,DeviceQueueCreateFlagBits,DirectDriverLoadingModeLUNARG,DiscardRectangleModeEXT,DisplayEventTypeEXT,DisplayPlaneAlphaFlagBitsKHR,DisplayPowerStateEXT,DriverId,DynamicState,EventCreateFlagBits,ExternalFenceFeatureFlagBits,ExternalFenceHandleTypeFlagBits,ExternalMemoryFeatureFlagBits,ExternalMemoryFeatureFlagBitsNV,ExternalMemoryHandleTypeFlagBits,ExternalMemoryHandleTypeFlagBitsNV,ExternalSemaphoreFeatureFlagBits,ExternalSemaphoreHandleTypeFlagBits,FenceCreateFlagBits,FenceImportFlagBits,Filter,Format,FormatFeatureFlagBits,FormatFeatureFlagBits2,FragmentShadingRateCombinerOpKHR,FragmentShadingRateNV,FragmentShadingRateTypeNV,FrameBoundaryFlagBitsEXT,FramebufferCreateFlagBits,FrontFace,GeometryFlagBitsKHR -//go:generate stringer -output=enum_string_3.go -type=GeometryInstanceFlagBitsKHR,GeometryTypeKHR,GraphicsPipelineLibraryFlagBitsEXT,HostImageCopyFlagBitsEXT,ImageAspectFlagBits,ImageCompressionFixedRateFlagBitsEXT,ImageCompressionFlagBitsEXT,ImageCreateFlagBits,ImageLayout,ImageTiling,ImageType,ImageUsageFlagBits,ImageViewCreateFlagBits,ImageViewType,IndexType,IndirectCommandsLayoutUsageFlagBitsNV,IndirectCommandsTokenTypeNV,IndirectStateFlagBitsNV,InstanceCreateFlagBits,InternalAllocationType,LatencyMarkerNV,LayeredDriverUnderlyingApiMSFT,LineRasterizationModeEXT,LogicOp,MemoryAllocateFlagBits,MemoryDecompressionMethodFlagBitsNV,MemoryHeapFlagBits,MemoryOverallocationBehaviorAMD,MemoryPropertyFlagBits,MicromapCreateFlagBitsEXT,MicromapTypeEXT -//go:generate stringer -output=enum_string_4.go -type=ObjectType,OpacityMicromapFormatEXT,OpacityMicromapSpecialIndexEXT,OpticalFlowExecuteFlagBitsNV,OpticalFlowGridSizeFlagBitsNV,OpticalFlowPerformanceLevelNV,OpticalFlowSessionBindingPointNV,OpticalFlowSessionCreateFlagBitsNV,OpticalFlowUsageFlagBitsNV,OutOfBandQueueTypeNV,PeerMemoryFeatureFlagBits,PerformanceConfigurationTypeINTEL,PerformanceCounterDescriptionFlagBitsKHR,PerformanceCounterScopeKHR,PerformanceCounterStorageKHR,PerformanceCounterUnitKHR,PerformanceOverrideTypeINTEL,PerformanceParameterTypeINTEL,PerformanceValueTypeINTEL,PhysicalDeviceSchedulingControlsFlagBitsARM,PhysicalDeviceType,PipelineBindPoint,PipelineCacheCreateFlagBits,PipelineCacheHeaderVersion,PipelineColorBlendStateCreateFlagBits,PipelineCreateFlagBits,PipelineCreateFlagBits2KHR,PipelineCreationFeedbackFlagBits,PipelineDepthStencilStateCreateFlagBits,PipelineExecutableStatisticFormatKHR,PipelineLayoutCreateFlagBits -//go:generate stringer -output=enum_string_5.go -type=PipelineRobustnessBufferBehaviorEXT,PipelineRobustnessImageBehaviorEXT,PipelineShaderStageCreateFlagBits,PipelineStageFlagBits,PipelineStageFlagBits2,PointClippingBehavior,PolygonMode,PresentGravityFlagBitsEXT,PresentModeKHR,PresentScalingFlagBitsEXT,PrimitiveTopology,ProvokingVertexModeEXT,QueryControlFlagBits,QueryPipelineStatisticFlagBits,QueryPoolSamplingModeINTEL,QueryResultFlagBits,QueryResultStatusKHR,QueryType,QueueFlagBits,QueueGlobalPriorityKHR,RasterizationOrderAMD,RayTracingInvocationReorderModeNV,RayTracingShaderGroupTypeKHR,RenderPassCreateFlagBits,RenderingFlagBits,ResolveModeFlagBits,Result,SampleCountFlagBits,SamplerAddressMode,SamplerCreateFlagBits,SamplerMipmapMode -//go:generate stringer -output=enum_string_6.go -type=SamplerReductionMode,SamplerYcbcrModelConversion,SamplerYcbcrRange,ScopeKHR,SemaphoreImportFlagBits,SemaphoreType,SemaphoreWaitFlagBits,ShaderCodeTypeEXT,ShaderCreateFlagBitsEXT,ShaderFloatControlsIndependence,ShaderGroupShaderKHR,ShaderInfoTypeAMD,ShaderStageFlagBits,ShadingRatePaletteEntryNV,SharingMode,SparseImageFormatFlagBits,SparseMemoryBindFlagBits,StencilFaceFlagBits,StencilOp,StructureType,SubgroupFeatureFlagBits,SubmitFlagBits,SubpassContents,SubpassDescriptionFlagBits,SubpassMergeStatusEXT,SurfaceCounterFlagBitsEXT,SurfaceTransformFlagBitsKHR,SwapchainCreateFlagBitsKHR,SystemAllocationScope,TessellationDomainOrigin,TimeDomainEXT -//go:generate stringer -output=enum_string_7.go -type=ToolPurposeFlagBits,ValidationCacheHeaderVersionEXT,ValidationCheckEXT,ValidationFeatureDisableEXT,ValidationFeatureEnableEXT,VendorId,VertexInputRate,VideoCapabilityFlagBitsKHR,VideoChromaSubsamplingFlagBitsKHR,VideoCodecOperationFlagBitsKHR,VideoCodingControlFlagBitsKHR,VideoComponentBitDepthFlagBitsKHR,VideoDecodeCapabilityFlagBitsKHR,VideoDecodeH264PictureLayoutFlagBitsKHR,VideoDecodeUsageFlagBitsKHR,VideoSessionCreateFlagBitsKHR,ViewportCoordinateSwizzleNV // AccelerationStructureBuildTypeKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAccelerationStructureBuildTypeKHR.html +// +//go:generate stringer -output=enum_string_0.go -type=AccelerationStructureBuildTypeKHR,AccelerationStructureCompatibilityKHR,AccelerationStructureCreateFlagBitsKHR,AccelerationStructureMemoryRequirementsTypeNV,AccelerationStructureMotionInstanceTypeNV,AccelerationStructureTypeKHR,AccessFlagBits,AccessFlagBits2,AntiLagModeAMD,AntiLagStageAMD,AttachmentDescriptionFlagBits,AttachmentLoadOp,AttachmentStoreOp,BlendFactor,BlendOp,BlendOverlapEXT,BlockMatchWindowCompareModeQCOM,BorderColor,BufferCreateFlagBits,BufferUsageFlagBits,BufferUsageFlagBits2KHR,BuildAccelerationStructureFlagBitsKHR,BuildAccelerationStructureModeKHR,BuildMicromapFlagBitsEXT,BuildMicromapModeEXT,ChromaLocation,CoarseSampleOrderTypeNV,ColorComponentFlagBits,ColorSpaceKHR,CommandBufferLevel,CommandBufferResetFlagBits +//go:generate stringer -output=enum_string_1.go -type=CommandBufferUsageFlagBits,CommandPoolCreateFlagBits,CommandPoolResetFlagBits,CompareOp,ComponentSwizzle,ComponentTypeKHR,CompositeAlphaFlagBitsKHR,ConditionalRenderingFlagBitsEXT,ConservativeRasterizationModeEXT,CopyAccelerationStructureModeKHR,CopyMicromapModeEXT,CoverageModulationModeNV,CoverageReductionModeNV,CubicFilterWeightsQCOM,CullModeFlagBits,DebugReportFlagBitsEXT,DebugReportObjectTypeEXT,DebugUtilsMessageSeverityFlagBitsEXT,DebugUtilsMessageTypeFlagBitsEXT,DependencyFlagBits,DepthBiasRepresentationEXT,DescriptorBindingFlagBits,DescriptorPoolCreateFlagBits,DescriptorSetLayoutCreateFlagBits,DescriptorType,DescriptorUpdateTemplateType,DeviceAddressBindingFlagBitsEXT,DeviceAddressBindingTypeEXT,DeviceDiagnosticsConfigFlagBitsNV,DeviceEventTypeEXT,DeviceFaultAddressTypeEXT +//go:generate stringer -output=enum_string_2.go -type=DeviceFaultVendorBinaryHeaderVersionEXT,DeviceGroupPresentModeFlagBitsKHR,DeviceMemoryReportEventTypeEXT,DeviceQueueCreateFlagBits,DirectDriverLoadingModeLUNARG,DiscardRectangleModeEXT,DisplayEventTypeEXT,DisplayPlaneAlphaFlagBitsKHR,DisplayPowerStateEXT,DriverId,DynamicState,EventCreateFlagBits,ExternalFenceFeatureFlagBits,ExternalFenceHandleTypeFlagBits,ExternalMemoryFeatureFlagBits,ExternalMemoryFeatureFlagBitsNV,ExternalMemoryHandleTypeFlagBits,ExternalMemoryHandleTypeFlagBitsNV,ExternalSemaphoreFeatureFlagBits,ExternalSemaphoreHandleTypeFlagBits,FenceCreateFlagBits,FenceImportFlagBits,Filter,Format,FormatFeatureFlagBits,FormatFeatureFlagBits2,FragmentShadingRateCombinerOpKHR,FragmentShadingRateNV,FragmentShadingRateTypeNV,FrameBoundaryFlagBitsEXT,FramebufferCreateFlagBits +//go:generate stringer -output=enum_string_3.go -type=FrontFace,GeometryFlagBitsKHR,GeometryInstanceFlagBitsKHR,GeometryTypeKHR,GraphicsPipelineLibraryFlagBitsEXT,HostImageCopyFlagBitsEXT,ImageAspectFlagBits,ImageCompressionFixedRateFlagBitsEXT,ImageCompressionFlagBitsEXT,ImageCreateFlagBits,ImageLayout,ImageTiling,ImageType,ImageUsageFlagBits,ImageViewCreateFlagBits,ImageViewType,IndexType,IndirectCommandsLayoutUsageFlagBitsNV,IndirectCommandsTokenTypeNV,IndirectStateFlagBitsNV,InstanceCreateFlagBits,InternalAllocationType,LatencyMarkerNV,LayerSettingTypeEXT,LayeredDriverUnderlyingApiMSFT,LineRasterizationModeKHR,LogicOp,MemoryAllocateFlagBits,MemoryDecompressionMethodFlagBitsNV,MemoryHeapFlagBits,MemoryMapFlagBits +//go:generate stringer -output=enum_string_4.go -type=MemoryOverallocationBehaviorAMD,MemoryPropertyFlagBits,MemoryUnmapFlagBitsKHR,MicromapCreateFlagBitsEXT,MicromapTypeEXT,ObjectType,OpacityMicromapFormatEXT,OpacityMicromapSpecialIndexEXT,OpticalFlowExecuteFlagBitsNV,OpticalFlowGridSizeFlagBitsNV,OpticalFlowPerformanceLevelNV,OpticalFlowSessionBindingPointNV,OpticalFlowSessionCreateFlagBitsNV,OpticalFlowUsageFlagBitsNV,OutOfBandQueueTypeNV,PeerMemoryFeatureFlagBits,PerformanceConfigurationTypeINTEL,PerformanceCounterDescriptionFlagBitsKHR,PerformanceCounterScopeKHR,PerformanceCounterStorageKHR,PerformanceCounterUnitKHR,PerformanceOverrideTypeINTEL,PerformanceParameterTypeINTEL,PerformanceValueTypeINTEL,PhysicalDeviceLayeredApiKHR,PhysicalDeviceSchedulingControlsFlagBitsARM,PhysicalDeviceType,PipelineBindPoint,PipelineCacheCreateFlagBits,PipelineCacheHeaderVersion,PipelineColorBlendStateCreateFlagBits +//go:generate stringer -output=enum_string_5.go -type=PipelineCreateFlagBits,PipelineCreateFlagBits2KHR,PipelineCreationFeedbackFlagBits,PipelineDepthStencilStateCreateFlagBits,PipelineExecutableStatisticFormatKHR,PipelineLayoutCreateFlagBits,PipelineRobustnessBufferBehaviorEXT,PipelineRobustnessImageBehaviorEXT,PipelineShaderStageCreateFlagBits,PipelineStageFlagBits,PipelineStageFlagBits2,PointClippingBehavior,PolygonMode,PresentGravityFlagBitsEXT,PresentModeKHR,PresentScalingFlagBitsEXT,PrimitiveTopology,ProvokingVertexModeEXT,QueryControlFlagBits,QueryPipelineStatisticFlagBits,QueryPoolSamplingModeINTEL,QueryResultFlagBits,QueryResultStatusKHR,QueryType,QueueFlagBits,QueueGlobalPriorityKHR,RasterizationOrderAMD,RayTracingInvocationReorderModeNV,RayTracingShaderGroupTypeKHR,RenderPassCreateFlagBits,RenderingFlagBits +//go:generate stringer -output=enum_string_6.go -type=ResolveModeFlagBits,Result,SampleCountFlagBits,SamplerAddressMode,SamplerCreateFlagBits,SamplerMipmapMode,SamplerReductionMode,SamplerYcbcrModelConversion,SamplerYcbcrRange,ScopeKHR,SemaphoreImportFlagBits,SemaphoreType,SemaphoreWaitFlagBits,ShaderCodeTypeEXT,ShaderCreateFlagBitsEXT,ShaderFloatControlsIndependence,ShaderGroupShaderKHR,ShaderInfoTypeAMD,ShaderStageFlagBits,ShadingRatePaletteEntryNV,SharingMode,SparseImageFormatFlagBits,SparseMemoryBindFlagBits,StencilFaceFlagBits,StencilOp,StructureType,SubgroupFeatureFlagBits,SubmitFlagBits,SubpassContents,SubpassDescriptionFlagBits,SubpassMergeStatusEXT +//go:generate stringer -output=enum_string_7.go -type=SurfaceCounterFlagBitsEXT,SurfaceTransformFlagBitsKHR,SwapchainCreateFlagBitsKHR,SystemAllocationScope,TessellationDomainOrigin,TimeDomainKHR,ToolPurposeFlagBits,ValidationCacheHeaderVersionEXT,ValidationCheckEXT,ValidationFeatureDisableEXT,ValidationFeatureEnableEXT,VendorId,VertexInputRate,VideoCapabilityFlagBitsKHR,VideoChromaSubsamplingFlagBitsKHR,VideoCodecOperationFlagBitsKHR,VideoCodingControlFlagBitsKHR,VideoComponentBitDepthFlagBitsKHR,VideoDecodeCapabilityFlagBitsKHR,VideoDecodeH264PictureLayoutFlagBitsKHR,VideoDecodeUsageFlagBitsKHR,VideoEncodeCapabilityFlagBitsKHR,VideoEncodeContentFlagBitsKHR,VideoEncodeFeedbackFlagBitsKHR,VideoEncodeH264CapabilityFlagBitsKHR,VideoEncodeH264RateControlFlagBitsKHR,VideoEncodeH264StdFlagBitsKHR,VideoEncodeH265CapabilityFlagBitsKHR,VideoEncodeH265CtbSizeFlagBitsKHR,VideoEncodeH265RateControlFlagBitsKHR,VideoEncodeH265StdFlagBitsKHR +//go:generate stringer -output=enum_string_8.go -type=VideoEncodeH265TransformBlockSizeFlagBitsKHR,VideoEncodeRateControlModeFlagBitsKHR,VideoEncodeTuningModeKHR,VideoEncodeUsageFlagBitsKHR,VideoSessionCreateFlagBitsKHR,ViewportCoordinateSwizzleNV type AccelerationStructureBuildTypeKHR int32 const ( @@ -87,9 +89,9 @@ const ( ACCESS_COLOR_ATTACHMENT_READ_BIT AccessFlagBits = 1 << 7 ACCESS_COLOR_ATTACHMENT_WRITE_BIT AccessFlagBits = 1 << 8 ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT AccessFlagBits = 1 << 9 - ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT AccessFlagBits = 1000028000 - ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT AccessFlagBits = 1000028000 ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT AccessFlagBits = 1000028000 + ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT AccessFlagBits = 1000028000 + ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT AccessFlagBits = 1000028000 ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT AccessFlagBits = 1000081000 // read access flag for reading conditional rendering predicate ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT AccessFlagBits = 1000148000 ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR AccessFlagBits = 1000150000 @@ -128,26 +130,28 @@ const ( ACCESS_2_COLOR_ATTACHMENT_READ_BIT AccessFlagBits2 = 1 << 7 ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT AccessFlagBits2 = 1 << 8 ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT AccessFlagBits2 = 1 << 9 - ACCESS_2_VIDEO_DECODE_READ_BIT_KHR AccessFlagBits2 = 1000024000 ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR AccessFlagBits2 = 1000024000 + ACCESS_2_VIDEO_DECODE_READ_BIT_KHR AccessFlagBits2 = 1000024000 + ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR AccessFlagBits2 = 1000299000 + ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR AccessFlagBits2 = 1000299000 + ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT AccessFlagBits2 = 1000314000 + ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV AccessFlagBits2 = 1000314000 ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT AccessFlagBits2 = 1000314000 - ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR AccessFlagBits2 = 1000314000 + ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR AccessFlagBits2 = 1000314000 + ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT AccessFlagBits2 = 1000314000 + ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR AccessFlagBits2 = 1000314000 ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT AccessFlagBits2 = 1000314000 ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT AccessFlagBits2 = 1000314000 // read access flag for reading conditional rendering predicate - ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR AccessFlagBits2 = 1000314000 - ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV AccessFlagBits2 = 1000314000 ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT AccessFlagBits2 = 1000314000 - ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT AccessFlagBits2 = 1000314000 - ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT AccessFlagBits2 = 1000314000 - ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR AccessFlagBits2 = 1000314000 - ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV AccessFlagBits2 = 1000314000 + ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR AccessFlagBits2 = 1000314000 + ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV AccessFlagBits2 = 1000314000 ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT AccessFlagBits2 = 1000316000 ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI AccessFlagBits2 = 1000370000 ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR AccessFlagBits2 = 1000386000 - ACCESS_2_MICROMAP_WRITE_BIT_EXT AccessFlagBits2 = 1000396000 ACCESS_2_MICROMAP_READ_BIT_EXT AccessFlagBits2 = 1000396000 - ACCESS_2_OPTICAL_FLOW_READ_BIT_NV AccessFlagBits2 = 1000464000 + ACCESS_2_MICROMAP_WRITE_BIT_EXT AccessFlagBits2 = 1000396000 ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV AccessFlagBits2 = 1000464000 + ACCESS_2_OPTICAL_FLOW_READ_BIT_NV AccessFlagBits2 = 1000464000 ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_NV AccessFlagBits2 = ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_NV AccessFlagBits2 = ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR AccessFlagBits2 = ACCESS_2_COLOR_ATTACHMENT_READ_BIT @@ -177,6 +181,24 @@ const ( // AccessFlagBits2KHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAccessFlagBits2KHR.html type AccessFlagBits2KHR = AccessFlagBits2 type AcquireProfilingLockFlagBitsKHR = AcquireProfilingLockFlagsKHR + +// AntiLagModeAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAntiLagModeAMD.html +type AntiLagModeAMD int32 + +const ( + ANTI_LAG_MODE_DRIVER_CONTROL_AMD AntiLagModeAMD = 0 + ANTI_LAG_MODE_ON_AMD AntiLagModeAMD = 1 + ANTI_LAG_MODE_OFF_AMD AntiLagModeAMD = 2 +) + +// AntiLagStageAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAntiLagStageAMD.html +type AntiLagStageAMD int32 + +const ( + ANTI_LAG_STAGE_INPUT_AMD AntiLagStageAMD = 0 + ANTI_LAG_STAGE_PRESENT_AMD AntiLagStageAMD = 1 +) + type AttachmentDescriptionFlagBits = AttachmentDescriptionFlags const ( @@ -190,7 +212,8 @@ const ( ATTACHMENT_LOAD_OP_LOAD AttachmentLoadOp = 0 ATTACHMENT_LOAD_OP_CLEAR AttachmentLoadOp = 1 ATTACHMENT_LOAD_OP_DONT_CARE AttachmentLoadOp = 2 - ATTACHMENT_LOAD_OP_NONE_EXT AttachmentLoadOp = 1000400000 + ATTACHMENT_LOAD_OP_NONE_KHR AttachmentLoadOp = 1000526000 + ATTACHMENT_LOAD_OP_NONE_EXT AttachmentLoadOp = ATTACHMENT_LOAD_OP_NONE_KHR ) // AttachmentStoreOp: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAttachmentStoreOp.html @@ -200,9 +223,9 @@ const ( ATTACHMENT_STORE_OP_STORE AttachmentStoreOp = 0 ATTACHMENT_STORE_OP_DONT_CARE AttachmentStoreOp = 1 ATTACHMENT_STORE_OP_NONE AttachmentStoreOp = 1000301000 + ATTACHMENT_STORE_OP_NONE_KHR AttachmentStoreOp = ATTACHMENT_STORE_OP_NONE ATTACHMENT_STORE_OP_NONE_QCOM AttachmentStoreOp = ATTACHMENT_STORE_OP_NONE ATTACHMENT_STORE_OP_NONE_EXT AttachmentStoreOp = ATTACHMENT_STORE_OP_NONE - ATTACHMENT_STORE_OP_NONE_KHR AttachmentStoreOp = ATTACHMENT_STORE_OP_NONE ) // BlendFactor: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBlendFactor.html @@ -327,6 +350,7 @@ const ( BUFFER_CREATE_PROTECTED_BIT BufferCreateFlagBits = 1 << 3 BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT BufferCreateFlagBits = 1 << 4 BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT BufferCreateFlagBits = 1000316000 + BUFFER_CREATE_VIDEO_PROFILE_INDEPENDENT_BIT_KHR BufferCreateFlagBits = 1000515000 BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR BufferCreateFlagBits = BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT BufferCreateFlagBits = BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT ) @@ -346,11 +370,13 @@ const ( BUFFER_USAGE_INDIRECT_BUFFER_BIT BufferUsageFlagBits = 1 << 8 BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR BufferUsageFlagBits = 1000024000 BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR BufferUsageFlagBits = 1000024000 - BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT BufferUsageFlagBits = 1000028000 BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT BufferUsageFlagBits = 1000028000 + BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT BufferUsageFlagBits = 1000028000 BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT BufferUsageFlagBits = 1000081000 // Specifies the buffer can be used as predicate in conditional rendering BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR BufferUsageFlagBits = 1000150000 BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR BufferUsageFlagBits = 1000150000 + BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR BufferUsageFlagBits = 1000299000 + BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR BufferUsageFlagBits = 1000299000 BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits = 1000316000 BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits = 1000316000 BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits = 1000316000 @@ -374,22 +400,22 @@ const ( BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR BufferUsageFlagBits2KHR = 1 << 6 BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR BufferUsageFlagBits2KHR = 1 << 7 BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR BufferUsageFlagBits2KHR = 1 << 8 - BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 - BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT BufferUsageFlagBits2KHR = 1000470000 + BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR BufferUsageFlagBits2KHR = 1000470000 BUFFER_USAGE_2_RAY_TRACING_BIT_NV BufferUsageFlagBits2KHR = BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR ) @@ -402,9 +428,9 @@ const ( BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR BuildAccelerationStructureFlagBitsKHR = 1 << 3 BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR BuildAccelerationStructureFlagBitsKHR = 1 << 4 BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV BuildAccelerationStructureFlagBitsKHR = 1000327000 + BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT BuildAccelerationStructureFlagBitsKHR = 1000396000 BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT BuildAccelerationStructureFlagBitsKHR = 1000396000 BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT BuildAccelerationStructureFlagBitsKHR = 1000396000 - BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT BuildAccelerationStructureFlagBitsKHR = 1000396000 BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR BuildAccelerationStructureFlagBitsKHR = 1000481000 BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_NV BuildAccelerationStructureFlagBitsKHR = BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_NV BuildAccelerationStructureFlagBitsKHR = BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR @@ -726,8 +752,8 @@ const ( DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT DebugReportObjectTypeEXT = 1000150000 DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT DebugReportObjectTypeEXT = 1000156000 DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT DebugReportObjectTypeEXT = 1000165000 - DEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV DebugReportObjectTypeEXT = 1000307000 - DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV DebugReportObjectTypeEXT = 1000307001 + DEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV_EXT DebugReportObjectTypeEXT = 1000307000 + DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV_EXT DebugReportObjectTypeEXT = 1000307001 DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT DebugReportObjectTypeEXT = DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT DebugReportObjectTypeEXT = DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR_EXT DebugReportObjectTypeEXT = DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT @@ -793,8 +819,8 @@ const ( DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT DescriptorPoolCreateFlagBits = 1 << 0 DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT DescriptorPoolCreateFlagBits = 1 << 1 DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT DescriptorPoolCreateFlagBits = 1000494000 - DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV DescriptorPoolCreateFlagBits = 1000546000 DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV DescriptorPoolCreateFlagBits = 1000546000 + DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV DescriptorPoolCreateFlagBits = 1000546000 DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_VALVE DescriptorPoolCreateFlagBits = DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT DescriptorPoolCreateFlagBits = DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT ) @@ -804,10 +830,11 @@ type DescriptorSetLayoutCreateFlagBits = DescriptorSetLayoutCreateFlags const ( DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT DescriptorSetLayoutCreateFlagBits = 1 << 1 DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR DescriptorSetLayoutCreateFlagBits = 1000080000 // Descriptors are pushed via flink:vkCmdPushDescriptorSetKHR - DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT DescriptorSetLayoutCreateFlagBits = 1000316000 DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT DescriptorSetLayoutCreateFlagBits = 1000316000 + DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT DescriptorSetLayoutCreateFlagBits = 1000316000 DESCRIPTOR_SET_LAYOUT_CREATE_INDIRECT_BINDABLE_BIT_NV DescriptorSetLayoutCreateFlagBits = 1000428000 DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXT DescriptorSetLayoutCreateFlagBits = 1000494000 + DESCRIPTOR_SET_LAYOUT_CREATE_PER_STAGE_BIT_NV DescriptorSetLayoutCreateFlagBits = 1000516000 DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE DescriptorSetLayoutCreateFlagBits = DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXT DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT DescriptorSetLayoutCreateFlagBits = DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT ) @@ -994,7 +1021,8 @@ const ( DRIVER_ID_MESA_DOZEN DriverId = 23 // Mesa open source project DRIVER_ID_MESA_NVK DriverId = 24 // Mesa open source project DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA DriverId = 25 // Imagination Technologies - DRIVER_ID_MESA_AGXV DriverId = 26 // Mesa open source project + DRIVER_ID_MESA_HONEYKRISP DriverId = 26 // Mesa open source project + DRIVER_ID_RESERVED_27 DriverId = 27 // Reserved for undisclosed driver project DRIVER_ID_AMD_OPEN_SOURCE_KHR DriverId = DRIVER_ID_AMD_OPEN_SOURCE DRIVER_ID_AMD_PROPRIETARY_KHR DriverId = DRIVER_ID_AMD_PROPRIETARY DRIVER_ID_ARM_PROPRIETARY_KHR DriverId = DRIVER_ID_ARM_PROPRIETARY @@ -1035,7 +1063,6 @@ const ( DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NV DynamicState = 1000205000 DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV DynamicState = 1000205001 DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR DynamicState = 1000226000 - DYNAMIC_STATE_LINE_STIPPLE_EXT DynamicState = 1000259000 DYNAMIC_STATE_CULL_MODE DynamicState = 1000267000 DYNAMIC_STATE_FRONT_FACE DynamicState = 1000267001 DYNAMIC_STATE_PRIMITIVE_TOPOLOGY DynamicState = 1000267002 @@ -1088,6 +1115,7 @@ const ( DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NV DynamicState = 1000455031 DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NV DynamicState = 1000455032 DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT DynamicState = 1000524000 + DYNAMIC_STATE_LINE_STIPPLE_KHR DynamicState = 1000534000 DYNAMIC_STATE_CULL_MODE_EXT DynamicState = DYNAMIC_STATE_CULL_MODE DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT DynamicState = DYNAMIC_STATE_DEPTH_BIAS_ENABLE DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT DynamicState = DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE @@ -1095,6 +1123,7 @@ const ( DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT DynamicState = DYNAMIC_STATE_DEPTH_TEST_ENABLE DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT DynamicState = DYNAMIC_STATE_DEPTH_WRITE_ENABLE DYNAMIC_STATE_FRONT_FACE_EXT DynamicState = DYNAMIC_STATE_FRONT_FACE + DYNAMIC_STATE_LINE_STIPPLE_EXT DynamicState = DYNAMIC_STATE_LINE_STIPPLE_KHR DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT DynamicState = DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT DynamicState = DYNAMIC_STATE_PRIMITIVE_TOPOLOGY DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT DynamicState = DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE @@ -1170,8 +1199,8 @@ const ( EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT ExternalMemoryHandleTypeFlagBits = 1 << 5 EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT ExternalMemoryHandleTypeFlagBits = 1 << 6 EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT ExternalMemoryHandleTypeFlagBits = 1000125000 - EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT ExternalMemoryHandleTypeFlagBits = 1000178000 EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT ExternalMemoryHandleTypeFlagBits = 1000178000 + EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT ExternalMemoryHandleTypeFlagBits = 1000178000 EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV ExternalMemoryHandleTypeFlagBits = 1000371000 EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT_KHR ExternalMemoryHandleTypeFlagBits = EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT_KHR ExternalMemoryHandleTypeFlagBits = EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT @@ -1212,8 +1241,8 @@ const ( EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT ExternalSemaphoreHandleTypeFlagBits = 1 << 2 EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT ExternalSemaphoreHandleTypeFlagBits = 1 << 3 EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT ExternalSemaphoreHandleTypeFlagBits = 1 << 4 - EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT ExternalSemaphoreHandleTypeFlagBits = EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT_KHR ExternalSemaphoreHandleTypeFlagBits = EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT + EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT ExternalSemaphoreHandleTypeFlagBits = EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR ExternalSemaphoreHandleTypeFlagBits = EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR ExternalSemaphoreHandleTypeFlagBits = EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR ExternalSemaphoreHandleTypeFlagBits = EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT @@ -1499,7 +1528,7 @@ const ( FORMAT_G16_B16R16_2PLANE_444_UNORM Format = 1000330003 FORMAT_A4R4G4B4_UNORM_PACK16 Format = 1000340000 FORMAT_A4B4G4R4_UNORM_PACK16 Format = 1000340001 - FORMAT_R16G16_S10_5_NV Format = 1000464000 + FORMAT_R16G16_SFIXED5_NV Format = 1000464000 FORMAT_A1B5G5R5_UNORM_PACK16_KHR Format = 1000470000 FORMAT_A8_UNORM_KHR Format = 1000470001 FORMAT_A4B4G4R4_UNORM_PACK16_EXT Format = FORMAT_A4B4G4R4_UNORM_PACK16 @@ -1556,6 +1585,7 @@ const ( FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR Format = FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16 FORMAT_R12X4G12X4_UNORM_2PACK16_KHR Format = FORMAT_R12X4G12X4_UNORM_2PACK16 FORMAT_R12X4_UNORM_PACK16_KHR Format = FORMAT_R12X4_UNORM_PACK16 + FORMAT_R16G16_S10_5_NV Format = FORMAT_R16G16_SFIXED5_NV ) type FormatFeatureFlagBits = FormatFeatureFlags @@ -1590,6 +1620,8 @@ const ( FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT FormatFeatureFlagBits = 1000170000 FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT FormatFeatureFlagBits = 1000218000 FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR FormatFeatureFlagBits = 1000226000 + FORMAT_FEATURE_VIDEO_ENCODE_INPUT_BIT_KHR FormatFeatureFlagBits = 1000299000 + FORMAT_FEATURE_VIDEO_ENCODE_DPB_BIT_KHR FormatFeatureFlagBits = 1000299000 FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT_KHR FormatFeatureFlagBits = FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT FORMAT_FEATURE_DISJOINT_BIT_KHR FormatFeatureFlagBits = FORMAT_FEATURE_DISJOINT_BIT FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT_KHR FormatFeatureFlagBits = FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT @@ -1639,14 +1671,16 @@ const ( FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXT FormatFeatureFlagBits2 = 1000218000 FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR FormatFeatureFlagBits2 = 1000226000 FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BIT_EXT FormatFeatureFlagBits2 = 1000270000 // Host image copies are supported + FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR FormatFeatureFlagBits2 = 1000299000 + FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHR FormatFeatureFlagBits2 = 1000299000 FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV FormatFeatureFlagBits2 = 1000430000 // Format support linear image as render target, it cannot be mixed with non linear attachment + FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM FormatFeatureFlagBits2 = 1000440000 FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM FormatFeatureFlagBits2 = 1000440000 FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM FormatFeatureFlagBits2 = 1000440000 FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM FormatFeatureFlagBits2 = 1000440000 - FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM FormatFeatureFlagBits2 = 1000440000 - FORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NV FormatFeatureFlagBits2 = 1000464000 - FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV FormatFeatureFlagBits2 = 1000464000 FORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NV FormatFeatureFlagBits2 = 1000464000 + FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV FormatFeatureFlagBits2 = 1000464000 + FORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NV FormatFeatureFlagBits2 = 1000464000 FORMAT_FEATURE_2_BLIT_DST_BIT_KHR FormatFeatureFlagBits2 = FORMAT_FEATURE_2_BLIT_DST_BIT FORMAT_FEATURE_2_BLIT_SRC_BIT_KHR FormatFeatureFlagBits2 = FORMAT_FEATURE_2_BLIT_SRC_BIT FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT_KHR FormatFeatureFlagBits2 = FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT @@ -1806,10 +1840,10 @@ const ( IMAGE_ASPECT_PLANE_0_BIT ImageAspectFlagBits = 1 << 4 IMAGE_ASPECT_PLANE_1_BIT ImageAspectFlagBits = 1 << 5 IMAGE_ASPECT_PLANE_2_BIT ImageAspectFlagBits = 1 << 6 - IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT ImageAspectFlagBits = 1000158000 IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT ImageAspectFlagBits = 1000158000 - IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT ImageAspectFlagBits = 1000158000 IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT ImageAspectFlagBits = 1000158000 + IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT ImageAspectFlagBits = 1000158000 + IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT ImageAspectFlagBits = 1000158000 IMAGE_ASPECT_NONE_KHR ImageAspectFlagBits = IMAGE_ASPECT_NONE IMAGE_ASPECT_PLANE_0_BIT_KHR ImageAspectFlagBits = IMAGE_ASPECT_PLANE_0_BIT IMAGE_ASPECT_PLANE_1_BIT_KHR ImageAspectFlagBits = IMAGE_ASPECT_PLANE_1_BIT @@ -1877,6 +1911,7 @@ const ( IMAGE_CREATE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_BIT_EXT ImageCreateFlagBits = 1000376000 IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT ImageCreateFlagBits = 1000393000 // Image is created with a layout where individual slices are capable of being used as 2D images IMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM ImageCreateFlagBits = 1000425000 + IMAGE_CREATE_VIDEO_PROFILE_INDEPENDENT_BIT_KHR ImageCreateFlagBits = 1000515000 IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR ImageCreateFlagBits = IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT IMAGE_CREATE_ALIAS_BIT_KHR ImageCreateFlagBits = IMAGE_CREATE_ALIAS_BIT IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR ImageCreateFlagBits = IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT @@ -1907,10 +1942,14 @@ const ( IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL ImageLayout = 1000117001 IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT ImageLayout = 1000218000 IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR ImageLayout = 1000226003 + IMAGE_LAYOUT_RENDERING_LOCAL_READ_KHR ImageLayout = 1000232000 IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL ImageLayout = 1000241000 IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL ImageLayout = 1000241001 IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL ImageLayout = 1000241002 IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL ImageLayout = 1000241003 + IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR ImageLayout = 1000299000 + IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR ImageLayout = 1000299001 + IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR ImageLayout = 1000299002 IMAGE_LAYOUT_READ_ONLY_OPTIMAL ImageLayout = 1000314000 IMAGE_LAYOUT_ATTACHMENT_OPTIMAL ImageLayout = 1000314001 IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT ImageLayout = 1000339000 @@ -1955,15 +1994,18 @@ const ( IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT ImageUsageFlagBits = 1 << 6 IMAGE_USAGE_INPUT_ATTACHMENT_BIT ImageUsageFlagBits = 1 << 7 IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR ImageUsageFlagBits = 1000024000 - IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR ImageUsageFlagBits = 1000024000 IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR ImageUsageFlagBits = 1000024000 + IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR ImageUsageFlagBits = 1000024000 IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT ImageUsageFlagBits = 1000218000 IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR ImageUsageFlagBits = 1000226000 IMAGE_USAGE_HOST_TRANSFER_BIT_EXT ImageUsageFlagBits = 1000270000 // Can be used with host image copies + IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR ImageUsageFlagBits = 1000299000 + IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR ImageUsageFlagBits = 1000299000 + IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR ImageUsageFlagBits = 1000299000 IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT ImageUsageFlagBits = 1000339000 IMAGE_USAGE_INVOCATION_MASK_BIT_HUAWEI ImageUsageFlagBits = 1000370000 - IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM ImageUsageFlagBits = 1000440000 IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM ImageUsageFlagBits = 1000440000 + IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM ImageUsageFlagBits = 1000440000 IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV ImageUsageFlagBits = IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR ) @@ -1995,8 +2037,9 @@ const ( INDEX_TYPE_UINT16 IndexType = 0 INDEX_TYPE_UINT32 IndexType = 1 INDEX_TYPE_NONE_KHR IndexType = 1000150000 - INDEX_TYPE_UINT8_EXT IndexType = 1000265000 + INDEX_TYPE_UINT8_KHR IndexType = 1000533000 INDEX_TYPE_NONE_NV IndexType = INDEX_TYPE_NONE_KHR + INDEX_TYPE_UINT8_EXT IndexType = INDEX_TYPE_UINT8_KHR ) type IndirectCommandsLayoutUsageFlagBitsNV = IndirectCommandsLayoutUsageFlagsNV @@ -2061,6 +2104,20 @@ const ( LATENCY_MARKER_OUT_OF_BAND_PRESENT_END_NV LatencyMarkerNV = 11 ) +// LayerSettingTypeEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLayerSettingTypeEXT.html +type LayerSettingTypeEXT int32 + +const ( + LAYER_SETTING_TYPE_BOOL32_EXT LayerSettingTypeEXT = 0 + LAYER_SETTING_TYPE_INT32_EXT LayerSettingTypeEXT = 1 + LAYER_SETTING_TYPE_INT64_EXT LayerSettingTypeEXT = 2 + LAYER_SETTING_TYPE_UINT32_EXT LayerSettingTypeEXT = 3 + LAYER_SETTING_TYPE_UINT64_EXT LayerSettingTypeEXT = 4 + LAYER_SETTING_TYPE_FLOAT32_EXT LayerSettingTypeEXT = 5 + LAYER_SETTING_TYPE_FLOAT64_EXT LayerSettingTypeEXT = 6 + LAYER_SETTING_TYPE_STRING_EXT LayerSettingTypeEXT = 7 +) + // LayeredDriverUnderlyingApiMSFT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLayeredDriverUnderlyingApiMSFT.html type LayeredDriverUnderlyingApiMSFT int32 @@ -2070,13 +2127,20 @@ const ( ) // LineRasterizationModeEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLineRasterizationModeEXT.html -type LineRasterizationModeEXT int32 +type LineRasterizationModeEXT = LineRasterizationModeKHR + +// LineRasterizationModeKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLineRasterizationModeKHR.html +type LineRasterizationModeKHR int32 const ( - LINE_RASTERIZATION_MODE_DEFAULT_EXT LineRasterizationModeEXT = 0 - LINE_RASTERIZATION_MODE_RECTANGULAR_EXT LineRasterizationModeEXT = 1 - LINE_RASTERIZATION_MODE_BRESENHAM_EXT LineRasterizationModeEXT = 2 - LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT LineRasterizationModeEXT = 3 + LINE_RASTERIZATION_MODE_DEFAULT_KHR LineRasterizationModeKHR = 0 + LINE_RASTERIZATION_MODE_RECTANGULAR_KHR LineRasterizationModeKHR = 1 + LINE_RASTERIZATION_MODE_BRESENHAM_KHR LineRasterizationModeKHR = 2 + LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_KHR LineRasterizationModeKHR = 3 + LINE_RASTERIZATION_MODE_BRESENHAM_EXT LineRasterizationModeKHR = LINE_RASTERIZATION_MODE_BRESENHAM_KHR + LINE_RASTERIZATION_MODE_DEFAULT_EXT LineRasterizationModeKHR = LINE_RASTERIZATION_MODE_DEFAULT_KHR + LINE_RASTERIZATION_MODE_RECTANGULAR_EXT LineRasterizationModeKHR = LINE_RASTERIZATION_MODE_RECTANGULAR_KHR + LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT LineRasterizationModeKHR = LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_KHR ) // LogicOp: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLogicOp.html @@ -2128,6 +2192,12 @@ const ( MEMORY_HEAP_MULTI_INSTANCE_BIT_KHR MemoryHeapFlagBits = MEMORY_HEAP_MULTI_INSTANCE_BIT ) +type MemoryMapFlagBits = MemoryMapFlags + +const ( + MEMORY_MAP_PLACED_BIT_EXT MemoryMapFlagBits = 1000272000 +) + // MemoryOverallocationBehaviorAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMemoryOverallocationBehaviorAMD.html type MemoryOverallocationBehaviorAMD int32 @@ -2151,6 +2221,12 @@ const ( MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV MemoryPropertyFlagBits = 1000371000 ) +type MemoryUnmapFlagBitsKHR = MemoryUnmapFlagsKHR + +const ( + MEMORY_UNMAP_RESERVE_BIT_EXT MemoryUnmapFlagBitsKHR = 1000272000 +) + type MicromapCreateFlagBitsEXT = MicromapCreateFlagsEXT const ( @@ -2411,6 +2487,17 @@ const ( PERFORMANCE_VALUE_TYPE_STRING_INTEL PerformanceValueTypeINTEL = 4 ) +// PhysicalDeviceLayeredApiKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLayeredApiKHR.html +type PhysicalDeviceLayeredApiKHR int32 + +const ( + PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR PhysicalDeviceLayeredApiKHR = 0 + PHYSICAL_DEVICE_LAYERED_API_D3D12_KHR PhysicalDeviceLayeredApiKHR = 1 + PHYSICAL_DEVICE_LAYERED_API_METAL_KHR PhysicalDeviceLayeredApiKHR = 2 + PHYSICAL_DEVICE_LAYERED_API_OPENGL_KHR PhysicalDeviceLayeredApiKHR = 3 + PHYSICAL_DEVICE_LAYERED_API_OPENGLES_KHR PhysicalDeviceLayeredApiKHR = 4 +) + type PhysicalDeviceSchedulingControlsFlagBitsARM = PhysicalDeviceSchedulingControlsFlagsARM const ( @@ -2471,11 +2558,11 @@ const ( PIPELINE_CREATE_DISPATCH_BASE_BIT PipelineCreateFlagBits = 1 << 4 PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT PipelineCreateFlagBits = 1 << 8 PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT PipelineCreateFlagBits = 1 << 9 - PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR PipelineCreateFlagBits = 1000044000 PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT PipelineCreateFlagBits = 1000044000 + PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR PipelineCreateFlagBits = 1000044000 PIPELINE_CREATE_DEFER_COMPILE_BIT_NV PipelineCreateFlagBits = 1000165000 - PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR PipelineCreateFlagBits = 1000269000 PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR PipelineCreateFlagBits = 1000269000 + PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR PipelineCreateFlagBits = 1000269000 PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV PipelineCreateFlagBits = 1000277000 PIPELINE_CREATE_LIBRARY_BIT_KHR PipelineCreateFlagBits = 1000290000 PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT PipelineCreateFlagBits = 1000316000 @@ -2485,12 +2572,12 @@ const ( PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT PipelineCreateFlagBits = 1000339000 PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT PipelineCreateFlagBits = 1000339000 PIPELINE_CREATE_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR PipelineCreateFlagBits = 1000347000 - PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR PipelineCreateFlagBits = 1000347000 + PIPELINE_CREATE_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR PipelineCreateFlagBits = 1000347000 + PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR PipelineCreateFlagBits = 1000347000 PIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR PipelineCreateFlagBits = 1000347000 PIPELINE_CREATE_RAY_TRACING_SKIP_AABBS_BIT_KHR PipelineCreateFlagBits = 1000347000 - PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR PipelineCreateFlagBits = 1000347000 - PIPELINE_CREATE_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR PipelineCreateFlagBits = 1000347000 PIPELINE_CREATE_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR PipelineCreateFlagBits = 1000347000 + PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR PipelineCreateFlagBits = 1000347000 PIPELINE_CREATE_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT PipelineCreateFlagBits = 1000396000 PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT PipelineCreateFlagBits = 1000466000 PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT PipelineCreateFlagBits = 1000466000 @@ -2509,34 +2596,35 @@ const ( PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT_KHR PipelineCreateFlagBits2KHR = 1 << 0 PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR PipelineCreateFlagBits2KHR = 1 << 1 PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR PipelineCreateFlagBits2KHR = 1 << 2 - PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT PipelineCreateFlagBits2KHR = 1000465000 + PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV PipelineCreateFlagBits2KHR = 1000470000 PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_LIBRARY_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_NV PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_NV PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_NV PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 PIPELINE_CREATE_2_DEFER_COMPILE_BIT_NV PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT PipelineCreateFlagBits2KHR = 1000470000 - PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 + PIPELINE_CREATE_2_LIBRARY_BIT_KHR PipelineCreateFlagBits2KHR = 1000470000 ) type PipelineCreationFeedbackFlagBits = PipelineCreationFeedbackFlags @@ -2633,8 +2721,8 @@ const ( PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT PipelineStageFlagBits = 1000218000 PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR PipelineStageFlagBits = 1000226000 PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV PipelineStageFlagBits = 1000277000 - PIPELINE_STAGE_TASK_SHADER_BIT_EXT PipelineStageFlagBits = 1000328000 PIPELINE_STAGE_MESH_SHADER_BIT_EXT PipelineStageFlagBits = 1000328000 + PIPELINE_STAGE_TASK_SHADER_BIT_EXT PipelineStageFlagBits = 1000328000 PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR PipelineStageFlagBits = 1000347000 PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV PipelineStageFlagBits = PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV PipelineStageFlagBits = PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR @@ -2673,15 +2761,16 @@ const ( PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT PipelineStageFlagBits2 = 1 << 8 PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT PipelineStageFlagBits2 = 1 << 9 PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR PipelineStageFlagBits2 = 1000024000 - PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR PipelineStageFlagBits2 = 1000314000 - PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT PipelineStageFlagBits2 = 1000314000 + PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR PipelineStageFlagBits2 = 1000299000 PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR PipelineStageFlagBits2 = 1000314000 - PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT PipelineStageFlagBits2 = 1000314000 - PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR PipelineStageFlagBits2 = 1000314000 - PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV PipelineStageFlagBits2 = 1000314000 - PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT PipelineStageFlagBits2 = 1000314000 + PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT PipelineStageFlagBits2 = 1000314000 PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT PipelineStageFlagBits2 = 1000314000 // A pipeline stage for conditional rendering predicate fetch + PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV PipelineStageFlagBits2 = 1000314000 PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT PipelineStageFlagBits2 = 1000314000 + PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR PipelineStageFlagBits2 = 1000314000 + PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT PipelineStageFlagBits2 = 1000314000 + PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT PipelineStageFlagBits2 = 1000314000 + PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR PipelineStageFlagBits2 = 1000314000 PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI PipelineStageFlagBits2 = 1000369000 PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI PipelineStageFlagBits2 = 1000370000 PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR PipelineStageFlagBits2 = 1000386000 @@ -2691,8 +2780,8 @@ const ( PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_NV PipelineStageFlagBits2 = PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR PipelineStageFlagBits2 = PIPELINE_STAGE_2_ALL_COMMANDS_BIT PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR PipelineStageFlagBits2 = PIPELINE_STAGE_2_ALL_GRAPHICS_BIT - PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR PipelineStageFlagBits2 = PIPELINE_STAGE_2_ALL_TRANSFER_BIT PIPELINE_STAGE_2_TRANSFER_BIT_KHR PipelineStageFlagBits2 = PIPELINE_STAGE_2_ALL_TRANSFER_BIT + PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR PipelineStageFlagBits2 = PIPELINE_STAGE_2_ALL_TRANSFER_BIT PIPELINE_STAGE_2_TRANSFER_BIT PipelineStageFlagBits2 = PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR PIPELINE_STAGE_2_BLIT_BIT_KHR PipelineStageFlagBits2 = PIPELINE_STAGE_2_BLIT_BIT PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR PipelineStageFlagBits2 = PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT @@ -2822,8 +2911,8 @@ const ( QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT QueryPipelineStatisticFlagBits = 1 << 7 QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT QueryPipelineStatisticFlagBits = 1 << 8 QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT QueryPipelineStatisticFlagBits = 1 << 9 - QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXT QueryPipelineStatisticFlagBits = 1000328000 QUERY_PIPELINE_STATISTIC_MESH_SHADER_INVOCATIONS_BIT_EXT QueryPipelineStatisticFlagBits = 1000328000 + QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXT QueryPipelineStatisticFlagBits = 1000328000 QUERY_PIPELINE_STATISTIC_CLUSTER_CULLING_SHADER_INVOCATIONS_BIT_HUAWEI QueryPipelineStatisticFlagBits = 1000404000 ) @@ -2848,9 +2937,10 @@ const ( type QueryResultStatusKHR int32 const ( - QUERY_RESULT_STATUS_ERROR_KHR QueryResultStatusKHR = -1 - QUERY_RESULT_STATUS_NOT_READY_KHR QueryResultStatusKHR = 0 - QUERY_RESULT_STATUS_COMPLETE_KHR QueryResultStatusKHR = 1 + QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR QueryResultStatusKHR = -1000299000 + QUERY_RESULT_STATUS_ERROR_KHR QueryResultStatusKHR = -1 + QUERY_RESULT_STATUS_NOT_READY_KHR QueryResultStatusKHR = 0 + QUERY_RESULT_STATUS_COMPLETE_KHR QueryResultStatusKHR = 1 ) // QueryType: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueryType.html @@ -2867,6 +2957,7 @@ const ( QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR QueryType = 1000150001 QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV QueryType = 1000165000 QUERY_TYPE_PERFORMANCE_QUERY_INTEL QueryType = 1000210000 + QUERY_TYPE_VIDEO_ENCODE_FEEDBACK_KHR QueryType = 1000299000 QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT QueryType = 1000328000 QUERY_TYPE_PRIMITIVES_GENERATED_EXT QueryType = 1000382000 QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR QueryType = 1000386000 @@ -2884,6 +2975,7 @@ const ( QUEUE_SPARSE_BINDING_BIT QueueFlagBits = 1 << 3 QUEUE_PROTECTED_BIT QueueFlagBits = 1 << 4 QUEUE_VIDEO_DECODE_BIT_KHR QueueFlagBits = 1000024000 + QUEUE_VIDEO_ENCODE_BIT_KHR QueueFlagBits = 1000299000 QUEUE_OPTICAL_FLOW_BIT_NV QueueFlagBits = 1000464000 ) @@ -2947,8 +3039,9 @@ const ( RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT RenderingFlagBits = 1 << 0 RENDERING_SUSPENDING_BIT RenderingFlagBits = 1 << 1 RENDERING_RESUMING_BIT RenderingFlagBits = 1 << 2 - RENDERING_CONTENTS_INLINE_BIT_EXT RenderingFlagBits = 1000451000 RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT RenderingFlagBits = 1000465000 + RENDERING_CONTENTS_INLINE_BIT_KHR RenderingFlagBits = 1000562000 // Promoted from extension 452 + RENDERING_CONTENTS_INLINE_BIT_EXT RenderingFlagBits = RENDERING_CONTENTS_INLINE_BIT_KHR RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR RenderingFlagBits = RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT RENDERING_RESUMING_BIT_KHR RenderingFlagBits = RENDERING_RESUMING_BIT RENDERING_SUSPENDING_BIT_KHR RenderingFlagBits = RENDERING_SUSPENDING_BIT @@ -2982,6 +3075,7 @@ var SUCCESS error = nil const ( ERROR_COMPRESSION_EXHAUSTED_EXT Result = -1000338000 + ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR Result = -1000299000 ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS Result = -1000257000 ERROR_NOT_PERMITTED_KHR Result = -1000188001 ERROR_FRAGMENTATION Result = -1000161000 @@ -3024,16 +3118,17 @@ const ( OPERATION_DEFERRED_KHR Result = 1000268002 OPERATION_NOT_DEFERRED_KHR Result = 1000268003 PIPELINE_COMPILE_REQUIRED Result = 1000297000 - ERROR_INCOMPATIBLE_SHADER_BINARY_EXT Result = 1000482000 + INCOMPATIBLE_SHADER_BINARY_EXT Result = 1000482000 ERROR_FRAGMENTATION_EXT Result = ERROR_FRAGMENTATION ERROR_INVALID_EXTERNAL_HANDLE_KHR Result = ERROR_INVALID_EXTERNAL_HANDLE - ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR Result = ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS ERROR_INVALID_DEVICE_ADDRESS_EXT Result = ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS + ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR Result = ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS ERROR_NOT_PERMITTED_EXT Result = ERROR_NOT_PERMITTED_KHR ERROR_OUT_OF_POOL_MEMORY_KHR Result = ERROR_OUT_OF_POOL_MEMORY ERROR_VALIDATION_FAILED_EXT Result = ERROR_VALIDATION_FAILED - PIPELINE_COMPILE_REQUIRED_EXT Result = PIPELINE_COMPILE_REQUIRED + ERROR_INCOMPATIBLE_SHADER_BINARY_EXT Result = INCOMPATIBLE_SHADER_BINARY_EXT ERROR_PIPELINE_COMPILE_REQUIRED_EXT Result = PIPELINE_COMPILE_REQUIRED + PIPELINE_COMPILE_REQUIRED_EXT Result = PIPELINE_COMPILE_REQUIRED ) type SampleCountFlagBits = SampleCountFlags @@ -3187,12 +3282,12 @@ type ShaderCreateFlagBitsEXT = ShaderCreateFlagsEXT const ( SHADER_CREATE_LINK_STAGE_BIT_EXT ShaderCreateFlagBitsEXT = 1 << 0 - SHADER_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 - SHADER_CREATE_DISPATCH_BASE_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 + SHADER_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 SHADER_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 SHADER_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 - SHADER_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 + SHADER_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 SHADER_CREATE_NO_TASK_SHADER_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 + SHADER_CREATE_DISPATCH_BASE_BIT_EXT ShaderCreateFlagBitsEXT = 1000482000 ) // ShaderFloatControlsIndependence: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkShaderFloatControlsIndependence.html @@ -3240,14 +3335,14 @@ const ( SHADER_STAGE_GEOMETRY_BIT ShaderStageFlagBits = 1 << 3 SHADER_STAGE_FRAGMENT_BIT ShaderStageFlagBits = 1 << 4 SHADER_STAGE_COMPUTE_BIT ShaderStageFlagBits = 1 << 5 - SHADER_STAGE_TASK_BIT_EXT ShaderStageFlagBits = 1000328000 SHADER_STAGE_MESH_BIT_EXT ShaderStageFlagBits = 1000328000 + SHADER_STAGE_TASK_BIT_EXT ShaderStageFlagBits = 1000328000 SHADER_STAGE_CALLABLE_BIT_KHR ShaderStageFlagBits = 1000347000 - SHADER_STAGE_RAYGEN_BIT_KHR ShaderStageFlagBits = 1000347000 SHADER_STAGE_INTERSECTION_BIT_KHR ShaderStageFlagBits = 1000347000 + SHADER_STAGE_CLOSEST_HIT_BIT_KHR ShaderStageFlagBits = 1000347000 + SHADER_STAGE_RAYGEN_BIT_KHR ShaderStageFlagBits = 1000347000 SHADER_STAGE_ANY_HIT_BIT_KHR ShaderStageFlagBits = 1000347000 SHADER_STAGE_MISS_BIT_KHR ShaderStageFlagBits = 1000347000 - SHADER_STAGE_CLOSEST_HIT_BIT_KHR ShaderStageFlagBits = 1000347000 SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI ShaderStageFlagBits = 1000369000 SHADER_STAGE_CLUSTER_CULLING_BIT_HUAWEI ShaderStageFlagBits = 1000404000 SHADER_STAGE_ANY_HIT_BIT_NV ShaderStageFlagBits = SHADER_STAGE_ANY_HIT_BIT_KHR @@ -3421,6 +3516,34 @@ const ( STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX StructureType = 1000029002 STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX StructureType = 1000030000 STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX StructureType = 1000030001 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_KHR StructureType = 1000038000 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR StructureType = 1000038001 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR StructureType = 1000038002 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_PICTURE_INFO_KHR StructureType = 1000038003 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR StructureType = 1000038004 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_KHR StructureType = 1000038005 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_GOP_REMAINING_FRAME_INFO_KHR StructureType = 1000038006 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_INFO_KHR StructureType = 1000038007 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_INFO_KHR StructureType = 1000038008 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_KHR StructureType = 1000038009 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_KHR StructureType = 1000038010 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR StructureType = 1000038011 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR StructureType = 1000038012 + STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_FEEDBACK_INFO_KHR StructureType = 1000038013 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_KHR StructureType = 1000039000 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR StructureType = 1000039001 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR StructureType = 1000039002 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_PICTURE_INFO_KHR StructureType = 1000039003 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_KHR StructureType = 1000039004 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_KHR StructureType = 1000039005 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_GOP_REMAINING_FRAME_INFO_KHR StructureType = 1000039006 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_INFO_KHR StructureType = 1000039007 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_INFO_KHR StructureType = 1000039009 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_KHR StructureType = 1000039010 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_KHR StructureType = 1000039011 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_QUALITY_LEVEL_PROPERTIES_KHR StructureType = 1000039012 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR StructureType = 1000039013 + STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_FEEDBACK_INFO_KHR StructureType = 1000039014 STRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_KHR StructureType = 1000040000 STRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_KHR StructureType = 1000040001 STRUCTURE_TYPE_VIDEO_DECODE_H264_PROFILE_INFO_KHR StructureType = 1000040003 @@ -3656,7 +3779,6 @@ const ( STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES StructureType = 1000180000 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR StructureType = 1000181000 STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD StructureType = 1000183000 - STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT StructureType = 1000184000 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD StructureType = 1000185000 STRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_KHR StructureType = 1000187000 STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR StructureType = 1000187001 @@ -3664,13 +3786,11 @@ const ( STRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_INFO_KHR StructureType = 1000187003 STRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_KHR StructureType = 1000187004 STRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR StructureType = 1000187005 - STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR StructureType = 1000188000 STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR StructureType = 1000188000 + STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR StructureType = 1000188000 STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR StructureType = 1000188001 STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD StructureType = 1000189000 STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT StructureType = 1000190000 - STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT StructureType = 1000190001 - STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT StructureType = 1000190002 STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO StructureType = 1000192000 STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES StructureType = 1000196000 STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES StructureType = 1000197000 @@ -3716,7 +3836,11 @@ const ( STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR StructureType = 1000226004 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD StructureType = 1000227000 STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD StructureType = 1000229000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR StructureType = 1000232000 + STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO_KHR StructureType = 1000232001 + STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR StructureType = 1000232002 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT StructureType = 1000234000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR StructureType = 1000235000 STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT StructureType = 1000237000 STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT StructureType = 1000238000 STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT StructureType = 1000238001 @@ -3749,12 +3873,8 @@ const ( STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO StructureType = 1000257002 STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO StructureType = 1000257003 STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO StructureType = 1000257004 - STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT StructureType = 1000259000 - STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT StructureType = 1000259001 - STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT StructureType = 1000259002 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT StructureType = 1000260000 STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES StructureType = 1000261000 - STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT StructureType = 1000265000 STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT StructureType = 1000267000 // Not promoted to 1.3 STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR StructureType = 1000269000 STRUCTURE_TYPE_PIPELINE_INFO_KHR StructureType = 1000269001 @@ -3774,6 +3894,9 @@ const ( STRUCTURE_TYPE_HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY_EXT StructureType = 1000270009 STRUCTURE_TYPE_MEMORY_MAP_INFO_KHR StructureType = 1000271000 STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHR StructureType = 1000271001 + STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT StructureType = 1000272000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_PROPERTIES_EXT StructureType = 1000272001 + STRUCTURE_TYPE_MEMORY_MAP_PLACED_INFO_EXT StructureType = 1000272002 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT StructureType = 1000273000 STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXT StructureType = 1000274000 STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT StructureType = 1000274001 @@ -3822,6 +3945,17 @@ const ( STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO StructureType = 1000295001 STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO StructureType = 1000295002 STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES StructureType = 1000297000 + STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR StructureType = 1000299000 + STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR StructureType = 1000299001 + STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR StructureType = 1000299002 + STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR StructureType = 1000299003 + STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR StructureType = 1000299004 + STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR StructureType = 1000299005 + STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR StructureType = 1000299006 + STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHR StructureType = 1000299007 + STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR StructureType = 1000299008 + STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR StructureType = 1000299009 + STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR StructureType = 1000299010 STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV StructureType = 1000300000 STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV StructureType = 1000300001 STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV StructureType = 1000307000 @@ -3947,6 +4081,7 @@ const ( STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT StructureType = 1000396009 STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI StructureType = 1000404000 STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI StructureType = 1000404001 + STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI StructureType = 1000404002 STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT StructureType = 1000411000 STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT StructureType = 1000411001 STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT StructureType = 1000412000 @@ -3955,6 +4090,7 @@ const ( STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTS StructureType = 1000413002 STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS StructureType = 1000413003 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_ARM StructureType = 1000415000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES_KHR StructureType = 1000416000 STRUCTURE_TYPE_DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM StructureType = 1000417000 STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM StructureType = 1000417001 STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM StructureType = 1000417002 @@ -3965,6 +4101,11 @@ const ( STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE StructureType = 1000420002 STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_EXT StructureType = 1000421000 STRUCTURE_TYPE_PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT StructureType = 1000422000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM StructureType = 1000424000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM StructureType = 1000424001 + STRUCTURE_TYPE_RENDER_PASS_STRIPE_BEGIN_INFO_ARM StructureType = 1000424002 + STRUCTURE_TYPE_RENDER_PASS_STRIPE_INFO_ARM StructureType = 1000424003 + STRUCTURE_TYPE_RENDER_PASS_STRIPE_SUBMIT_INFO_ARM StructureType = 1000424004 STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM StructureType = 1000425000 STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOM StructureType = 1000425001 STRUCTURE_TYPE_SUBPASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_QCOM StructureType = 1000425002 @@ -3976,6 +4117,7 @@ const ( STRUCTURE_TYPE_COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV StructureType = 1000428001 STRUCTURE_TYPE_PIPELINE_INDIRECT_DEVICE_ADDRESS_INFO_NV StructureType = 1000428002 STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV StructureType = 1000430000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR StructureType = 1000434000 STRUCTURE_TYPE_APPLICATION_PARAMETERS_EXT StructureType = 1000435000 STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT StructureType = 1000437000 STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM StructureType = 1000440000 @@ -4009,17 +4151,20 @@ const ( STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR StructureType = 1000470000 STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR StructureType = 1000470001 STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_KHR StructureType = 1000470002 - STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_KHR StructureType = 1000470003 STRUCTURE_TYPE_RENDERING_AREA_INFO_KHR StructureType = 1000470003 + STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_KHR StructureType = 1000470003 STRUCTURE_TYPE_DEVICE_IMAGE_SUBRESOURCE_INFO_KHR StructureType = 1000470004 STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR StructureType = 1000470005 STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR StructureType = 1000470006 + STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD StructureType = 1000476000 + STRUCTURE_TYPE_ANTI_LAG_DATA_AMD StructureType = 1000476001 + STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD StructureType = 1000476002 STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR StructureType = 1000481000 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT StructureType = 1000482000 - STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT StructureType = 1000482001 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT StructureType = 1000482001 - STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT StructureType = 1000482002 + STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT StructureType = 1000482001 STRUCTURE_TYPE_SHADER_CREATE_INFO_EXT StructureType = 1000482002 + STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT StructureType = 1000482002 STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM StructureType = 1000484000 STRUCTURE_TYPE_TILE_PROPERTIES_QCOM StructureType = 1000484001 STRUCTURE_TYPE_PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC StructureType = 1000485000 @@ -4031,6 +4176,9 @@ const ( STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV StructureType = 1000492001 STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT StructureType = 1000494000 STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT StructureType = 1000494002 + STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT StructureType = 1000495000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT StructureType = 1000495001 + STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT StructureType = 1000496000 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM StructureType = 1000497000 STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM StructureType = 1000497001 STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT StructureType = 1000498000 @@ -4049,6 +4197,14 @@ const ( STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_KHR StructureType = 1000506002 STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM StructureType = 1000510000 STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM StructureType = 1000510001 + STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_KHR StructureType = 1000512000 + STRUCTURE_TYPE_VIDEO_DECODE_AV1_PICTURE_INFO_KHR StructureType = 1000512001 + STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_KHR StructureType = 1000512003 + STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR StructureType = 1000512004 + STRUCTURE_TYPE_VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR StructureType = 1000512005 + STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR StructureType = 1000515000 + STRUCTURE_TYPE_VIDEO_INLINE_QUERY_INFO_KHR StructureType = 1000515001 + STRUCTURE_TYPE_PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV StructureType = 1000516000 STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM StructureType = 1000518000 STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_2_PROPERTIES_QCOM StructureType = 1000518001 STRUCTURE_TYPE_SAMPLER_BLOCK_MATCH_WINDOW_CREATE_INFO_QCOM StructureType = 1000518002 @@ -4059,8 +4215,41 @@ const ( STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM StructureType = 1000520001 STRUCTURE_TYPE_PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM StructureType = 1000521000 STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT StructureType = 1000524000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR StructureType = 1000525000 + STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR StructureType = 1000525001 + STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR StructureType = 1000525002 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR StructureType = 1000528000 STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_DRIVER_PROPERTIES_MSFT StructureType = 1000530000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR StructureType = 1000533000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR StructureType = 1000534000 + STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR StructureType = 1000534001 + STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR StructureType = 1000534002 + STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_KHR StructureType = 1000543000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES_KHR StructureType = 1000544000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES_KHR StructureType = 1000545000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES_KHR StructureType = 1000545001 + STRUCTURE_TYPE_BIND_MEMORY_STATUS_KHR StructureType = 1000545002 + STRUCTURE_TYPE_BIND_DESCRIPTOR_SETS_INFO_KHR StructureType = 1000545003 + STRUCTURE_TYPE_PUSH_CONSTANTS_INFO_KHR StructureType = 1000545004 + STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_INFO_KHR StructureType = 1000545005 + STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO_KHR StructureType = 1000545006 + STRUCTURE_TYPE_SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT StructureType = 1000545007 + STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT StructureType = 1000545008 STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV StructureType = 1000546000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV StructureType = 1000555000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR StructureType = 1000558000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV StructureType = 1000559000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR StructureType = 1000562000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR StructureType = 1000562001 + STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR StructureType = 1000562002 + STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR StructureType = 1000562003 + STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR StructureType = 1000562004 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV StructureType = 1000563000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT StructureType = 1000564000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV StructureType = 1000568000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA StructureType = 1000575000 + STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA StructureType = 1000575001 + STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA StructureType = 1000575002 STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR StructureType = STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2 STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT_KHR StructureType = STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR StructureType = STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2 @@ -4073,12 +4262,13 @@ const ( STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR StructureType = STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO STRUCTURE_TYPE_BLIT_IMAGE_INFO_2_KHR StructureType = STRUCTURE_TYPE_BLIT_IMAGE_INFO_2 STRUCTURE_TYPE_BUFFER_COPY_2_KHR StructureType = STRUCTURE_TYPE_BUFFER_COPY_2 - STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT StructureType = STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_KHR StructureType = STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO + STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT StructureType = STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2_KHR StructureType = STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2 STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2_KHR StructureType = STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2 STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR StructureType = STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2 STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO_KHR StructureType = STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO + STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT StructureType = STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_KHR STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO_KHR StructureType = STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO_KHR StructureType = STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR StructureType = STRUCTURE_TYPE_COPY_BUFFER_INFO_2 @@ -4158,8 +4348,11 @@ const ( STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES + STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES + STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR + STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES @@ -4195,17 +4388,20 @@ const ( STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES - STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES + STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR + STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR StructureType = STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT StructureType = STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO STRUCTURE_TYPE_PIPELINE_INFO_EXT StructureType = STRUCTURE_TYPE_PIPELINE_INFO_KHR + STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT StructureType = STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO_KHR StructureType = STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO STRUCTURE_TYPE_SHADER_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT StructureType = STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT StructureType = STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR StructureType = STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO + STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT StructureType = STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO_EXT StructureType = STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL StructureType = STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_EXT StructureType = STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR @@ -4242,15 +4438,17 @@ const ( type SubgroupFeatureFlagBits = SubgroupFeatureFlags const ( - SUBGROUP_FEATURE_BASIC_BIT SubgroupFeatureFlagBits = 1 << 0 - SUBGROUP_FEATURE_VOTE_BIT SubgroupFeatureFlagBits = 1 << 1 - SUBGROUP_FEATURE_ARITHMETIC_BIT SubgroupFeatureFlagBits = 1 << 2 - SUBGROUP_FEATURE_BALLOT_BIT SubgroupFeatureFlagBits = 1 << 3 - SUBGROUP_FEATURE_SHUFFLE_BIT SubgroupFeatureFlagBits = 1 << 4 - SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT SubgroupFeatureFlagBits = 1 << 5 - SUBGROUP_FEATURE_CLUSTERED_BIT SubgroupFeatureFlagBits = 1 << 6 - SUBGROUP_FEATURE_QUAD_BIT SubgroupFeatureFlagBits = 1 << 7 - SUBGROUP_FEATURE_PARTITIONED_BIT_NV SubgroupFeatureFlagBits = 1000198000 + SUBGROUP_FEATURE_BASIC_BIT SubgroupFeatureFlagBits = 1 << 0 + SUBGROUP_FEATURE_VOTE_BIT SubgroupFeatureFlagBits = 1 << 1 + SUBGROUP_FEATURE_ARITHMETIC_BIT SubgroupFeatureFlagBits = 1 << 2 + SUBGROUP_FEATURE_BALLOT_BIT SubgroupFeatureFlagBits = 1 << 3 + SUBGROUP_FEATURE_SHUFFLE_BIT SubgroupFeatureFlagBits = 1 << 4 + SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT SubgroupFeatureFlagBits = 1 << 5 + SUBGROUP_FEATURE_CLUSTERED_BIT SubgroupFeatureFlagBits = 1 << 6 + SUBGROUP_FEATURE_QUAD_BIT SubgroupFeatureFlagBits = 1 << 7 + SUBGROUP_FEATURE_PARTITIONED_BIT_NV SubgroupFeatureFlagBits = 1000198000 + SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT_KHR SubgroupFeatureFlagBits = 1000416000 + SUBGROUP_FEATURE_ROTATE_BIT_KHR SubgroupFeatureFlagBits = 1000416000 ) type SubmitFlagBits = SubmitFlags @@ -4269,7 +4467,8 @@ type SubpassContents int32 const ( SUBPASS_CONTENTS_INLINE SubpassContents = 0 SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS SubpassContents = 1 - SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT SubpassContents = 1000451000 + SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR SubpassContents = 1000562000 + SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT SubpassContents = SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR ) type SubpassDescriptionFlagBits = SubpassDescriptionFlags @@ -4277,11 +4476,11 @@ type SubpassDescriptionFlagBits = SubpassDescriptionFlags const ( SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX SubpassDescriptionFlagBits = 1000097000 SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX SubpassDescriptionFlagBits = 1000097000 - SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM SubpassDescriptionFlagBits = 1000171000 SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM SubpassDescriptionFlagBits = 1000171000 - SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT SubpassDescriptionFlagBits = 1000463000 + SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM SubpassDescriptionFlagBits = 1000171000 SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT SubpassDescriptionFlagBits = 1000463000 SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT SubpassDescriptionFlagBits = 1000463000 + SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT SubpassDescriptionFlagBits = 1000463000 SUBPASS_DESCRIPTION_ENABLE_LEGACY_DITHERING_BIT_EXT SubpassDescriptionFlagBits = 1000465000 SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_ARM SubpassDescriptionFlagBits = SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_ARM SubpassDescriptionFlagBits = SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT @@ -4363,13 +4562,20 @@ const ( type TessellationDomainOriginKHR = TessellationDomainOrigin // TimeDomainEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkTimeDomainEXT.html -type TimeDomainEXT int32 +type TimeDomainEXT = TimeDomainKHR + +// TimeDomainKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkTimeDomainKHR.html +type TimeDomainKHR int32 const ( - TIME_DOMAIN_DEVICE_EXT TimeDomainEXT = 0 - TIME_DOMAIN_CLOCK_MONOTONIC_EXT TimeDomainEXT = 1 - TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT TimeDomainEXT = 2 - TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT TimeDomainEXT = 3 + TIME_DOMAIN_DEVICE_KHR TimeDomainKHR = 0 + TIME_DOMAIN_CLOCK_MONOTONIC_KHR TimeDomainKHR = 1 + TIME_DOMAIN_CLOCK_MONOTONIC_RAW_KHR TimeDomainKHR = 2 + TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_KHR TimeDomainKHR = 3 + TIME_DOMAIN_CLOCK_MONOTONIC_EXT TimeDomainKHR = TIME_DOMAIN_CLOCK_MONOTONIC_KHR + TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT TimeDomainKHR = TIME_DOMAIN_CLOCK_MONOTONIC_RAW_KHR + TIME_DOMAIN_DEVICE_EXT TimeDomainKHR = TIME_DOMAIN_DEVICE_KHR + TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT TimeDomainKHR = TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_KHR ) type ToolPurposeFlagBits = ToolPurposeFlags @@ -4436,6 +4642,7 @@ const ( type VendorId int32 const ( + VENDOR_ID_KHRONOS VendorId = 0x10000 // Khronos vendor ID VENDOR_ID_VIV VendorId = 0x10001 // Vivante vendor ID VENDOR_ID_VSI VendorId = 0x10002 // VeriSilicon vendor ID VENDOR_ID_KAZAN VendorId = 0x10003 // Kazan Software Renderer @@ -4474,14 +4681,19 @@ type VideoCodecOperationFlagBitsKHR = VideoCodecOperationFlagsKHR const ( VIDEO_CODEC_OPERATION_NONE_KHR VideoCodecOperationFlagBitsKHR = 0 + VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR VideoCodecOperationFlagBitsKHR = 1000038000 + VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR VideoCodecOperationFlagBitsKHR = 1000039000 VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR VideoCodecOperationFlagBitsKHR = 1000040000 VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR VideoCodecOperationFlagBitsKHR = 1000187000 + VIDEO_CODEC_OPERATION_DECODE_AV1_BIT_KHR VideoCodecOperationFlagBitsKHR = 1000512000 ) type VideoCodingControlFlagBitsKHR = VideoCodingControlFlagsKHR const ( - VIDEO_CODING_CONTROL_RESET_BIT_KHR VideoCodingControlFlagBitsKHR = 1 << 0 + VIDEO_CODING_CONTROL_RESET_BIT_KHR VideoCodingControlFlagBitsKHR = 1 << 0 + VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_BIT_KHR VideoCodingControlFlagBitsKHR = 1000299000 + VIDEO_CODING_CONTROL_ENCODE_QUALITY_LEVEL_BIT_KHR VideoCodingControlFlagBitsKHR = 1000299000 ) type VideoComponentBitDepthFlagBitsKHR = VideoComponentBitDepthFlagsKHR @@ -4517,10 +4729,183 @@ const ( VIDEO_DECODE_USAGE_STREAMING_BIT_KHR VideoDecodeUsageFlagBitsKHR = 1 << 2 ) +type VideoEncodeCapabilityFlagBitsKHR = VideoEncodeCapabilityFlagsKHR + +const ( + VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHR VideoEncodeCapabilityFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHR VideoEncodeCapabilityFlagBitsKHR = 1 << 1 +) + +type VideoEncodeContentFlagBitsKHR = VideoEncodeContentFlagsKHR + +const ( + VIDEO_ENCODE_CONTENT_DEFAULT_KHR VideoEncodeContentFlagBitsKHR = 0 + VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHR VideoEncodeContentFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHR VideoEncodeContentFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHR VideoEncodeContentFlagBitsKHR = 1 << 2 +) + +type VideoEncodeFeedbackFlagBitsKHR = VideoEncodeFeedbackFlagsKHR + +const ( + VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR VideoEncodeFeedbackFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR VideoEncodeFeedbackFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHR VideoEncodeFeedbackFlagBitsKHR = 1 << 2 +) + +type VideoEncodeH264CapabilityFlagBitsKHR = VideoEncodeH264CapabilityFlagsKHR + +const ( + VIDEO_ENCODE_H264_CAPABILITY_HRD_COMPLIANCE_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H264_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H264_CAPABILITY_ROW_UNALIGNED_SLICE_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_H264_CAPABILITY_DIFFERENT_SLICE_TYPE_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 3 + VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L0_LIST_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 4 + VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 5 + VIDEO_ENCODE_H264_CAPABILITY_PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 6 + VIDEO_ENCODE_H264_CAPABILITY_PER_SLICE_CONSTANT_QP_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 7 + VIDEO_ENCODE_H264_CAPABILITY_GENERATE_PREFIX_NALU_BIT_KHR VideoEncodeH264CapabilityFlagBitsKHR = 1 << 8 +) + +type VideoEncodeH264RateControlFlagBitsKHR = VideoEncodeH264RateControlFlagsKHR + +const ( + VIDEO_ENCODE_H264_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR VideoEncodeH264RateControlFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H264_RATE_CONTROL_REGULAR_GOP_BIT_KHR VideoEncodeH264RateControlFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR VideoEncodeH264RateControlFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR VideoEncodeH264RateControlFlagBitsKHR = 1 << 3 + VIDEO_ENCODE_H264_RATE_CONTROL_TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR VideoEncodeH264RateControlFlagBitsKHR = 1 << 4 +) + +type VideoEncodeH264StdFlagBitsKHR = VideoEncodeH264StdFlagsKHR + +const ( + VIDEO_ENCODE_H264_STD_SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H264_STD_QPPRIME_Y_ZERO_TRANSFORM_BYPASS_FLAG_SET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H264_STD_DIRECT_SPATIAL_MV_PRED_FLAG_UNSET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 10 + VIDEO_ENCODE_H264_STD_ENTROPY_CODING_MODE_FLAG_UNSET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 11 + VIDEO_ENCODE_H264_STD_ENTROPY_CODING_MODE_FLAG_SET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 12 + VIDEO_ENCODE_H264_STD_DIRECT_8X8_INFERENCE_FLAG_UNSET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 13 + VIDEO_ENCODE_H264_STD_CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 14 + VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_DISABLED_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 15 + VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_ENABLED_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 16 + VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_PARTIAL_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 17 + VIDEO_ENCODE_H264_STD_SLICE_QP_DELTA_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 19 + VIDEO_ENCODE_H264_STD_SCALING_MATRIX_PRESENT_FLAG_SET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_H264_STD_DIFFERENT_SLICE_QP_DELTA_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 20 + VIDEO_ENCODE_H264_STD_CHROMA_QP_INDEX_OFFSET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 3 + VIDEO_ENCODE_H264_STD_SECOND_CHROMA_QP_INDEX_OFFSET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 4 + VIDEO_ENCODE_H264_STD_PIC_INIT_QP_MINUS26_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 5 + VIDEO_ENCODE_H264_STD_WEIGHTED_PRED_FLAG_SET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 6 + VIDEO_ENCODE_H264_STD_WEIGHTED_BIPRED_IDC_EXPLICIT_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 7 + VIDEO_ENCODE_H264_STD_WEIGHTED_BIPRED_IDC_IMPLICIT_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 8 + VIDEO_ENCODE_H264_STD_TRANSFORM_8X8_MODE_FLAG_SET_BIT_KHR VideoEncodeH264StdFlagBitsKHR = 1 << 9 +) + +type VideoEncodeH265CapabilityFlagBitsKHR = VideoEncodeH265CapabilityFlagsKHR + +const ( + VIDEO_ENCODE_H265_CAPABILITY_HRD_COMPLIANCE_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H265_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H265_CAPABILITY_ROW_UNALIGNED_SLICE_SEGMENT_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_H265_CAPABILITY_DIFFERENT_SLICE_SEGMENT_TYPE_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 3 + VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L0_LIST_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 4 + VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 5 + VIDEO_ENCODE_H265_CAPABILITY_PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 6 + VIDEO_ENCODE_H265_CAPABILITY_PER_SLICE_SEGMENT_CONSTANT_QP_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 7 + VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_TILES_PER_SLICE_SEGMENT_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 8 + VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_SLICE_SEGMENTS_PER_TILE_BIT_KHR VideoEncodeH265CapabilityFlagBitsKHR = 1 << 9 +) + +type VideoEncodeH265CtbSizeFlagBitsKHR = VideoEncodeH265CtbSizeFlagsKHR + +const ( + VIDEO_ENCODE_H265_CTB_SIZE_16_BIT_KHR VideoEncodeH265CtbSizeFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H265_CTB_SIZE_32_BIT_KHR VideoEncodeH265CtbSizeFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H265_CTB_SIZE_64_BIT_KHR VideoEncodeH265CtbSizeFlagBitsKHR = 1 << 2 +) + +type VideoEncodeH265RateControlFlagBitsKHR = VideoEncodeH265RateControlFlagsKHR + +const ( + VIDEO_ENCODE_H265_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR VideoEncodeH265RateControlFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H265_RATE_CONTROL_REGULAR_GOP_BIT_KHR VideoEncodeH265RateControlFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H265_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR VideoEncodeH265RateControlFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_H265_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR VideoEncodeH265RateControlFlagBitsKHR = 1 << 3 + VIDEO_ENCODE_H265_RATE_CONTROL_TEMPORAL_SUB_LAYER_PATTERN_DYADIC_BIT_KHR VideoEncodeH265RateControlFlagBitsKHR = 1 << 4 +) + +type VideoEncodeH265StdFlagBitsKHR = VideoEncodeH265StdFlagsKHR + +const ( + VIDEO_ENCODE_H265_STD_SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H265_STD_SAMPLE_ADAPTIVE_OFFSET_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H265_STD_TRANSFORM_SKIP_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 10 + VIDEO_ENCODE_H265_STD_TRANSFORM_SKIP_ENABLED_FLAG_UNSET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 11 + VIDEO_ENCODE_H265_STD_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 12 + VIDEO_ENCODE_H265_STD_TRANSQUANT_BYPASS_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 13 + VIDEO_ENCODE_H265_STD_CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 14 + VIDEO_ENCODE_H265_STD_ENTROPY_CODING_SYNC_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 15 + VIDEO_ENCODE_H265_STD_DEBLOCKING_FILTER_OVERRIDE_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 16 + VIDEO_ENCODE_H265_STD_DEPENDENT_SLICE_SEGMENTS_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 17 + VIDEO_ENCODE_H265_STD_DEPENDENT_SLICE_SEGMENT_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 18 + VIDEO_ENCODE_H265_STD_SLICE_QP_DELTA_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 19 + VIDEO_ENCODE_H265_STD_SCALING_LIST_DATA_PRESENT_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_H265_STD_DIFFERENT_SLICE_QP_DELTA_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 20 + VIDEO_ENCODE_H265_STD_PCM_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 3 + VIDEO_ENCODE_H265_STD_SPS_TEMPORAL_MVP_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 4 + VIDEO_ENCODE_H265_STD_INIT_QP_MINUS26_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 5 + VIDEO_ENCODE_H265_STD_WEIGHTED_PRED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 6 + VIDEO_ENCODE_H265_STD_WEIGHTED_BIPRED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 7 + VIDEO_ENCODE_H265_STD_LOG2_PARALLEL_MERGE_LEVEL_MINUS2_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 8 + VIDEO_ENCODE_H265_STD_SIGN_DATA_HIDING_ENABLED_FLAG_SET_BIT_KHR VideoEncodeH265StdFlagBitsKHR = 1 << 9 +) + +type VideoEncodeH265TransformBlockSizeFlagBitsKHR = VideoEncodeH265TransformBlockSizeFlagsKHR + +const ( + VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_4_BIT_KHR VideoEncodeH265TransformBlockSizeFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_8_BIT_KHR VideoEncodeH265TransformBlockSizeFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_16_BIT_KHR VideoEncodeH265TransformBlockSizeFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_32_BIT_KHR VideoEncodeH265TransformBlockSizeFlagBitsKHR = 1 << 3 +) + +type VideoEncodeRateControlModeFlagBitsKHR = VideoEncodeRateControlModeFlagsKHR + +const ( + VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHR VideoEncodeRateControlModeFlagBitsKHR = 0 + VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR VideoEncodeRateControlModeFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHR VideoEncodeRateControlModeFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHR VideoEncodeRateControlModeFlagBitsKHR = 1 << 2 +) + +// VideoEncodeTuningModeKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeTuningModeKHR.html +type VideoEncodeTuningModeKHR int32 + +const ( + VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHR VideoEncodeTuningModeKHR = 0 + VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHR VideoEncodeTuningModeKHR = 1 + VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHR VideoEncodeTuningModeKHR = 2 + VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHR VideoEncodeTuningModeKHR = 3 + VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHR VideoEncodeTuningModeKHR = 4 +) + +type VideoEncodeUsageFlagBitsKHR = VideoEncodeUsageFlagsKHR + +const ( + VIDEO_ENCODE_USAGE_DEFAULT_KHR VideoEncodeUsageFlagBitsKHR = 0 + VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHR VideoEncodeUsageFlagBitsKHR = 1 << 0 + VIDEO_ENCODE_USAGE_STREAMING_BIT_KHR VideoEncodeUsageFlagBitsKHR = 1 << 1 + VIDEO_ENCODE_USAGE_RECORDING_BIT_KHR VideoEncodeUsageFlagBitsKHR = 1 << 2 + VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHR VideoEncodeUsageFlagBitsKHR = 1 << 3 +) + type VideoSessionCreateFlagBitsKHR = VideoSessionCreateFlagsKHR const ( - VIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR VideoSessionCreateFlagBitsKHR = 1 << 0 + VIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR VideoSessionCreateFlagBitsKHR = 1 << 0 + VIDEO_SESSION_CREATE_ALLOW_ENCODE_PARAMETER_OPTIMIZATIONS_BIT_KHR VideoSessionCreateFlagBitsKHR = 1000299000 + VIDEO_SESSION_CREATE_INLINE_QUERIES_BIT_KHR VideoSessionCreateFlagBitsKHR = 1000515000 ) // ViewportCoordinateSwizzleNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkViewportCoordinateSwizzleNV.html diff --git a/enum_macos.go b/enum_macos.go index 8b741ca..4a8ee1e 100644 --- a/enum_macos.go +++ b/enum_macos.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.379158 -0500 EST m=+3.904608319. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.229063 +0200 CEST m=+2.158071376. DO NOT EDIT. package vk diff --git a/enum_metal.go b/enum_metal.go index a49c8a4..bd47d75 100644 --- a/enum_metal.go +++ b/enum_metal.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.927145 -0500 EST m=+3.452591969. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.419631 +0200 CEST m=+2.348639460. DO NOT EDIT. package vk diff --git a/enum_win32.go b/enum_win32.go index a845093..26a0c7c 100644 --- a/enum_win32.go +++ b/enum_win32.go @@ -1,9 +1,10 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.055108 -0500 EST m=+3.580555565. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.097038 +0200 CEST m=+2.026046626. DO NOT EDIT. package vk -//go:generate stringer -output=enum_win32_string_0.go -type=FullScreenExclusiveEXT // FullScreenExclusiveEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkFullScreenExclusiveEXT.html +// +//go:generate stringer -output=enum_win32_string_0.go -type=FullScreenExclusiveEXT type FullScreenExclusiveEXT int32 const ( diff --git a/exten.go b/exten.go index cc57d2a..cc2b215 100644 --- a/exten.go +++ b/exten.go @@ -1,9 +1,11 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.234476 -0500 EST m=+2.759918429. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.525338 +0200 CEST m=+1.454345085. DO NOT EDIT. package vk // Extension names and versions const ( + AMD_ANTI_LAG_EXTENSION_NAME = "VK_AMD_anti_lag" + AMD_ANTI_LAG_SPEC_VERSION = 1 AMD_BUFFER_MARKER_EXTENSION_NAME = "VK_AMD_buffer_marker" AMD_BUFFER_MARKER_SPEC_VERSION = 1 AMD_DEVICE_COHERENT_MEMORY_EXTENSION_NAME = "VK_AMD_device_coherent_memory" @@ -50,6 +52,8 @@ const ( AMD_TEXTURE_GATHER_BIAS_LOD_SPEC_VERSION = 1 ARM_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_EXTENSION_NAME = "VK_ARM_rasterization_order_attachment_access" ARM_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_SPEC_VERSION = 1 + ARM_RENDER_PASS_STRIPED_EXTENSION_NAME = "VK_ARM_render_pass_striped" + ARM_RENDER_PASS_STRIPED_SPEC_VERSION = 1 ARM_SCHEDULING_CONTROLS_EXTENSION_NAME = "VK_ARM_scheduling_controls" ARM_SCHEDULING_CONTROLS_SPEC_VERSION = 1 ARM_SHADER_CORE_BUILTINS_EXTENSION_NAME = "VK_ARM_shader_core_builtins" @@ -149,7 +153,7 @@ const ( EXT_GRAPHICS_PIPELINE_LIBRARY_EXTENSION_NAME = "VK_EXT_graphics_pipeline_library" EXT_GRAPHICS_PIPELINE_LIBRARY_SPEC_VERSION = 1 EXT_HDR_METADATA_EXTENSION_NAME = "VK_EXT_hdr_metadata" - EXT_HDR_METADATA_SPEC_VERSION = 2 + EXT_HDR_METADATA_SPEC_VERSION = 3 EXT_HEADLESS_SURFACE_EXTENSION_NAME = "VK_EXT_headless_surface" EXT_HEADLESS_SURFACE_SPEC_VERSION = 1 EXT_HOST_IMAGE_COPY_EXTENSION_NAME = "VK_EXT_host_image_copy" @@ -174,12 +178,18 @@ const ( EXT_INDEX_TYPE_UINT8_SPEC_VERSION = 1 EXT_INLINE_UNIFORM_BLOCK_EXTENSION_NAME = "VK_EXT_inline_uniform_block" EXT_INLINE_UNIFORM_BLOCK_SPEC_VERSION = 1 + EXT_LAYER_SETTINGS_EXTENSION_NAME = "VK_EXT_layer_settings" + EXT_LAYER_SETTINGS_SPEC_VERSION = 2 EXT_LEGACY_DITHERING_EXTENSION_NAME = "VK_EXT_legacy_dithering" - EXT_LEGACY_DITHERING_SPEC_VERSION = 1 + EXT_LEGACY_DITHERING_SPEC_VERSION = 2 + EXT_LEGACY_VERTEX_ATTRIBUTES_EXTENSION_NAME = "VK_EXT_legacy_vertex_attributes" + EXT_LEGACY_VERTEX_ATTRIBUTES_SPEC_VERSION = 1 EXT_LINE_RASTERIZATION_EXTENSION_NAME = "VK_EXT_line_rasterization" EXT_LINE_RASTERIZATION_SPEC_VERSION = 1 EXT_LOAD_STORE_OP_NONE_EXTENSION_NAME = "VK_EXT_load_store_op_none" EXT_LOAD_STORE_OP_NONE_SPEC_VERSION = 1 + EXT_MAP_MEMORY_PLACED_EXTENSION_NAME = "VK_EXT_map_memory_placed" + EXT_MAP_MEMORY_PLACED_SPEC_VERSION = 1 EXT_MEMORY_BUDGET_EXTENSION_NAME = "VK_EXT_memory_budget" EXT_MEMORY_BUDGET_SPEC_VERSION = 1 EXT_MEMORY_PRIORITY_EXTENSION_NAME = "VK_EXT_memory_priority" @@ -254,6 +264,8 @@ const ( EXT_SHADER_MODULE_IDENTIFIER_SPEC_VERSION = 1 EXT_SHADER_OBJECT_EXTENSION_NAME = "VK_EXT_shader_object" EXT_SHADER_OBJECT_SPEC_VERSION = 1 + EXT_SHADER_REPLICATED_COMPOSITES_EXTENSION_NAME = "VK_EXT_shader_replicated_composites" + EXT_SHADER_REPLICATED_COMPOSITES_SPEC_VERSION = 1 EXT_SHADER_STENCIL_EXPORT_EXTENSION_NAME = "VK_EXT_shader_stencil_export" EXT_SHADER_STENCIL_EXPORT_SPEC_VERSION = 1 EXT_SHADER_SUBGROUP_BALLOT_EXTENSION_NAME = "VK_EXT_shader_subgroup_ballot" @@ -271,7 +283,7 @@ const ( EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME = "VK_EXT_surface_maintenance1" EXT_SURFACE_MAINTENANCE_1_SPEC_VERSION = 1 EXT_SWAPCHAIN_COLOR_SPACE_EXTENSION_NAME = "VK_EXT_swapchain_colorspace" - EXT_SWAPCHAIN_COLOR_SPACE_SPEC_VERSION = 4 + EXT_SWAPCHAIN_COLOR_SPACE_SPEC_VERSION = 5 EXT_SWAPCHAIN_MAINTENANCE_1_EXTENSION_NAME = "VK_EXT_swapchain_maintenance1" EXT_SWAPCHAIN_MAINTENANCE_1_SPEC_VERSION = 1 EXT_TEXEL_BUFFER_ALIGNMENT_EXTENSION_NAME = "VK_EXT_texel_buffer_alignment" @@ -285,9 +297,9 @@ const ( EXT_VALIDATION_CACHE_EXTENSION_NAME = "VK_EXT_validation_cache" EXT_VALIDATION_CACHE_SPEC_VERSION = 1 EXT_VALIDATION_FEATURES_EXTENSION_NAME = "VK_EXT_validation_features" - EXT_VALIDATION_FEATURES_SPEC_VERSION = 5 + EXT_VALIDATION_FEATURES_SPEC_VERSION = 6 EXT_VALIDATION_FLAGS_EXTENSION_NAME = "VK_EXT_validation_flags" - EXT_VALIDATION_FLAGS_SPEC_VERSION = 2 + EXT_VALIDATION_FLAGS_SPEC_VERSION = 3 EXT_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME = "VK_EXT_vertex_attribute_divisor" EXT_VERTEX_ATTRIBUTE_DIVISOR_SPEC_VERSION = 3 EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME = "VK_EXT_vertex_input_dynamic_state" @@ -309,7 +321,7 @@ const ( GOOGLE_USER_TYPE_EXTENSION_NAME = "VK_GOOGLE_user_type" GOOGLE_USER_TYPE_SPEC_VERSION = 1 HUAWEI_CLUSTER_CULLING_SHADER_EXTENSION_NAME = "VK_HUAWEI_cluster_culling_shader" - HUAWEI_CLUSTER_CULLING_SHADER_SPEC_VERSION = 2 + HUAWEI_CLUSTER_CULLING_SHADER_SPEC_VERSION = 3 HUAWEI_INVOCATION_MASK_EXTENSION_NAME = "VK_HUAWEI_invocation_mask" HUAWEI_INVOCATION_MASK_SPEC_VERSION = 1 HUAWEI_SUBPASS_SHADING_EXTENSION_NAME = "VK_HUAWEI_subpass_shading" @@ -334,6 +346,8 @@ const ( KHR_BIND_MEMORY_2_SPEC_VERSION = 1 KHR_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME = "VK_KHR_buffer_device_address" KHR_BUFFER_DEVICE_ADDRESS_SPEC_VERSION = 1 + KHR_CALIBRATED_TIMESTAMPS_EXTENSION_NAME = "VK_KHR_calibrated_timestamps" + KHR_CALIBRATED_TIMESTAMPS_SPEC_VERSION = 1 KHR_COOPERATIVE_MATRIX_EXTENSION_NAME = "VK_KHR_cooperative_matrix" KHR_COOPERATIVE_MATRIX_SPEC_VERSION = 2 KHR_COPY_COMMANDS_2_EXTENSION_NAME = "VK_KHR_copy_commands2" @@ -361,6 +375,8 @@ const ( KHR_DRIVER_PROPERTIES_EXTENSION_NAME = "VK_KHR_driver_properties" KHR_DRIVER_PROPERTIES_SPEC_VERSION = 1 KHR_DYNAMIC_RENDERING_EXTENSION_NAME = "VK_KHR_dynamic_rendering" + KHR_DYNAMIC_RENDERING_LOCAL_READ_EXTENSION_NAME = "VK_KHR_dynamic_rendering_local_read" + KHR_DYNAMIC_RENDERING_LOCAL_READ_SPEC_VERSION = 1 KHR_DYNAMIC_RENDERING_SPEC_VERSION = 1 KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME = "VK_KHR_external_fence_capabilities" KHR_EXTERNAL_FENCE_CAPABILITIES_SPEC_VERSION = 1 @@ -402,6 +418,12 @@ const ( KHR_IMAGE_FORMAT_LIST_SPEC_VERSION = 1 KHR_INCREMENTAL_PRESENT_EXTENSION_NAME = "VK_KHR_incremental_present" KHR_INCREMENTAL_PRESENT_SPEC_VERSION = 2 + KHR_INDEX_TYPE_UINT8_EXTENSION_NAME = "VK_KHR_index_type_uint8" + KHR_INDEX_TYPE_UINT8_SPEC_VERSION = 1 + KHR_LINE_RASTERIZATION_EXTENSION_NAME = "VK_KHR_line_rasterization" + KHR_LINE_RASTERIZATION_SPEC_VERSION = 1 + KHR_LOAD_STORE_OP_NONE_EXTENSION_NAME = "VK_KHR_load_store_op_none" + KHR_LOAD_STORE_OP_NONE_SPEC_VERSION = 1 KHR_MAINTENANCE1_EXTENSION_NAME = KHR_MAINTENANCE_1_EXTENSION_NAME KHR_MAINTENANCE1_SPEC_VERSION = KHR_MAINTENANCE_1_SPEC_VERSION KHR_MAINTENANCE2_EXTENSION_NAME = KHR_MAINTENANCE_2_EXTENSION_NAME @@ -418,6 +440,10 @@ const ( KHR_MAINTENANCE_4_SPEC_VERSION = 2 KHR_MAINTENANCE_5_EXTENSION_NAME = "VK_KHR_maintenance5" KHR_MAINTENANCE_5_SPEC_VERSION = 1 + KHR_MAINTENANCE_6_EXTENSION_NAME = "VK_KHR_maintenance6" + KHR_MAINTENANCE_6_SPEC_VERSION = 1 + KHR_MAINTENANCE_7_EXTENSION_NAME = "VK_KHR_maintenance7" + KHR_MAINTENANCE_7_SPEC_VERSION = 1 KHR_MAP_MEMORY_2_EXTENSION_NAME = "VK_KHR_map_memory2" KHR_MAP_MEMORY_2_SPEC_VERSION = 1 KHR_MULTIVIEW_EXTENSION_NAME = "VK_KHR_multiview" @@ -460,16 +486,28 @@ const ( KHR_SHADER_CLOCK_SPEC_VERSION = 1 KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME = "VK_KHR_shader_draw_parameters" KHR_SHADER_DRAW_PARAMETERS_SPEC_VERSION = 1 + KHR_SHADER_EXPECT_ASSUME_EXTENSION_NAME = "VK_KHR_shader_expect_assume" + KHR_SHADER_EXPECT_ASSUME_SPEC_VERSION = 1 KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME = "VK_KHR_shader_float16_int8" KHR_SHADER_FLOAT16_INT8_SPEC_VERSION = 1 + KHR_SHADER_FLOAT_CONTROLS_2_EXTENSION_NAME = "VK_KHR_shader_float_controls2" + KHR_SHADER_FLOAT_CONTROLS_2_SPEC_VERSION = 1 KHR_SHADER_FLOAT_CONTROLS_EXTENSION_NAME = "VK_KHR_shader_float_controls" KHR_SHADER_FLOAT_CONTROLS_SPEC_VERSION = 4 KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME = "VK_KHR_shader_integer_dot_product" KHR_SHADER_INTEGER_DOT_PRODUCT_SPEC_VERSION = 1 + KHR_SHADER_MAXIMAL_RECONVERGENCE_EXTENSION_NAME = "VK_KHR_shader_maximal_reconvergence" + KHR_SHADER_MAXIMAL_RECONVERGENCE_SPEC_VERSION = 1 KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME = "VK_KHR_shader_non_semantic_info" KHR_SHADER_NON_SEMANTIC_INFO_SPEC_VERSION = 1 + KHR_SHADER_QUAD_CONTROL_EXTENSION_NAME = "VK_KHR_shader_quad_control" + KHR_SHADER_QUAD_CONTROL_SPEC_VERSION = 1 + KHR_SHADER_RELAXED_EXTENDED_INSTRUCTION_EXTENSION_NAME = "VK_KHR_shader_relaxed_extended_instruction" + KHR_SHADER_RELAXED_EXTENDED_INSTRUCTION_SPEC_VERSION = 1 KHR_SHADER_SUBGROUP_EXTENDED_TYPES_EXTENSION_NAME = "VK_KHR_shader_subgroup_extended_types" KHR_SHADER_SUBGROUP_EXTENDED_TYPES_SPEC_VERSION = 1 + KHR_SHADER_SUBGROUP_ROTATE_EXTENSION_NAME = "VK_KHR_shader_subgroup_rotate" + KHR_SHADER_SUBGROUP_ROTATE_SPEC_VERSION = 2 KHR_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_EXTENSION_NAME = "VK_KHR_shader_subgroup_uniform_control_flow" KHR_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_SPEC_VERSION = 1 KHR_SHADER_TERMINATE_INVOCATION_EXTENSION_NAME = "VK_KHR_shader_terminate_invocation" @@ -496,12 +534,24 @@ const ( KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION = 1 KHR_VARIABLE_POINTERS_EXTENSION_NAME = "VK_KHR_variable_pointers" KHR_VARIABLE_POINTERS_SPEC_VERSION = 1 + KHR_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME = "VK_KHR_vertex_attribute_divisor" + KHR_VERTEX_ATTRIBUTE_DIVISOR_SPEC_VERSION = 1 + KHR_VIDEO_DECODE_AV1_EXTENSION_NAME = "VK_KHR_video_decode_av1" + KHR_VIDEO_DECODE_AV1_SPEC_VERSION = 1 KHR_VIDEO_DECODE_H264_EXTENSION_NAME = "VK_KHR_video_decode_h264" - KHR_VIDEO_DECODE_H264_SPEC_VERSION = 8 + KHR_VIDEO_DECODE_H264_SPEC_VERSION = 9 KHR_VIDEO_DECODE_H265_EXTENSION_NAME = "VK_KHR_video_decode_h265" - KHR_VIDEO_DECODE_H265_SPEC_VERSION = 7 + KHR_VIDEO_DECODE_H265_SPEC_VERSION = 8 KHR_VIDEO_DECODE_QUEUE_EXTENSION_NAME = "VK_KHR_video_decode_queue" - KHR_VIDEO_DECODE_QUEUE_SPEC_VERSION = 7 + KHR_VIDEO_DECODE_QUEUE_SPEC_VERSION = 8 + KHR_VIDEO_ENCODE_H264_EXTENSION_NAME = "VK_KHR_video_encode_h264" + KHR_VIDEO_ENCODE_H264_SPEC_VERSION = 14 + KHR_VIDEO_ENCODE_H265_EXTENSION_NAME = "VK_KHR_video_encode_h265" + KHR_VIDEO_ENCODE_H265_SPEC_VERSION = 14 + KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME = "VK_KHR_video_encode_queue" + KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSION = 12 + KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME = "VK_KHR_video_maintenance1" + KHR_VIDEO_MAINTENANCE_1_SPEC_VERSION = 1 KHR_VIDEO_QUEUE_EXTENSION_NAME = "VK_KHR_video_queue" KHR_VIDEO_QUEUE_SPEC_VERSION = 8 KHR_VULKAN_MEMORY_MODEL_EXTENSION_NAME = "VK_KHR_vulkan_memory_model" @@ -512,6 +562,8 @@ const ( KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION = 1 LUNARG_DIRECT_DRIVER_LOADING_EXTENSION_NAME = "VK_LUNARG_direct_driver_loading" LUNARG_DIRECT_DRIVER_LOADING_SPEC_VERSION = 1 + MESA_IMAGE_ALIGNMENT_CONTROL_EXTENSION_NAME = "VK_MESA_image_alignment_control" + MESA_IMAGE_ALIGNMENT_CONTROL_SPEC_VERSION = 1 MSFT_LAYERED_DRIVER_EXTENSION_NAME = "VK_MSFT_layered_driver" MSFT_LAYERED_DRIVER_SPEC_VERSION = 1 NVX_BINARY_IMPORT_EXTENSION_NAME = "VK_NVX_binary_import" @@ -522,6 +574,8 @@ const ( NVX_MULTIVIEW_PER_VIEW_ATTRIBUTES_SPEC_VERSION = 1 NV_CLIP_SPACE_W_SCALING_EXTENSION_NAME = "VK_NV_clip_space_w_scaling" NV_CLIP_SPACE_W_SCALING_SPEC_VERSION = 1 + NV_COMMAND_BUFFER_INHERITANCE_EXTENSION_NAME = "VK_NV_command_buffer_inheritance" + NV_COMMAND_BUFFER_INHERITANCE_SPEC_VERSION = 1 NV_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME = "VK_NV_compute_shader_derivatives" NV_COMPUTE_SHADER_DERIVATIVES_SPEC_VERSION = 1 NV_COOPERATIVE_MATRIX_EXTENSION_NAME = "VK_NV_cooperative_matrix" @@ -575,7 +629,7 @@ const ( NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME = "VK_NV_linear_color_attachment" NV_LINEAR_COLOR_ATTACHMENT_SPEC_VERSION = 1 NV_LOW_LATENCY_2_EXTENSION_NAME = "VK_NV_low_latency2" - NV_LOW_LATENCY_2_SPEC_VERSION = 1 + NV_LOW_LATENCY_2_SPEC_VERSION = 2 NV_LOW_LATENCY_EXTENSION_NAME = "VK_NV_low_latency" NV_LOW_LATENCY_SPEC_VERSION = 1 NV_MEMORY_DECOMPRESSION_EXTENSION_NAME = "VK_NV_memory_decompression" @@ -584,22 +638,30 @@ const ( NV_MESH_SHADER_SPEC_VERSION = 1 NV_OPTICAL_FLOW_EXTENSION_NAME = "VK_NV_optical_flow" NV_OPTICAL_FLOW_SPEC_VERSION = 1 + NV_PER_STAGE_DESCRIPTOR_SET_EXTENSION_NAME = "VK_NV_per_stage_descriptor_set" + NV_PER_STAGE_DESCRIPTOR_SET_SPEC_VERSION = 1 NV_PRESENT_BARRIER_EXTENSION_NAME = "VK_NV_present_barrier" NV_PRESENT_BARRIER_SPEC_VERSION = 1 NV_PRIVATE_VENDOR_INFO_EXTENSION_NAME = "VK_NV_private_vendor_info" NV_PRIVATE_VENDOR_INFO_SPEC_VERSION = 2 + NV_RAW_ACCESS_CHAINS_EXTENSION_NAME = "VK_NV_raw_access_chains" + NV_RAW_ACCESS_CHAINS_SPEC_VERSION = 1 NV_RAY_TRACING_EXTENSION_NAME = "VK_NV_ray_tracing" NV_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME = "VK_NV_ray_tracing_invocation_reorder" NV_RAY_TRACING_INVOCATION_REORDER_SPEC_VERSION = 1 NV_RAY_TRACING_MOTION_BLUR_EXTENSION_NAME = "VK_NV_ray_tracing_motion_blur" NV_RAY_TRACING_MOTION_BLUR_SPEC_VERSION = 1 NV_RAY_TRACING_SPEC_VERSION = 3 + NV_RAY_TRACING_VALIDATION_EXTENSION_NAME = "VK_NV_ray_tracing_validation" + NV_RAY_TRACING_VALIDATION_SPEC_VERSION = 1 NV_REPRESENTATIVE_FRAGMENT_TEST_EXTENSION_NAME = "VK_NV_representative_fragment_test" NV_REPRESENTATIVE_FRAGMENT_TEST_SPEC_VERSION = 2 NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME = "VK_NV_sample_mask_override_coverage" NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION = 1 NV_SCISSOR_EXCLUSIVE_EXTENSION_NAME = "VK_NV_scissor_exclusive" NV_SCISSOR_EXCLUSIVE_SPEC_VERSION = 2 + NV_SHADER_ATOMIC_FLOAT16_VECTOR_EXTENSION_NAME = "VK_NV_shader_atomic_float16_vector" + NV_SHADER_ATOMIC_FLOAT16_VECTOR_SPEC_VERSION = 1 NV_SHADER_IMAGE_FOOTPRINT_EXTENSION_NAME = "VK_NV_shader_image_footprint" NV_SHADER_IMAGE_FOOTPRINT_SPEC_VERSION = 2 NV_SHADER_SM_BUILTINS_EXTENSION_NAME = "VK_NV_shader_sm_builtins" @@ -619,7 +681,7 @@ const ( QCOM_FILTER_CUBIC_WEIGHTS_EXTENSION_NAME = "VK_QCOM_filter_cubic_weights" QCOM_FILTER_CUBIC_WEIGHTS_SPEC_VERSION = 1 QCOM_FRAGMENT_DENSITY_MAP_OFFSET_EXTENSION_NAME = "VK_QCOM_fragment_density_map_offset" - QCOM_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION = 1 + QCOM_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION = 2 QCOM_IMAGE_PROCESSING_2_EXTENSION_NAME = "VK_QCOM_image_processing2" QCOM_IMAGE_PROCESSING_2_SPEC_VERSION = 1 QCOM_IMAGE_PROCESSING_EXTENSION_NAME = "VK_QCOM_image_processing" @@ -633,9 +695,9 @@ const ( QCOM_RENDER_PASS_STORE_OPS_EXTENSION_NAME = "VK_QCOM_render_pass_store_ops" QCOM_RENDER_PASS_STORE_OPS_SPEC_VERSION = 2 QCOM_RENDER_PASS_TRANSFORM_EXTENSION_NAME = "VK_QCOM_render_pass_transform" - QCOM_RENDER_PASS_TRANSFORM_SPEC_VERSION = 3 + QCOM_RENDER_PASS_TRANSFORM_SPEC_VERSION = 4 QCOM_ROTATED_COPY_COMMANDS_EXTENSION_NAME = "VK_QCOM_rotated_copy_commands" - QCOM_ROTATED_COPY_COMMANDS_SPEC_VERSION = 1 + QCOM_ROTATED_COPY_COMMANDS_SPEC_VERSION = 2 QCOM_TILE_PROPERTIES_EXTENSION_NAME = "VK_QCOM_tile_properties" QCOM_TILE_PROPERTIES_SPEC_VERSION = 1 QCOM_YCBCR_DEGAMMA_EXTENSION_NAME = "VK_QCOM_ycbcr_degamma" diff --git a/exten_macos.go b/exten_macos.go index bd23048..886d95d 100644 --- a/exten_macos.go +++ b/exten_macos.go @@ -1,5 +1,6 @@ //go:build darwin -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.386387 -0500 EST m=+3.911837579. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.103536 +0200 CEST m=+2.032543876. DO NOT EDIT. package vk diff --git a/exten_metal.go b/exten_metal.go index e3ae732..d550c2e 100644 --- a/exten_metal.go +++ b/exten_metal.go @@ -1,12 +1,13 @@ //go:build darwin -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.63304 -0500 EST m=+3.158485251. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.414082 +0200 CEST m=+2.343091126. DO NOT EDIT. package vk // Extension names and versions const ( EXT_METAL_OBJECTS_EXTENSION_NAME = "VK_EXT_metal_objects" - EXT_METAL_OBJECTS_SPEC_VERSION = 1 + EXT_METAL_OBJECTS_SPEC_VERSION = 2 EXT_METAL_SURFACE_EXTENSION_NAME = "VK_EXT_metal_surface" EXT_METAL_SURFACE_SPEC_VERSION = 1 ) diff --git a/exten_win32.go b/exten_win32.go index 0bec98b..afc220e 100644 --- a/exten_win32.go +++ b/exten_win32.go @@ -1,5 +1,6 @@ //go:build windows -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.064033 -0500 EST m=+3.589481050. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.971908 +0200 CEST m=+1.900915918. DO NOT EDIT. package vk diff --git a/external.go b/external.go index 0a368b5..6d44e62 100644 --- a/external.go +++ b/external.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.281097 -0500 EST m=+2.806539829. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.887746 +0200 CEST m=+1.816753918. DO NOT EDIT. package vk @@ -7,30 +7,31 @@ const ( ) const ( - FALSE uint32 = 0 - TRUE uint32 = 1 - LUID_SIZE uint32 = 8 - UUID_SIZE uint32 = 16 - MAX_GLOBAL_PRIORITY_SIZE_KHR uint32 = 16 - MAX_MEMORY_HEAPS uint32 = 16 // The maximum number of unique memory heaps, each of which supporting 1 or more memory types - MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT uint32 = 32 - MAX_MEMORY_TYPES uint32 = 32 - MAX_DEVICE_GROUP_SIZE uint32 = 32 - MAX_EXTENSION_NAME_SIZE uint32 = 256 - MAX_DRIVER_NAME_SIZE uint32 = 256 - MAX_PHYSICAL_DEVICE_NAME_SIZE uint32 = 256 - MAX_DESCRIPTION_SIZE uint32 = 256 - MAX_DRIVER_INFO_SIZE uint32 = 256 - SHADER_UNUSED_KHR uint32 = ^uint32(0) - QUEUE_FAMILY_IGNORED uint32 = ^uint32(0) - REMAINING_MIP_LEVELS uint32 = ^uint32(0) - SUBPASS_EXTERNAL uint32 = ^uint32(0) - REMAINING_ARRAY_LAYERS uint32 = ^uint32(0) - ATTACHMENT_UNUSED uint32 = ^uint32(0) - REMAINING_3D_SLICES_EXT uint32 = ^uint32(0) - SHADER_INDEX_UNUSED_AMDX uint32 = ^uint32(0) - QUEUE_FAMILY_EXTERNAL uint32 = ^uint32(1) - QUEUE_FAMILY_FOREIGN_EXT uint32 = ^uint32(2) + FALSE uint32 = 0 + TRUE uint32 = 1 + LUID_SIZE uint32 = 8 + MAX_MEMORY_HEAPS uint32 = 16 // The maximum number of unique memory heaps, each of which supporting 1 or more memory types + UUID_SIZE uint32 = 16 + MAX_GLOBAL_PRIORITY_SIZE_KHR uint32 = 16 + MAX_DEVICE_GROUP_SIZE uint32 = 32 + MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT uint32 = 32 + MAX_MEMORY_TYPES uint32 = 32 + MAX_DRIVER_INFO_SIZE uint32 = 256 + MAX_PHYSICAL_DEVICE_NAME_SIZE uint32 = 256 + MAX_DESCRIPTION_SIZE uint32 = 256 + MAX_DRIVER_NAME_SIZE uint32 = 256 + MAX_EXTENSION_NAME_SIZE uint32 = 256 + REMAINING_MIP_LEVELS uint32 = ^uint32(0) + REMAINING_ARRAY_LAYERS uint32 = ^uint32(0) + SUBPASS_EXTERNAL uint32 = ^uint32(0) + SHADER_INDEX_UNUSED_AMDX uint32 = ^uint32(0) + ATTACHMENT_UNUSED uint32 = ^uint32(0) + REMAINING_3D_SLICES_EXT uint32 = ^uint32(0) + MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR uint32 = ^uint32(0) + QUEUE_FAMILY_IGNORED uint32 = ^uint32(0) + SHADER_UNUSED_KHR uint32 = ^uint32(0) + QUEUE_FAMILY_EXTERNAL uint32 = ^uint32(1) + QUEUE_FAMILY_FOREIGN_EXT uint32 = ^uint32(2) ) const ( diff --git a/handle.go b/handle.go index 78e46d8..7faeab0 100644 --- a/handle.go +++ b/handle.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.273333 -0500 EST m=+2.798776048. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.518948 +0200 CEST m=+1.447955210. DO NOT EDIT. package vk diff --git a/static_common.go b/static_common.go index 61a7777..bdaaa47 100644 --- a/static_common.go +++ b/static_common.go @@ -2,6 +2,7 @@ package vk import ( "bytes" + "fmt" "runtime" "unsafe" ) @@ -35,7 +36,7 @@ func max(nums ...int) int { // Error implements the error interface // TODO: A way for commands to indicate if the Result code is an error for that command, or an unexpected return value? func (r Result) Error() string { - return r.String() + return fmt.Sprintf("%d", r) } type vkCommand struct { diff --git a/struct.go b/struct.go index cf42c91..e4f4de3 100644 --- a/struct.go +++ b/struct.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:09.632589 -0500 EST m=+2.158027596. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.615869 +0200 CEST m=+1.544876501. DO NOT EDIT. package vk @@ -165,6 +165,7 @@ type AccelerationStructureBuildSizesInfoKHR struct { BuildScratchSize DeviceSize } +// WARNING - struct AccelerationStructureBuildSizesInfoKHR is returned only, which is not yet handled in the binding type _vkAccelerationStructureBuildSizesInfoKHR struct { sType StructureType pNext unsafe.Pointer @@ -238,7 +239,7 @@ type AccelerationStructureCreateInfoKHR struct { PNext unsafe.Pointer CreateFlags AccelerationStructureCreateFlagsKHR Buffer Buffer - // Specified in bytes; + // Specified in bytes; Offset DeviceSize Size DeviceSize Typ AccelerationStructureTypeKHR @@ -1036,7 +1037,7 @@ func (s *AcquireNextImageInfoKHR) Vulkanize() *_vkAcquireNextImageInfoKHR { type AcquireProfilingLockInfoKHR struct { // SType = STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR PNext unsafe.Pointer - // Acquire profiling lock flags; + // Acquire profiling lock flags; Flags AcquireProfilingLockFlagsKHR Timeout uint64 } @@ -1129,6 +1130,82 @@ func (s *AmigoProfilingSubmitInfoSEC) Vulkanize() *_vkAmigoProfilingSubmitInfoSE return rval } +// AntiLagDataAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAntiLagDataAMD.html +type AntiLagDataAMD struct { + // SType = STRUCTURE_TYPE_ANTI_LAG_DATA_AMD + PNext unsafe.Pointer + Mode AntiLagModeAMD + MaxFPS uint32 + PPresentationInfo *AntiLagPresentationInfoAMD +} + +type _vkAntiLagDataAMD struct { + sType StructureType + pNext unsafe.Pointer + mode AntiLagModeAMD + maxFPS uint32 + pPresentationInfo *_vkAntiLagPresentationInfoAMD +} + +func (s *_vkAntiLagDataAMD) Goify() *AntiLagDataAMD { + rval := &AntiLagDataAMD{ + PNext: (unsafe.Pointer)(s.pNext), + Mode: (AntiLagModeAMD)(s.mode), + MaxFPS: (uint32)(s.maxFPS), + // Unexpected pointer member pPresentationInfo in returned struct + } + return rval +} +func (s *AntiLagDataAMD) Vulkanize() *_vkAntiLagDataAMD { + if s == nil { + return nil + } + rval := &_vkAntiLagDataAMD{ + sType: STRUCTURE_TYPE_ANTI_LAG_DATA_AMD, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + mode: (AntiLagModeAMD)(s.Mode), /*cb*/ + maxFPS: (uint32)(s.MaxFPS), /*cb*/ + pPresentationInfo: (s.PPresentationInfo.Vulkanize()), /*c rem*/ + } + return rval +} + +// AntiLagPresentationInfoAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAntiLagPresentationInfoAMD.html +type AntiLagPresentationInfoAMD struct { + // SType = STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD + PNext unsafe.Pointer + Stage AntiLagStageAMD + FrameIndex uint64 +} + +type _vkAntiLagPresentationInfoAMD struct { + sType StructureType + pNext unsafe.Pointer + stage AntiLagStageAMD + frameIndex uint64 +} + +func (s *_vkAntiLagPresentationInfoAMD) Goify() *AntiLagPresentationInfoAMD { + rval := &AntiLagPresentationInfoAMD{ + PNext: (unsafe.Pointer)(s.pNext), + Stage: (AntiLagStageAMD)(s.stage), + FrameIndex: (uint64)(s.frameIndex), + } + return rval +} +func (s *AntiLagPresentationInfoAMD) Vulkanize() *_vkAntiLagPresentationInfoAMD { + if s == nil { + return nil + } + rval := &_vkAntiLagPresentationInfoAMD{ + sType: STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stage: (AntiLagStageAMD)(s.Stage), /*cb*/ + frameIndex: (uint64)(s.FrameIndex), /*cb*/ + } + return rval +} + // ApplicationInfo: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkApplicationInfo.html type ApplicationInfo struct { // SType = STRUCTURE_TYPE_APPLICATION_INFO @@ -1226,13 +1303,13 @@ type AttachmentDescription struct { Flags AttachmentDescriptionFlags Format Format Samples SampleCountFlagBits - // Load operation for color or depth data; + // Load operation for color or depth data; LoadOp AttachmentLoadOp - // Store operation for color or depth data; + // Store operation for color or depth data; StoreOp AttachmentStoreOp - // Load operation for stencil data; + // Load operation for stencil data; StencilLoadOp AttachmentLoadOp - // Store operation for stencil data; + // Store operation for stencil data; StencilStoreOp AttachmentStoreOp InitialLayout ImageLayout FinalLayout ImageLayout @@ -1259,13 +1336,13 @@ type AttachmentDescription2 struct { Flags AttachmentDescriptionFlags Format Format Samples SampleCountFlagBits - // Load operation for color or depth data; + // Load operation for color or depth data; LoadOp AttachmentLoadOp - // Store operation for color or depth data; + // Store operation for color or depth data; StoreOp AttachmentStoreOp - // Load operation for stencil data; + // Load operation for stencil data; StencilLoadOp AttachmentLoadOp - // Store operation for stencil data; + // Store operation for stencil data; StencilStoreOp AttachmentStoreOp InitialLayout ImageLayout FinalLayout ImageLayout @@ -1822,6 +1899,112 @@ func (s *BindBufferMemoryInfoKHR) Vulkanize() *_vkBindBufferMemoryInfoKHR { return rval } +// BindDescriptorBufferEmbeddedSamplersInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBindDescriptorBufferEmbeddedSamplersInfoEXT.html +type BindDescriptorBufferEmbeddedSamplersInfoEXT struct { + // SType = STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT + PNext unsafe.Pointer + StageFlags ShaderStageFlags + Layout PipelineLayout + Set uint32 +} + +type _vkBindDescriptorBufferEmbeddedSamplersInfoEXT struct { + sType StructureType + pNext unsafe.Pointer + stageFlags ShaderStageFlags + layout PipelineLayout + set uint32 +} + +func (s *_vkBindDescriptorBufferEmbeddedSamplersInfoEXT) Goify() *BindDescriptorBufferEmbeddedSamplersInfoEXT { + rval := &BindDescriptorBufferEmbeddedSamplersInfoEXT{ + PNext: (unsafe.Pointer)(s.pNext), + StageFlags: (ShaderStageFlags)(s.stageFlags), + Layout: (PipelineLayout)(s.layout), + Set: (uint32)(s.set), + } + return rval +} +func (s *BindDescriptorBufferEmbeddedSamplersInfoEXT) Vulkanize() *_vkBindDescriptorBufferEmbeddedSamplersInfoEXT { + if s == nil { + return nil + } + rval := &_vkBindDescriptorBufferEmbeddedSamplersInfoEXT{ + sType: STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stageFlags: (ShaderStageFlags)(s.StageFlags), /*cb*/ + layout: (PipelineLayout)(s.Layout), /*cb*/ + set: (uint32)(s.Set), /*cb*/ + } + return rval +} + +// BindDescriptorSetsInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBindDescriptorSetsInfoKHR.html +type BindDescriptorSetsInfoKHR struct { + // SType = STRUCTURE_TYPE_BIND_DESCRIPTOR_SETS_INFO_KHR + PNext unsafe.Pointer + StageFlags ShaderStageFlags + Layout PipelineLayout + FirstSet uint32 + // descriptorSetCount + PDescriptorSets []DescriptorSet + // dynamicOffsetCount + PDynamicOffsets []uint32 +} + +type _vkBindDescriptorSetsInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + stageFlags ShaderStageFlags + layout PipelineLayout + firstSet uint32 + descriptorSetCount uint32 + pDescriptorSets *DescriptorSet + dynamicOffsetCount uint32 + pDynamicOffsets *uint32 +} + +func (s *_vkBindDescriptorSetsInfoKHR) Goify() *BindDescriptorSetsInfoKHR { + rval := &BindDescriptorSetsInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + StageFlags: (ShaderStageFlags)(s.stageFlags), + Layout: (PipelineLayout)(s.layout), + FirstSet: (uint32)(s.firstSet), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pDescriptorSets in returned struct + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pDynamicOffsets in returned struct + } + return rval +} +func (s *BindDescriptorSetsInfoKHR) Vulkanize() *_vkBindDescriptorSetsInfoKHR { + if s == nil { + return nil + } + + var psl_pDescriptorSets *DescriptorSet + if len(s.PDescriptorSets) > 0 { + psl_pDescriptorSets = &s.PDescriptorSets[0] + } + + var psl_pDynamicOffsets *uint32 + if len(s.PDynamicOffsets) > 0 { + psl_pDynamicOffsets = &s.PDynamicOffsets[0] + } + rval := &_vkBindDescriptorSetsInfoKHR{ + sType: STRUCTURE_TYPE_BIND_DESCRIPTOR_SETS_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stageFlags: (ShaderStageFlags)(s.StageFlags), /*cb*/ + layout: (PipelineLayout)(s.Layout), /*cb*/ + firstSet: (uint32)(s.FirstSet), /*cb*/ + descriptorSetCount: uint32(len(s.PDescriptorSets)), /*c6-a*/ + pDescriptorSets: psl_pDescriptorSets, /*c rem*/ + dynamicOffsetCount: uint32(len(s.PDynamicOffsets)), /*c6-a*/ + pDynamicOffsets: psl_pDynamicOffsets, /*c rem*/ + } + return rval +} + // BindImageMemoryDeviceGroupInfo: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBindImageMemoryDeviceGroupInfo.html type BindImageMemoryDeviceGroupInfo struct { // SType = STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO @@ -2063,6 +2246,38 @@ func (s *BindIndexBufferIndirectCommandNV) Vulkanize() *_vkBindIndexBufferIndire return rval } +// BindMemoryStatusKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBindMemoryStatusKHR.html +type BindMemoryStatusKHR struct { + // SType = STRUCTURE_TYPE_BIND_MEMORY_STATUS_KHR + PNext unsafe.Pointer + PResult *Result +} + +type _vkBindMemoryStatusKHR struct { + sType StructureType + pNext unsafe.Pointer + pResult *Result +} + +func (s *_vkBindMemoryStatusKHR) Goify() *BindMemoryStatusKHR { + rval := &BindMemoryStatusKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PResult: (*Result)(s.pResult), + } + return rval +} +func (s *BindMemoryStatusKHR) Vulkanize() *_vkBindMemoryStatusKHR { + if s == nil { + return nil + } + rval := &_vkBindMemoryStatusKHR{ + sType: STRUCTURE_TYPE_BIND_MEMORY_STATUS_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pResult: (*Result)(s.PResult), /*cb*/ + } + return rval +} + // BindPipelineIndirectCommandNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBindPipelineIndirectCommandNV.html type BindPipelineIndirectCommandNV struct { PipelineAddress DeviceAddress @@ -2420,11 +2635,11 @@ func (s *BufferCaptureDescriptorDataInfoEXT) Vulkanize() *_vkBufferCaptureDescri // BufferCopy: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBufferCopy.html type BufferCopy struct { - // Specified in bytes; + // Specified in bytes; SrcOffset DeviceSize - // Specified in bytes; + // Specified in bytes; DstOffset DeviceSize - // Specified in bytes; + // Specified in bytes; Size DeviceSize } @@ -2446,11 +2661,11 @@ func (s *BufferCopy) Vulkanize() *_vkBufferCopy { type BufferCopy2 struct { // SType = STRUCTURE_TYPE_BUFFER_COPY_2 PNext unsafe.Pointer - // Specified in bytes; + // Specified in bytes; SrcOffset DeviceSize - // Specified in bytes; + // Specified in bytes; DstOffset DeviceSize - // Specified in bytes; + // Specified in bytes; Size DeviceSize } @@ -2507,11 +2722,11 @@ func (s *BufferCopy2KHR) Vulkanize() *_vkBufferCopy2KHR { type BufferCreateInfo struct { // SType = STRUCTURE_TYPE_BUFFER_CREATE_INFO PNext unsafe.Pointer - // Buffer creation flags; + // Buffer creation flags; Flags BufferCreateFlags - // Specified in bytes; + // Specified in bytes; Size DeviceSize - // Buffer usage flags; + // Buffer usage flags; Usage BufferUsageFlags SharingMode SharingMode // queueFamilyIndexCount @@ -2665,15 +2880,15 @@ func (s *BufferDeviceAddressInfoKHR) Vulkanize() *_vkBufferDeviceAddressInfoKHR // BufferImageCopy: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBufferImageCopy.html type BufferImageCopy struct { - // Specified in bytes; + // Specified in bytes; BufferOffset DeviceSize - // Specified in texels; + // Specified in texels; BufferRowLength uint32 BufferImageHeight uint32 ImageSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; ImageOffset Offset3D - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; ImageExtent Extent3D } @@ -2716,15 +2931,15 @@ func (s *BufferImageCopy) Vulkanize() *_vkBufferImageCopy { type BufferImageCopy2 struct { // SType = STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2 PNext unsafe.Pointer - // Specified in bytes; + // Specified in bytes; BufferOffset DeviceSize - // Specified in texels; + // Specified in texels; BufferRowLength uint32 BufferImageHeight uint32 ImageSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; ImageOffset Offset3D - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; ImageExtent Extent3D } @@ -2790,19 +3005,19 @@ func (s *BufferImageCopy2KHR) Vulkanize() *_vkBufferImageCopy2KHR { type BufferMemoryBarrier struct { // SType = STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER PNext unsafe.Pointer - // Memory accesses from the source of the dependency to synchronize; + // Memory accesses from the source of the dependency to synchronize; SrcAccessMask AccessFlags - // Memory accesses from the destination of the dependency to synchronize; + // Memory accesses from the destination of the dependency to synchronize; DstAccessMask AccessFlags - // Queue family to transition ownership from; + // Queue family to transition ownership from; SrcQueueFamilyIndex uint32 - // Queue family to transition ownership to; + // Queue family to transition ownership to; DstQueueFamilyIndex uint32 - // Buffer to sync; + // Buffer to sync; Buffer Buffer - // Offset within the buffer to sync; + // Offset within the buffer to sync; Offset DeviceSize - // Amount of bytes to sync; + // Amount of bytes to sync; Size DeviceSize } @@ -3069,11 +3284,11 @@ type BufferViewCreateInfo struct { PNext unsafe.Pointer Flags BufferViewCreateFlags Buffer Buffer - // Optionally specifies format of elements; + // Optionally specifies format of elements; Format Format - // Specified in bytes; + // Specified in bytes; Offset DeviceSize - // View size specified in bytes; + // View size specified in bytes; Rang DeviceSize } @@ -3116,32 +3331,50 @@ func (s *BufferViewCreateInfo) Vulkanize() *_vkBufferViewCreateInfo { // CalibratedTimestampInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkCalibratedTimestampInfoEXT.html type CalibratedTimestampInfoEXT struct { - // SType = STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT +} + +type _vkCalibratedTimestampInfoEXT = CalibratedTimestampInfoEXT + +func (s *_vkCalibratedTimestampInfoEXT) Goify() *CalibratedTimestampInfoEXT { + rval := (*CalibratedTimestampInfoEXT)(s) + return rval +} +func (s *CalibratedTimestampInfoEXT) Vulkanize() *_vkCalibratedTimestampInfoEXT { + if s == nil { + return nil + } + rval := (*_vkCalibratedTimestampInfoEXT)(s) + return rval +} + +// CalibratedTimestampInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkCalibratedTimestampInfoKHR.html +type CalibratedTimestampInfoKHR struct { + // SType = STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_KHR PNext unsafe.Pointer - TimeDomain TimeDomainEXT + TimeDomain TimeDomainKHR } -type _vkCalibratedTimestampInfoEXT struct { +type _vkCalibratedTimestampInfoKHR struct { sType StructureType pNext unsafe.Pointer - timeDomain TimeDomainEXT + timeDomain TimeDomainKHR } -func (s *_vkCalibratedTimestampInfoEXT) Goify() *CalibratedTimestampInfoEXT { - rval := &CalibratedTimestampInfoEXT{ +func (s *_vkCalibratedTimestampInfoKHR) Goify() *CalibratedTimestampInfoKHR { + rval := &CalibratedTimestampInfoKHR{ PNext: (unsafe.Pointer)(s.pNext), - TimeDomain: (TimeDomainEXT)(s.timeDomain), + TimeDomain: (TimeDomainKHR)(s.timeDomain), } return rval } -func (s *CalibratedTimestampInfoEXT) Vulkanize() *_vkCalibratedTimestampInfoEXT { +func (s *CalibratedTimestampInfoKHR) Vulkanize() *_vkCalibratedTimestampInfoKHR { if s == nil { return nil } - rval := &_vkCalibratedTimestampInfoEXT{ - sType: STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT, /*c1*/ + rval := &_vkCalibratedTimestampInfoKHR{ + sType: STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_KHR, /*c1*/ pNext: (unsafe.Pointer)(s.PNext), /*cb*/ - timeDomain: (TimeDomainEXT)(s.TimeDomain), /*cb*/ + timeDomain: (TimeDomainKHR)(s.TimeDomain), /*cb*/ } return rval } @@ -3478,9 +3711,9 @@ func (s *CommandBufferAllocateInfo) Vulkanize() *_vkCommandBufferAllocateInfo { type CommandBufferBeginInfo struct { // SType = STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO PNext unsafe.Pointer - // Command buffer usage flags; + // Command buffer usage flags; Flags CommandBufferUsageFlags - // Pointer to inheritance info for secondary command buffers; + // Pointer to inheritance info for secondary command buffers; PInheritanceInfo *CommandBufferInheritanceInfo } @@ -3516,7 +3749,7 @@ func (s *CommandBufferBeginInfo) Vulkanize() *_vkCommandBufferBeginInfo { type CommandBufferInheritanceConditionalRenderingInfoEXT struct { // SType = STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT PNext unsafe.Pointer - // Whether this secondary command buffer may be executed during an active conditional rendering; + // Whether this secondary command buffer may be executed during an active conditional rendering; ConditionalRenderingEnable bool } @@ -3549,16 +3782,16 @@ func (s *CommandBufferInheritanceConditionalRenderingInfoEXT) Vulkanize() *_vkCo type CommandBufferInheritanceInfo struct { // SType = STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO PNext unsafe.Pointer - // Render pass for secondary command buffers; + // Render pass for secondary command buffers; RenderPass RenderPass Subpass uint32 - // Framebuffer for secondary command buffers; + // Framebuffer for secondary command buffers; Framebuffer Framebuffer - // Whether this secondary command buffer may be executed during an occlusion query; + // Whether this secondary command buffer may be executed during an occlusion query; OcclusionQueryEnable bool - // Query flags used by this secondary command buffer, if executed during an occlusion query; + // Query flags used by this secondary command buffer, if executed during an occlusion query; QueryFlags QueryControlFlags - // Pipeline statistics that may be counted for this secondary command buffer; + // Pipeline statistics that may be counted for this secondary command buffer; PipelineStatistics QueryPipelineStatisticFlags } @@ -3605,7 +3838,8 @@ func (s *CommandBufferInheritanceInfo) Vulkanize() *_vkCommandBufferInheritanceI // CommandBufferInheritanceRenderPassTransformInfoQCOM: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkCommandBufferInheritanceRenderPassTransformInfoQCOM.html type CommandBufferInheritanceRenderPassTransformInfoQCOM struct { // SType = STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM - // Pointer to next structure; + // + // Pointer to next structure; PNext unsafe.Pointer Transform SurfaceTransformFlagBitsKHR RenderArea Rect2D @@ -3755,7 +3989,7 @@ func (s *CommandBufferSubmitInfoKHR) Vulkanize() *_vkCommandBufferSubmitInfoKHR type CommandPoolCreateInfo struct { // SType = STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO PNext unsafe.Pointer - // Command pool creation flags; + // Command pool creation flags; Flags CommandPoolCreateFlags QueueFamilyIndex uint32 } @@ -3814,14 +4048,14 @@ func (s *ComponentMapping) Vulkanize() *_vkComponentMapping { type ComputePipelineCreateInfo struct { // SType = STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO PNext unsafe.Pointer - // Pipeline creation flags; + // Pipeline creation flags; Flags PipelineCreateFlags Stage PipelineShaderStageCreateInfo - // Interface layout of the pipeline; + // Interface layout of the pipeline; Layout PipelineLayout - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; BasePipelineHandle Pipeline - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; BasePipelineIndex int32 } @@ -3997,6 +4231,7 @@ type CooperativeMatrixPropertiesKHR struct { Scope ScopeKHR } +// WARNING - struct CooperativeMatrixPropertiesKHR is returned only, which is not yet handled in the binding type _vkCooperativeMatrixPropertiesKHR struct { sType StructureType pNext unsafe.Pointer @@ -4060,6 +4295,7 @@ type CooperativeMatrixPropertiesNV struct { Scope ScopeNV } +// WARNING - struct CooperativeMatrixPropertiesNV is returned only, which is not yet handled in the binding type _vkCooperativeMatrixPropertiesNV struct { sType StructureType pNext unsafe.Pointer @@ -4368,19 +4604,19 @@ func (s *CopyCommandTransformInfoQCOM) Vulkanize() *_vkCopyCommandTransformInfoQ type CopyDescriptorSet struct { // SType = STRUCTURE_TYPE_COPY_DESCRIPTOR_SET PNext unsafe.Pointer - // Source descriptor set; + // Source descriptor set; SrcSet DescriptorSet - // Binding within the source descriptor set to copy from; + // Binding within the source descriptor set to copy from; SrcBinding uint32 - // Array element within the source binding to copy from; + // Array element within the source binding to copy from; SrcArrayElement uint32 - // Destination descriptor set; + // Destination descriptor set; DstSet DescriptorSet - // Binding within the destination descriptor set to copy to; + // Binding within the destination descriptor set to copy to; DstBinding uint32 - // Array element within the destination binding to copy to; + // Array element within the destination binding to copy to; DstArrayElement uint32 - // Number of descriptors to write (determines the size of the array pointed by pDescriptors); + // Number of descriptors to write (determines the size of the array pointed by pDescriptors); DescriptorCount uint32 } @@ -4707,7 +4943,7 @@ func (s *CopyImageToMemoryInfoEXT) Vulkanize() *_vkCopyImageToMemoryInfoEXT { type CopyMemoryIndirectCommandNV struct { SrcAddress DeviceAddress DstAddress DeviceAddress - // Specified in bytes; + // Specified in bytes; Size DeviceSize } @@ -4768,13 +5004,13 @@ func (s *CopyMemoryToAccelerationStructureInfoKHR) Vulkanize() *_vkCopyMemoryToA // CopyMemoryToImageIndirectCommandNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkCopyMemoryToImageIndirectCommandNV.html type CopyMemoryToImageIndirectCommandNV struct { SrcAddress DeviceAddress - // Specified in texels; + // Specified in texels; BufferRowLength uint32 BufferImageHeight uint32 ImageSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; ImageOffset Offset3D - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; ImageExtent Extent3D } @@ -5310,9 +5546,9 @@ func (s *CudaModuleCreateInfoNV) Vulkanize() *_vkCudaModuleCreateInfoNV { type DebugMarkerMarkerInfoEXT struct { // SType = STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT PNext unsafe.Pointer - // Name of the debug marker; + // Name of the debug marker; PMarkerName string - // Optional color for debug marker; + // Optional color for debug marker; Color [4]float32 } @@ -5348,11 +5584,11 @@ func (s *DebugMarkerMarkerInfoEXT) Vulkanize() *_vkDebugMarkerMarkerInfoEXT { type DebugMarkerObjectNameInfoEXT struct { // SType = STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT PNext unsafe.Pointer - // The type of the object; + // The type of the object; ObjectType DebugReportObjectTypeEXT - // The handle of the object, cast to uint64_t; + // The handle of the object, cast to uint64_t; Object uint64 - // Name to apply to the object; + // Name to apply to the object; PObjectName string } @@ -5391,15 +5627,15 @@ func (s *DebugMarkerObjectNameInfoEXT) Vulkanize() *_vkDebugMarkerObjectNameInfo type DebugMarkerObjectTagInfoEXT struct { // SType = STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT PNext unsafe.Pointer - // The type of the object; + // The type of the object; ObjectType DebugReportObjectTypeEXT - // The handle of the object, cast to uint64_t; + // The handle of the object, cast to uint64_t; Object uint64 - // The name of the tag to set on the object; + // The name of the tag to set on the object; TagName uint64 - // The length in bytes of the tag data; + // The length in bytes of the tag data; TagSize uintptr - // Tag data to attach to the object; + // Tag data to attach to the object; PTag unsafe.Pointer } @@ -5444,11 +5680,11 @@ func (s *DebugMarkerObjectTagInfoEXT) Vulkanize() *_vkDebugMarkerObjectTagInfoEX type DebugReportCallbackCreateInfoEXT struct { // SType = STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT PNext unsafe.Pointer - // Indicates which events call this callback; + // Indicates which events call this callback; Flags DebugReportFlagsEXT - // Function pointer of a callback function; + // Function pointer of a callback function; PfnCallback PFN_vkDebugReportCallbackEXT - // User data provided to callback function; + // Data provided to callback function; PUserData unsafe.Pointer } @@ -5754,9 +5990,9 @@ func (s *DebugUtilsObjectTagInfoEXT) Vulkanize() *_vkDebugUtilsObjectTagInfoEXT type DecompressMemoryRegionNV struct { SrcAddress DeviceAddress DstAddress DeviceAddress - // Specified in bytes; + // Specified in bytes; CompressedSize DeviceSize - // Specified in bytes; + // Specified in bytes; DecompressedSize DeviceSize DecompressionMethod MemoryDecompressionMethodFlagsNV } @@ -5779,7 +6015,7 @@ func (s *DecompressMemoryRegionNV) Vulkanize() *_vkDecompressMemoryRegionNV { type DedicatedAllocationBufferCreateInfoNV struct { // SType = STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV PNext unsafe.Pointer - // Whether this buffer uses a dedicated allocation; + // Whether this buffer uses a dedicated allocation; DedicatedAllocation bool } @@ -5812,7 +6048,7 @@ func (s *DedicatedAllocationBufferCreateInfoNV) Vulkanize() *_vkDedicatedAllocat type DedicatedAllocationImageCreateInfoNV struct { // SType = STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV PNext unsafe.Pointer - // Whether this image uses a dedicated allocation; + // Whether this image uses a dedicated allocation; DedicatedAllocation bool } @@ -5845,9 +6081,9 @@ func (s *DedicatedAllocationImageCreateInfoNV) Vulkanize() *_vkDedicatedAllocati type DedicatedAllocationMemoryAllocateInfoNV struct { // SType = STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV PNext unsafe.Pointer - // Image that this allocation will be bound to; + // Image that this allocation will be bound to; Image Image - // Buffer that this allocation will be bound to; + // Buffer that this allocation will be bound to; Buffer Buffer } @@ -6166,11 +6402,11 @@ func (s *DescriptorBufferBindingPushDescriptorBufferHandleEXT) Vulkanize() *_vkD // DescriptorBufferInfo: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDescriptorBufferInfo.html type DescriptorBufferInfo struct { - // Buffer used for this descriptor slot.; + // Buffer used for this descriptor slot.; Buffer Buffer - // Base offset from buffer start in bytes to update in the descriptor set.; + // Base offset from buffer start in bytes to update in the descriptor set.; Offset DeviceSize - // Size in bytes of the buffer resource for this descriptor update.; + // Size in bytes of the buffer resource for this descriptor update.; Rang DeviceSize } @@ -6226,11 +6462,11 @@ func (s *DescriptorGetInfoEXT) Vulkanize() *_vkDescriptorGetInfoEXT { // DescriptorImageInfo: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDescriptorImageInfo.html type DescriptorImageInfo struct { - // Sampler to write to the descriptor in case it is a SAMPLER or COMBINED_IMAGE_SAMPLER descriptor. Ignored otherwise.; + // Sampler to write to the descriptor in case it is a SAMPLER or COMBINED_IMAGE_SAMPLER descriptor. Ignored otherwise.; Sampler Sampler - // Image view to write to the descriptor in case it is a SAMPLED_IMAGE, STORAGE_IMAGE, COMBINED_IMAGE_SAMPLER, or INPUT_ATTACHMENT descriptor. Ignored otherwise.; + // Image view to write to the descriptor in case it is a SAMPLED_IMAGE, STORAGE_IMAGE, COMBINED_IMAGE_SAMPLER, or INPUT_ATTACHMENT descriptor. Ignored otherwise.; ImageView ImageView - // Layout the image is expected to be in when accessed using this descriptor (only used if imageView is not VK_NULL_HANDLE).; + // Layout the image is expected to be in when accessed using this descriptor (only used if imageView is not VK_NULL_HANDLE).; ImageLayout ImageLayout } @@ -6418,15 +6654,15 @@ func (s *DescriptorSetBindingReferenceVALVE) Vulkanize() *_vkDescriptorSetBindin // DescriptorSetLayoutBinding: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDescriptorSetLayoutBinding.html type DescriptorSetLayoutBinding struct { - // Binding number for this entry; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. + // Binding number for this entry; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. Binding uint32 - // Type of the descriptors in this binding; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. + // Type of the descriptors in this binding; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. DescriptorType DescriptorType - // Number of descriptors in this binding; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. + // Number of descriptors in this binding; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. DescriptorCount uint32 // Forced include via exceptions.json - // Shader stages this binding is visible to; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. + // Shader stages this binding is visible to; descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. StageFlags ShaderStageFlags - // Immutable samplers (used if descriptor type is SAMPLER or COMBINED_IMAGE_SAMPLER, is either NULL or contains count number of elements); descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. + // Immutable samplers (used if descriptor type is SAMPLER or COMBINED_IMAGE_SAMPLER, is either NULL or contains count number of elements); descriptorCount references an array field in the XML, but that field might be null and then descriptor count has a different meaning. See the man pages/spec. PImmutableSamplers []Sampler } @@ -6531,9 +6767,11 @@ type DescriptorSetLayoutCreateInfo struct { // SType = STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO PNext unsafe.Pointer Flags DescriptorSetLayoutCreateFlags - // Number of bindings in the descriptor set layout; + // Number of bindings in the descriptor set layout; + // // bindingCount - // Array of descriptor set layout bindings; + // + // Array of descriptor set layout bindings; PBindings []DescriptorSetLayoutBinding } @@ -6779,14 +7017,16 @@ type DescriptorUpdateTemplateCreateInfo struct { // SType = STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO PNext unsafe.Pointer Flags DescriptorUpdateTemplateCreateFlags - // Number of descriptor update entries to use for the update template; + // Number of descriptor update entries to use for the update template; + // // descriptorUpdateEntryCount - // Descriptor update entries for the template; + // + // Descriptor update entries for the template; PDescriptorUpdateEntries []DescriptorUpdateTemplateEntry TemplateType DescriptorUpdateTemplateType DescriptorSetLayout DescriptorSetLayout PipelineBindPoint PipelineBindPoint - // If used for push descriptors, this is the only allowed layout; + // If used for push descriptors, this is the only allowed layout; PipelineLayout PipelineLayout Set uint32 } @@ -6862,17 +7102,17 @@ func (s *DescriptorUpdateTemplateCreateInfoKHR) Vulkanize() *_vkDescriptorUpdate // DescriptorUpdateTemplateEntry: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDescriptorUpdateTemplateEntry.html type DescriptorUpdateTemplateEntry struct { - // Binding within the destination descriptor set to write; + // Binding within the destination descriptor set to write; DstBinding uint32 - // Array element within the destination binding to write; + // Array element within the destination binding to write; DstArrayElement uint32 - // Number of descriptors to write; + // Number of descriptors to write; DescriptorCount uint32 - // Descriptor type to write; + // Descriptor type to write; DescriptorType DescriptorType - // Offset into pData where the descriptors to update are stored; + // Offset into pData where the descriptors to update are stored; Offset uintptr - // Stride between two descriptors in pData when writing more than one descriptor; + // Stride between two descriptors in pData when writing more than one descriptor; Stride uintptr } @@ -7010,7 +7250,8 @@ type DeviceCreateInfo struct { // queueCreateInfoCount PQueueCreateInfos []DeviceQueueCreateInfo // enabledLayerCount - // Ordered list of layer names to be enabled; + // + // Ordered list of layer names to be enabled; PpEnabledLayerNames []string // enabledExtensionCount PpEnabledExtensionNames []string @@ -7221,7 +7462,7 @@ type DeviceFaultCountsEXT struct { PNext unsafe.Pointer AddressInfoCount uint32 VendorInfoCount uint32 - // Specified in bytes; + // Specified in bytes; VendorBinarySize DeviceSize } @@ -7260,13 +7501,14 @@ func (s *DeviceFaultCountsEXT) Vulkanize() *_vkDeviceFaultCountsEXT { type DeviceFaultInfoEXT struct { // SType = STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT PNext unsafe.Pointer - // Free-form description of the fault; + // Free-form description of the fault; Description string PAddressInfos *DeviceFaultAddressInfoEXT PVendorInfos *DeviceFaultVendorInfoEXT PVendorBinaryData unsafe.Pointer } +// WARNING - struct DeviceFaultInfoEXT is returned only, which is not yet handled in the binding type _vkDeviceFaultInfoEXT struct { sType StructureType pNext unsafe.Pointer @@ -7332,7 +7574,7 @@ func (s *DeviceFaultVendorBinaryHeaderVersionOneEXT) Vulkanize() *_vkDeviceFault // DeviceFaultVendorInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDeviceFaultVendorInfoEXT.html type DeviceFaultVendorInfoEXT struct { - // Free-form description of the fault; + // Free-form description of the fault; Description string VendorFaultCode uint64 VendorFaultData uint64 @@ -8354,7 +8596,7 @@ type DisplayModeCreateInfoKHR struct { // SType = STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR PNext unsafe.Pointer Flags DisplayModeCreateFlagsKHR - // The parameters this mode uses.; + // The parameters this mode uses.; Parameters DisplayModeParametersKHR } @@ -8388,9 +8630,9 @@ func (s *DisplayModeCreateInfoKHR) Vulkanize() *_vkDisplayModeCreateInfoKHR { // DisplayModeParametersKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDisplayModeParametersKHR.html type DisplayModeParametersKHR struct { - // Visible scanout region.; + // Visible scanout region.; VisibleRegion Extent2D - // Number of times per second the display is updated.; + // Number of times per second the display is updated.; RefreshRate uint32 } @@ -8452,9 +8694,9 @@ func (s *DisplayModeProperties2KHR) Vulkanize() *_vkDisplayModeProperties2KHR { // DisplayModePropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDisplayModePropertiesKHR.html type DisplayModePropertiesKHR struct { - // Handle of this display mode.; + // Handle of this display mode.; DisplayMode DisplayModeKHR - // The parameters this mode uses.; + // The parameters this mode uses.; Parameters DisplayModeParametersKHR } @@ -8550,9 +8792,9 @@ func (s *DisplayPlaneCapabilities2KHR) Vulkanize() *_vkDisplayPlaneCapabilities2 // DisplayPlaneCapabilitiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDisplayPlaneCapabilitiesKHR.html type DisplayPlaneCapabilitiesKHR struct { - // Types of alpha blending supported, if any.; + // Types of alpha blending supported, if any.; SupportedAlpha DisplayPlaneAlphaFlagsKHR - // Does the plane have any position and extent restrictions?; + // Does the plane have any position and extent restrictions?; MinSrcPosition Offset2D MaxSrcPosition Offset2D MinSrcExtent Extent2D @@ -8679,9 +8921,9 @@ func (s *DisplayPlaneProperties2KHR) Vulkanize() *_vkDisplayPlaneProperties2KHR // DisplayPlanePropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDisplayPlanePropertiesKHR.html type DisplayPlanePropertiesKHR struct { - // Display the plane is currently associated with. Will be VK_NULL_HANDLE if the plane is not in use.; + // Display the plane is currently associated with. Will be VK_NULL_HANDLE if the plane is not in use.; CurrentDisplay DisplayKHR - // Current z-order of the plane.; + // Current z-order of the plane.; CurrentStackIndex uint32 } @@ -8735,11 +8977,11 @@ func (s *DisplayPowerInfoEXT) Vulkanize() *_vkDisplayPowerInfoEXT { type DisplayPresentInfoKHR struct { // SType = STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR PNext unsafe.Pointer - // Rectangle within the presentable image to read pixel data from when presenting to the display.; + // Rectangle within the presentable image to read pixel data from when presenting to the display.; SrcRect Rect2D - // Rectangle within the current display mode's visible region to display srcRectangle in.; + // Rectangle within the current display mode's visible region to display srcRectangle in.; DstRect Rect2D - // For smart displays, use buffered mode. If the display properties member "persistentMode" is VK_FALSE, this member must always be VK_FALSE.; + // For smart displays, use buffered mode. If the display properties member "persistentMode" is VK_FALSE, this member must always be VK_FALSE.; Persistent bool } @@ -8809,19 +9051,19 @@ func (s *DisplayProperties2KHR) Vulkanize() *_vkDisplayProperties2KHR { // DisplayPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDisplayPropertiesKHR.html type DisplayPropertiesKHR struct { - // Handle of the display object; + // Handle of the display object; Display DisplayKHR - // Name of the display; + // Name of the display; DisplayName string - // In millimeters?; + // In millimeters?; PhysicalDimensions Extent2D - // Max resolution for CRT?; + // Max resolution for CRT?; PhysicalResolution Extent2D - // one or more bits from VkSurfaceTransformFlagsKHR; + // one or more bits from VkSurfaceTransformFlagsKHR; SupportedTransforms SurfaceTransformFlagsKHR - // VK_TRUE if the overlay plane's z-order can be changed on this display.; + // VK_TRUE if the overlay plane's z-order can be changed on this display.; PlaneReorderPossible bool - // VK_TRUE if this is a "smart" display that supports self-refresh/internal buffering.; + // VK_TRUE if this is a "smart" display that supports self-refresh/internal buffering.; PersistentContent bool } @@ -8869,19 +9111,19 @@ type DisplaySurfaceCreateInfoKHR struct { // SType = STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR PNext unsafe.Pointer Flags DisplaySurfaceCreateFlagsKHR - // The mode to use when displaying this surface; + // The mode to use when displaying this surface; DisplayMode DisplayModeKHR - // The plane on which this surface appears. Must be between 0 and the value returned by vkGetPhysicalDeviceDisplayPlanePropertiesKHR() in pPropertyCount.; + // The plane on which this surface appears. Must be between 0 and the value returned by vkGetPhysicalDeviceDisplayPlanePropertiesKHR() in pPropertyCount.; PlaneIndex uint32 - // The z-order of the plane.; + // The z-order of the plane.; PlaneStackIndex uint32 - // Transform to apply to the images as part of the scanout operation; + // Transform to apply to the images as part of the scanout operation; Transform SurfaceTransformFlagBitsKHR - // Global alpha value. Must be between 0 and 1, inclusive. Ignored if alphaMode is not VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR; + // Global alpha value. Must be between 0 and 1, inclusive. Ignored if alphaMode is not VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR; GlobalAlpha float32 - // What type of alpha blending to use. Must be a bit from vkGetDisplayPlanePropertiesKHR::supportedAlpha.; + // The type of alpha blending to use. Must be one of the bits from VkDisplayPlaneCapabilitiesKHR::supportedAlpha for this display plane; AlphaMode DisplayPlaneAlphaFlagBitsKHR - // size of the images to use with this surface; + // size of the images to use with this surface; ImageExtent Extent2D } @@ -9147,7 +9389,7 @@ func (s *DrmFormatModifierPropertiesListEXT) Vulkanize() *_vkDrmFormatModifierPr type EventCreateInfo struct { // SType = STRUCTURE_TYPE_EVENT_CREATE_INFO PNext unsafe.Pointer - // Event creation flags; + // Event creation flags; Flags EventCreateFlags } @@ -9360,9 +9602,9 @@ func (s *ExportSemaphoreCreateInfoKHR) Vulkanize() *_vkExportSemaphoreCreateInfo // ExtensionProperties: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkExtensionProperties.html type ExtensionProperties struct { - // extension name; + // extension name; ExtensionName string - // version of the extension specification implemented; + // version of the extension specification implemented; SpecVersion uint32 } @@ -9896,7 +10138,7 @@ func (s *ExternalSemaphorePropertiesKHR) Vulkanize() *_vkExternalSemaphoreProper type FenceCreateInfo struct { // SType = STRUCTURE_TYPE_FENCE_CREATE_INFO PNext unsafe.Pointer - // Fence creation flags; + // Fence creation flags; Flags FenceCreateFlags } @@ -9965,9 +10207,9 @@ func (s *FenceGetFdInfoKHR) Vulkanize() *_vkFenceGetFdInfoKHR { type FilterCubicImageViewImageFormatPropertiesEXT struct { // SType = STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT PNext unsafe.Pointer - // The combinations of format, image type (and image view type if provided) can be filtered with VK_FILTER_CUBIC_EXT; + // The combinations of format, image type (and image view type if provided) can be filtered with VK_FILTER_CUBIC_EXT; FilterCubic bool - // The combination of format, image type (and image view type if provided) can be filtered with VK_FILTER_CUBIC_EXT and ReductionMode of Min or Max; + // The combination of format, image type (and image view type if provided) can be filtered with VK_FILTER_CUBIC_EXT and ReductionMode of Min or Max; FilterCubicMinmax bool } @@ -10002,11 +10244,11 @@ func (s *FilterCubicImageViewImageFormatPropertiesEXT) Vulkanize() *_vkFilterCub // FormatProperties: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkFormatProperties.html type FormatProperties struct { - // Format features in case of linear tiling; + // Format features in case of linear tiling; LinearTilingFeatures FormatFeatureFlags - // Format features in case of optimal tiling; + // Format features in case of optimal tiling; OptimalTilingFeatures FormatFeatureFlags - // Format features supported by buffers; + // Format features supported by buffers; BufferFeatures FormatFeatureFlags } @@ -10207,9 +10449,9 @@ func (s *FrameBoundaryEXT) Vulkanize() *_vkFrameBoundaryEXT { type FramebufferAttachmentImageInfo struct { // SType = STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO PNext unsafe.Pointer - // Image creation flags; + // Image creation flags; Flags ImageCreateFlags - // Image usage flags; + // Image usage flags; Usage ImageUsageFlags Width uint32 Height uint32 @@ -10588,9 +10830,9 @@ type GeometryAABBNV struct { PNext unsafe.Pointer AabbData Buffer NumAABBs uint32 - // Stride in bytes between AABBs; + // Stride in bytes between AABBs; Stride uint32 - // Offset in bytes of the first AABB in aabbData; + // Offset in bytes of the first AABB in aabbData; Offset DeviceSize } @@ -10710,7 +10952,7 @@ type GeometryTrianglesNV struct { IndexOffset DeviceSize IndexCount uint32 IndexType IndexType - // Optional reference to array of floats representing a 3x4 row major affine transformation matrix.; + // Optional reference to array of floats representing a 3x4 row major affine transformation matrix.; TransformData Buffer TransformOffset DeviceSize } @@ -10773,19 +11015,22 @@ func (s *GeometryTrianglesNV) Vulkanize() *_vkGeometryTrianglesNV { // GetLatencyMarkerInfoNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkGetLatencyMarkerInfoNV.html type GetLatencyMarkerInfoNV struct { // SType = STRUCTURE_TYPE_GET_LATENCY_MARKER_INFO_NV - PNext unsafe.Pointer - PTimings *LatencyTimingsFrameReportNV + PNext unsafe.Pointer + // timingCount + PTimings []LatencyTimingsFrameReportNV } type _vkGetLatencyMarkerInfoNV struct { - sType StructureType - pNext unsafe.Pointer - pTimings *_vkLatencyTimingsFrameReportNV + sType StructureType + pNext unsafe.Pointer + timingCount uint32 + pTimings *_vkLatencyTimingsFrameReportNV } func (s *_vkGetLatencyMarkerInfoNV) Goify() *GetLatencyMarkerInfoNV { rval := &GetLatencyMarkerInfoNV{ PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! // Unexpected pointer member pTimings in returned struct } return rval @@ -10794,10 +11039,20 @@ func (s *GetLatencyMarkerInfoNV) Vulkanize() *_vkGetLatencyMarkerInfoNV { if s == nil { return nil } + + var psl_pTimings *_vkLatencyTimingsFrameReportNV + if len(s.PTimings) > 0 { + sl_pTimings := make([]_vkLatencyTimingsFrameReportNV, len(s.PTimings)) + for i, v := range s.PTimings { + sl_pTimings[i] = *(v.Vulkanize()) + } + psl_pTimings = &sl_pTimings[0] + } rval := &_vkGetLatencyMarkerInfoNV{ - sType: STRUCTURE_TYPE_GET_LATENCY_MARKER_INFO_NV, /*c1*/ - pNext: (unsafe.Pointer)(s.PNext), /*cb*/ - pTimings: (s.PTimings.Vulkanize()), /*c rem*/ + sType: STRUCTURE_TYPE_GET_LATENCY_MARKER_INFO_NV, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + timingCount: uint32(len(s.PTimings)), /*c6-a*/ + pTimings: psl_pTimings, /*c rem*/ } return rval } @@ -10806,10 +11061,11 @@ func (s *GetLatencyMarkerInfoNV) Vulkanize() *_vkGetLatencyMarkerInfoNV { type GraphicsPipelineCreateInfo struct { // SType = STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO PNext unsafe.Pointer - // Pipeline creation flags; + // Pipeline creation flags; Flags PipelineCreateFlags // stageCount - // One entry for each active shader stage; + // + // One entry for each active shader stage; PStages []PipelineShaderStageCreateInfo PVertexInputState *PipelineVertexInputStateCreateInfo PInputAssemblyState *PipelineInputAssemblyStateCreateInfo @@ -10820,13 +11076,13 @@ type GraphicsPipelineCreateInfo struct { PDepthStencilState *PipelineDepthStencilStateCreateInfo PColorBlendState *PipelineColorBlendStateCreateInfo PDynamicState *PipelineDynamicStateCreateInfo - // Interface layout of the pipeline; + // Interface layout of the pipeline; Layout PipelineLayout RenderPass RenderPass Subpass uint32 - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; BasePipelineHandle Pipeline - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; BasePipelineIndex int32 } @@ -11059,19 +11315,19 @@ func (s *GraphicsShaderGroupCreateInfoNV) Vulkanize() *_vkGraphicsShaderGroupCre type HdrMetadataEXT struct { // SType = STRUCTURE_TYPE_HDR_METADATA_EXT PNext unsafe.Pointer - // Display primary's Red; + // Display primary's Red; DisplayPrimaryRed XYColorEXT - // Display primary's Green; + // Display primary's Green; DisplayPrimaryGreen XYColorEXT - // Display primary's Blue; + // Display primary's Blue; DisplayPrimaryBlue XYColorEXT - // Display primary's Blue; + // Display primary's Blue; WhitePoint XYColorEXT - // Display maximum luminance; + // Display maximum luminance; MaxLuminance float32 - // Display minimum luminance; + // Display minimum luminance; MinLuminance float32 - // Content maximum luminance; + // Content maximum luminance; MaxContentLightLevel float32 MaxFrameAverageLightLevel float32 } @@ -11158,9 +11414,9 @@ func (s *HeadlessSurfaceCreateInfoEXT) Vulkanize() *_vkHeadlessSurfaceCreateInfo type HostImageCopyDevicePerformanceQueryEXT struct { // SType = STRUCTURE_TYPE_HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY_EXT PNext unsafe.Pointer - // Specifies if device access is optimal; + // Specifies if device access is optimal; OptimalDeviceAccess bool - // Specifies if memory layout is identical; + // Specifies if memory layout is identical; IdenticalMemoryLayout bool } @@ -11237,13 +11493,45 @@ func (s *HostImageLayoutTransitionInfoEXT) Vulkanize() *_vkHostImageLayoutTransi return rval } +// ImageAlignmentControlCreateInfoMESA: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageAlignmentControlCreateInfoMESA.html +type ImageAlignmentControlCreateInfoMESA struct { + // SType = STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA + PNext unsafe.Pointer + MaximumRequestedAlignment uint32 +} + +type _vkImageAlignmentControlCreateInfoMESA struct { + sType StructureType + pNext unsafe.Pointer + maximumRequestedAlignment uint32 +} + +func (s *_vkImageAlignmentControlCreateInfoMESA) Goify() *ImageAlignmentControlCreateInfoMESA { + rval := &ImageAlignmentControlCreateInfoMESA{ + PNext: (unsafe.Pointer)(s.pNext), + MaximumRequestedAlignment: (uint32)(s.maximumRequestedAlignment), + } + return rval +} +func (s *ImageAlignmentControlCreateInfoMESA) Vulkanize() *_vkImageAlignmentControlCreateInfoMESA { + if s == nil { + return nil + } + rval := &_vkImageAlignmentControlCreateInfoMESA{ + sType: STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + maximumRequestedAlignment: (uint32)(s.MaximumRequestedAlignment), /*cb*/ + } + return rval +} + // ImageBlit: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageBlit.html type ImageBlit struct { SrcSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; SrcOffsets [2]Offset3D DstSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; DstOffsets [2]Offset3D } @@ -11281,10 +11569,10 @@ type ImageBlit2 struct { // SType = STRUCTURE_TYPE_IMAGE_BLIT_2 PNext unsafe.Pointer SrcSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; SrcOffsets [2]Offset3D DstSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; DstOffsets [2]Offset3D } @@ -11457,12 +11745,12 @@ func (s *ImageCompressionPropertiesEXT) Vulkanize() *_vkImageCompressionProperti // ImageCopy: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageCopy.html type ImageCopy struct { SrcSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; SrcOffset Offset3D DstSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; DstOffset Offset3D - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; Extent Extent3D } @@ -11503,12 +11791,12 @@ type ImageCopy2 struct { // SType = STRUCTURE_TYPE_IMAGE_COPY_2 PNext unsafe.Pointer SrcSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; SrcOffset Offset3D DstSubresource ImageSubresourceLayers - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; DstOffset Offset3D - // Specified in pixels for both compressed and uncompressed images; + // Specified in pixels for both compressed and uncompressed images; Extent Extent3D } @@ -11571,7 +11859,7 @@ func (s *ImageCopy2KHR) Vulkanize() *_vkImageCopy2KHR { type ImageCreateInfo struct { // SType = STRUCTURE_TYPE_IMAGE_CREATE_INFO PNext unsafe.Pointer - // Image creation flags; + // Image creation flags; Flags ImageCreateFlags ImageType ImageType Format Format @@ -11580,15 +11868,17 @@ type ImageCreateInfo struct { ArrayLayers uint32 Samples SampleCountFlagBits Tiling ImageTiling - // Image usage flags; + // Image usage flags; Usage ImageUsageFlags - // Cross-queue-family sharing mode; + // Cross-queue-family sharing mode; SharingMode SharingMode - // Number of queue families to share across; + // Number of queue families to share across; + // // queueFamilyIndexCount - // Array of queue family indices to share across; + // + // Array of queue family indices to share across; PQueueFamilyIndices []uint32 - // Initial image layout for all subresources; + // Initial image layout for all subresources; InitialLayout ImageLayout } @@ -11838,15 +12128,15 @@ func (s *ImageFormatListCreateInfoKHR) Vulkanize() *_vkImageFormatListCreateInfo // ImageFormatProperties: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageFormatProperties.html type ImageFormatProperties struct { - // max image dimensions for this resource type; + // max image dimensions for this resource type; MaxExtent Extent3D - // max number of mipmap levels for this resource type; + // max number of mipmap levels for this resource type; MaxMipLevels uint32 - // max array size for this resource type; + // max array size for this resource type; MaxArrayLayers uint32 - // supported sample counts for this resource type; + // supported sample counts for this resource type; SampleCounts SampleCountFlags - // max size (in bytes) of this resource type; + // max size (in bytes) of this resource type; MaxResourceSize DeviceSize } @@ -11938,21 +12228,21 @@ func (s *ImageFormatProperties2KHR) Vulkanize() *_vkImageFormatProperties2KHR { type ImageMemoryBarrier struct { // SType = STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER PNext unsafe.Pointer - // Memory accesses from the source of the dependency to synchronize; + // Memory accesses from the source of the dependency to synchronize; SrcAccessMask AccessFlags - // Memory accesses from the destination of the dependency to synchronize; + // Memory accesses from the destination of the dependency to synchronize; DstAccessMask AccessFlags - // Current layout of the image; + // Current layout of the image; OldLayout ImageLayout - // New layout to transition the image to; + // New layout to transition the image to; NewLayout ImageLayout - // Queue family to transition ownership from; + // Queue family to transition ownership from; SrcQueueFamilyIndex uint32 - // Queue family to transition ownership to; + // Queue family to transition ownership to; DstQueueFamilyIndex uint32 - // Image to sync; + // Image to sync; Image Image - // Subresource range to sync; + // Subresource range to sync; SubresourceRange ImageSubresourceRange } @@ -12548,7 +12838,7 @@ type ImageToMemoryCopyEXT struct { // SType = STRUCTURE_TYPE_IMAGE_TO_MEMORY_COPY_EXT PNext unsafe.Pointer PHostPointer unsafe.Pointer - // Specified in texels; + // Specified in texels; MemoryRowLength uint32 MemoryImageHeight uint32 ImageSubresource ImageSubresourceLayers @@ -13367,10 +13657,12 @@ type InstanceCreateInfo struct { Flags InstanceCreateFlags PApplicationInfo *ApplicationInfo // enabledLayerCount - // Ordered list of layer names to be enabled; + // + // Ordered list of layer names to be enabled; PpEnabledLayerNames []string // enabledExtensionCount - // Extension names to be enabled; + // + // Extension names to be enabled; PpEnabledExtensionNames []string } @@ -13601,6 +13893,7 @@ type LatencyTimingsFrameReportNV struct { GpuRenderEndTimeUs uint64 } +// WARNING - struct LatencyTimingsFrameReportNV is returned only, which is not yet handled in the binding type _vkLatencyTimingsFrameReportNV struct { sType StructureType pNext unsafe.Pointer @@ -13667,13 +13960,13 @@ func (s *LatencyTimingsFrameReportNV) Vulkanize() *_vkLatencyTimingsFrameReportN // LayerProperties: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLayerProperties.html type LayerProperties struct { - // layer name; + // layer name; LayerName string - // version of the layer specification implemented; + // version of the layer specification implemented; SpecVersion uint32 - // build or release version of the layer's library; + // build or release version of the layer's library; ImplementationVersion uint32 - // Free-form description of the layer; + // Free-form description of the layer; Description string } @@ -13707,15 +14000,110 @@ func (s *LayerProperties) Vulkanize() *_vkLayerProperties { return rval } +// LayerSettingEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLayerSettingEXT.html +type LayerSettingEXT struct { + PLayerName string + PSettingName string + // The type of the object; + Typ LayerSettingTypeEXT + // Number of values of the setting; + ValueCount uint32 + // Values to pass for a setting; + PValues unsafe.Pointer +} + +type _vkLayerSettingEXT struct { + pLayerName *byte + pSettingName *byte + typ LayerSettingTypeEXT + valueCount uint32 + pValues unsafe.Pointer +} + +func (s *_vkLayerSettingEXT) Goify() *LayerSettingEXT { + rval := &LayerSettingEXT{ + // Unexpected pointer member pLayerName in returned struct + // Unexpected pointer member pSettingName in returned struct + Typ: (LayerSettingTypeEXT)(s.typ), + ValueCount: (uint32)(s.valueCount), + PValues: (unsafe.Pointer)(s.pValues), + } + return rval +} +func (s *LayerSettingEXT) Vulkanize() *_vkLayerSettingEXT { + if s == nil { + return nil + } + rval := &_vkLayerSettingEXT{ + pLayerName: sys_stringToBytePointer(s.PLayerName), /*c rem*/ + pSettingName: sys_stringToBytePointer(s.PSettingName), /*c rem*/ + typ: (LayerSettingTypeEXT)(s.Typ), /*cb*/ + valueCount: (uint32)(s.ValueCount), /*cb*/ + pValues: (unsafe.Pointer)(s.PValues), /*cb*/ + } + return rval +} + +// LayerSettingsCreateInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkLayerSettingsCreateInfoEXT.html +type LayerSettingsCreateInfoEXT struct { + // Must be VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT; + // + // SType = STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT + PNext unsafe.Pointer + // Number of settings to configure; + // + // settingCount + // + // Validation features to enable; + PSettings []LayerSettingEXT +} + +type _vkLayerSettingsCreateInfoEXT struct { + sType StructureType + pNext unsafe.Pointer + settingCount uint32 + pSettings *_vkLayerSettingEXT +} + +func (s *_vkLayerSettingsCreateInfoEXT) Goify() *LayerSettingsCreateInfoEXT { + rval := &LayerSettingsCreateInfoEXT{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pSettings in returned struct + } + return rval +} +func (s *LayerSettingsCreateInfoEXT) Vulkanize() *_vkLayerSettingsCreateInfoEXT { + if s == nil { + return nil + } + + var psl_pSettings *_vkLayerSettingEXT + if len(s.PSettings) > 0 { + sl_pSettings := make([]_vkLayerSettingEXT, len(s.PSettings)) + for i, v := range s.PSettings { + sl_pSettings[i] = *(v.Vulkanize()) + } + psl_pSettings = &sl_pSettings[0] + } + rval := &_vkLayerSettingsCreateInfoEXT{ + sType: STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + settingCount: uint32(len(s.PSettings)), /*c6-a*/ + pSettings: psl_pSettings, /*c rem*/ + } + return rval +} + // MappedMemoryRange: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMappedMemoryRange.html type MappedMemoryRange struct { // SType = STRUCTURE_TYPE_MAPPED_MEMORY_RANGE PNext unsafe.Pointer - // Mapped memory object; + // Mapped memory object; Memory DeviceMemory - // Offset within the memory object where the range starts; + // Offset within the memory object where the range starts; Offset DeviceSize - // Size of the range within the memory object; + // Size of the range within the memory object; Size DeviceSize } @@ -13808,9 +14196,9 @@ func (s *MemoryAllocateFlagsInfoKHR) Vulkanize() *_vkMemoryAllocateFlagsInfoKHR type MemoryAllocateInfo struct { // SType = STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO PNext unsafe.Pointer - // Size of memory allocation; + // Size of memory allocation; AllocationSize DeviceSize - // Index of the of the memory type to allocate from; + // Index of the of the memory type to allocate from; MemoryTypeIndex uint32 } @@ -13846,9 +14234,9 @@ func (s *MemoryAllocateInfo) Vulkanize() *_vkMemoryAllocateInfo { type MemoryBarrier struct { // SType = STRUCTURE_TYPE_MEMORY_BARRIER PNext unsafe.Pointer - // Memory accesses from the source of the dependency to synchronize; + // Memory accesses from the source of the dependency to synchronize; SrcAccessMask AccessFlags - // Memory accesses from the destination of the dependency to synchronize; + // Memory accesses from the destination of the dependency to synchronize; DstAccessMask AccessFlags } @@ -13946,9 +14334,9 @@ func (s *MemoryBarrier2KHR) Vulkanize() *_vkMemoryBarrier2KHR { type MemoryDedicatedAllocateInfo struct { // SType = STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO PNext unsafe.Pointer - // Image that this allocation will be bound to; + // Image that this allocation will be bound to; Image Image - // Buffer that this allocation will be bound to; + // Buffer that this allocation will be bound to; Buffer Buffer } @@ -14160,9 +14548,9 @@ func (s *MemoryGetRemoteAddressInfoNV) Vulkanize() *_vkMemoryGetRemoteAddressInf // MemoryHeap: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMemoryHeap.html type MemoryHeap struct { - // Available memory in the heap; + // Available memory in the heap; Size DeviceSize - // Flags for the heap; + // Flags for the heap; Flags MemoryHeapFlags } @@ -14257,6 +14645,38 @@ func (s *MemoryMapInfoKHR) Vulkanize() *_vkMemoryMapInfoKHR { return rval } +// MemoryMapPlacedInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMemoryMapPlacedInfoEXT.html +type MemoryMapPlacedInfoEXT struct { + // SType = STRUCTURE_TYPE_MEMORY_MAP_PLACED_INFO_EXT + PNext unsafe.Pointer + PPlacedAddress unsafe.Pointer +} + +type _vkMemoryMapPlacedInfoEXT struct { + sType StructureType + pNext unsafe.Pointer + pPlacedAddress unsafe.Pointer +} + +func (s *_vkMemoryMapPlacedInfoEXT) Goify() *MemoryMapPlacedInfoEXT { + rval := &MemoryMapPlacedInfoEXT{ + PNext: (unsafe.Pointer)(s.pNext), + PPlacedAddress: (unsafe.Pointer)(s.pPlacedAddress), + } + return rval +} +func (s *MemoryMapPlacedInfoEXT) Vulkanize() *_vkMemoryMapPlacedInfoEXT { + if s == nil { + return nil + } + rval := &_vkMemoryMapPlacedInfoEXT{ + sType: STRUCTURE_TYPE_MEMORY_MAP_PLACED_INFO_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pPlacedAddress: (unsafe.Pointer)(s.PPlacedAddress), /*cb*/ + } + return rval +} + // MemoryOpaqueCaptureAddressAllocateInfo: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMemoryOpaqueCaptureAddressAllocateInfo.html type MemoryOpaqueCaptureAddressAllocateInfo struct { // SType = STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO @@ -14341,11 +14761,11 @@ func (s *MemoryPriorityAllocateInfoEXT) Vulkanize() *_vkMemoryPriorityAllocateIn // MemoryRequirements: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMemoryRequirements.html type MemoryRequirements struct { - // Specified in bytes; + // Specified in bytes; Size DeviceSize - // Specified in bytes; + // Specified in bytes; Alignment DeviceSize - // Bitmask of the allowed memory type indices into memoryTypes[] for this object; + // Bitmask of the allowed memory type indices into memoryTypes[] for this object; MemoryTypeBits uint32 } @@ -14419,7 +14839,7 @@ type MemoryToImageCopyEXT struct { // SType = STRUCTURE_TYPE_MEMORY_TO_IMAGE_COPY_EXT PNext unsafe.Pointer PHostPointer unsafe.Pointer - // Specified in texels; + // Specified in texels; MemoryRowLength uint32 MemoryImageHeight uint32 ImageSubresource ImageSubresourceLayers @@ -14469,9 +14889,9 @@ func (s *MemoryToImageCopyEXT) Vulkanize() *_vkMemoryToImageCopyEXT { // MemoryType: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMemoryType.html type MemoryType struct { - // Memory properties of this memory type; + // Memory properties of this memory type; PropertyFlags MemoryPropertyFlags - // Index of the memory heap allocations of this memory type are taken from; + // Index of the memory heap allocations of this memory type are taken from; HeapIndex uint32 } @@ -14659,7 +15079,7 @@ type MicromapCreateInfoEXT struct { PNext unsafe.Pointer CreateFlags MicromapCreateFlagsEXT Buffer Buffer - // Specified in bytes; + // Specified in bytes; Offset DeviceSize Size DeviceSize Typ MicromapTypeEXT @@ -14708,7 +15128,7 @@ func (s *MicromapCreateInfoEXT) Vulkanize() *_vkMicromapCreateInfoEXT { // MicromapTriangleEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMicromapTriangleEXT.html type MicromapTriangleEXT struct { - // Specified in bytes; + // Specified in bytes; DataOffset uint32 SubdivisionLevel uint16 Format uint16 @@ -14732,7 +15152,7 @@ func (s *MicromapTriangleEXT) Vulkanize() *_vkMicromapTriangleEXT { type MicromapUsageEXT struct { Count uint32 SubdivisionLevel uint32 - // Interpretation depends on parent type; + // Interpretation depends on parent type; Format uint32 } @@ -15413,15 +15833,15 @@ func (s *OutOfBandQueueTypeInfoNV) Vulkanize() *_vkOutOfBandQueueTypeInfoNV { // PastPresentationTimingGOOGLE: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPastPresentationTimingGOOGLE.html type PastPresentationTimingGOOGLE struct { - // Application-provided identifier, previously given to vkQueuePresentKHR; + // Application-provided identifier, previously given to vkQueuePresentKHR; PresentID uint32 - // Earliest time an image should have been presented, previously given to vkQueuePresentKHR; + // Earliest time an image should have been presented, previously given to vkQueuePresentKHR; DesiredPresentTime uint64 - // Time the image was actually displayed; + // Time the image was actually displayed; ActualPresentTime uint64 - // Earliest time the image could have been displayed; + // Earliest time the image could have been displayed; EarliestPresentTime uint64 - // How early vkQueuePresentKHR was processed vs. how soon it needed to be and make earliestPresentTime; + // How early vkQueuePresentKHR was processed vs. how soon it needed to be and make earliestPresentTime; PresentMargin uint64 } @@ -15637,7 +16057,7 @@ func (s *PerformanceOverrideInfoINTEL) Vulkanize() *_vkPerformanceOverrideInfoIN type PerformanceQueryReservationInfoKHR struct { // SType = STRUCTURE_TYPE_PERFORMANCE_QUERY_RESERVATION_INFO_KHR PNext unsafe.Pointer - // Maximum number of VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR queries in a query pool; + // Maximum number of VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR queries in a query pool; MaxPerformanceQueriesPerPool uint32 } @@ -15670,7 +16090,7 @@ func (s *PerformanceQueryReservationInfoKHR) Vulkanize() *_vkPerformanceQueryRes type PerformanceQuerySubmitInfoKHR struct { // SType = STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR PNext unsafe.Pointer - // Index for which counter pass to submit; + // Index for which counter pass to submit; CounterPassIndex uint32 } @@ -15737,6 +16157,7 @@ type PerformanceValueINTEL struct { Data PerformanceValueDataINTEL } +// WARNING - struct PerformanceValueINTEL is returned only, which is not yet handled in the binding type _vkPerformanceValueINTEL struct { typ PerformanceValueTypeINTEL data _vkPerformanceValueDataINTEL @@ -15764,13 +16185,13 @@ func (s *PerformanceValueINTEL) Vulkanize() *_vkPerformanceValueINTEL { type PhysicalDevice16BitStorageFeatures struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES PNext unsafe.Pointer - // 16-bit integer/floating-point variables supported in BufferBlock; + // 16-bit integer/floating-point variables supported in BufferBlock; StorageBuffer16BitAccess bool - // 16-bit integer/floating-point variables supported in BufferBlock and Block; + // 16-bit integer/floating-point variables supported in BufferBlock and Block; UniformAndStorageBuffer16BitAccess bool - // 16-bit integer/floating-point variables supported in PushConstant; + // 16-bit integer/floating-point variables supported in PushConstant; StoragePushConstant16 bool - // 16-bit integer/floating-point variables supported in shader inputs and outputs; + // 16-bit integer/floating-point variables supported in shader inputs and outputs; StorageInputOutput16 bool } @@ -15866,11 +16287,11 @@ func (s *PhysicalDevice4444FormatsFeaturesEXT) Vulkanize() *_vkPhysicalDevice444 type PhysicalDevice8BitStorageFeatures struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES PNext unsafe.Pointer - // 8-bit integer variables supported in StorageBuffer; + // 8-bit integer variables supported in StorageBuffer; StorageBuffer8BitAccess bool - // 8-bit integer variables supported in StorageBuffer and Uniform; + // 8-bit integer variables supported in StorageBuffer and Uniform; UniformAndStorageBuffer8BitAccess bool - // 8-bit integer variables supported in PushConstant; + // 8-bit integer variables supported in PushConstant; StoragePushConstant8 bool } @@ -16128,6 +16549,38 @@ func (s *PhysicalDeviceAmigoProfilingFeaturesSEC) Vulkanize() *_vkPhysicalDevice return rval } +// PhysicalDeviceAntiLagFeaturesAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceAntiLagFeaturesAMD.html +type PhysicalDeviceAntiLagFeaturesAMD struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD + PNext unsafe.Pointer + AntiLag bool +} + +type _vkPhysicalDeviceAntiLagFeaturesAMD struct { + sType StructureType + pNext unsafe.Pointer + antiLag Bool32 +} + +func (s *_vkPhysicalDeviceAntiLagFeaturesAMD) Goify() *PhysicalDeviceAntiLagFeaturesAMD { + rval := &PhysicalDeviceAntiLagFeaturesAMD{ + PNext: (unsafe.Pointer)(s.pNext), + AntiLag: translatePublic_Bool32(s.antiLag), /*default*/ + } + return rval +} +func (s *PhysicalDeviceAntiLagFeaturesAMD) Vulkanize() *_vkPhysicalDeviceAntiLagFeaturesAMD { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceAntiLagFeaturesAMD{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + antiLag: translateInternal_Bool32(s.AntiLag), /*default*/ + } + return rval +} + // PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT.html type PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT @@ -16510,6 +16963,38 @@ func (s *PhysicalDeviceClusterCullingShaderPropertiesHUAWEI) Vulkanize() *_vkPhy return rval } +// PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI.html +type PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI + PNext unsafe.Pointer + ClusterShadingRate bool +} + +type _vkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI struct { + sType StructureType + pNext unsafe.Pointer + clusterShadingRate Bool32 +} + +func (s *_vkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI) Goify() *PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI { + rval := &PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI{ + PNext: (unsafe.Pointer)(s.pNext), + ClusterShadingRate: translatePublic_Bool32(s.clusterShadingRate), /*default*/ + } + return rval +} +func (s *PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI) Vulkanize() *_vkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + clusterShadingRate: translateInternal_Bool32(s.ClusterShadingRate), /*default*/ + } + return rval +} + // PhysicalDeviceCoherentMemoryFeaturesAMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceCoherentMemoryFeaturesAMD.html type PhysicalDeviceCoherentMemoryFeaturesAMD struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD @@ -16574,6 +17059,38 @@ func (s *PhysicalDeviceColorWriteEnableFeaturesEXT) Vulkanize() *_vkPhysicalDevi return rval } +// PhysicalDeviceCommandBufferInheritanceFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceCommandBufferInheritanceFeaturesNV.html +type PhysicalDeviceCommandBufferInheritanceFeaturesNV struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV + PNext unsafe.Pointer + CommandBufferInheritance bool +} + +type _vkPhysicalDeviceCommandBufferInheritanceFeaturesNV struct { + sType StructureType + pNext unsafe.Pointer + commandBufferInheritance Bool32 +} + +func (s *_vkPhysicalDeviceCommandBufferInheritanceFeaturesNV) Goify() *PhysicalDeviceCommandBufferInheritanceFeaturesNV { + rval := &PhysicalDeviceCommandBufferInheritanceFeaturesNV{ + PNext: (unsafe.Pointer)(s.pNext), + CommandBufferInheritance: translatePublic_Bool32(s.commandBufferInheritance), /*default*/ + } + return rval +} +func (s *PhysicalDeviceCommandBufferInheritanceFeaturesNV) Vulkanize() *_vkPhysicalDeviceCommandBufferInheritanceFeaturesNV { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceCommandBufferInheritanceFeaturesNV{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + commandBufferInheritance: translateInternal_Bool32(s.CommandBufferInheritance), /*default*/ + } + return rval +} + // PhysicalDeviceComputeShaderDerivativesFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.html type PhysicalDeviceComputeShaderDerivativesFeaturesNV struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV @@ -16650,23 +17167,23 @@ func (s *PhysicalDeviceConditionalRenderingFeaturesEXT) Vulkanize() *_vkPhysical type PhysicalDeviceConservativeRasterizationPropertiesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT PNext unsafe.Pointer - // The size in pixels the primitive is enlarged at each edge during conservative rasterization; + // The size in pixels the primitive is enlarged at each edge during conservative rasterization; PrimitiveOverestimationSize float32 - // The maximum additional overestimation the client can specify in the pipeline state; + // The maximum additional overestimation the client can specify in the pipeline state; MaxExtraPrimitiveOverestimationSize float32 - // The granularity of extra overestimation sizes the implementations supports between 0 and maxExtraOverestimationSize; + // The granularity of extra overestimation sizes the implementations supports between 0 and maxExtraOverestimationSize; ExtraPrimitiveOverestimationSizeGranularity float32 - // true if the implementation supports conservative rasterization underestimation mode; + // true if the implementation supports conservative rasterization underestimation mode; PrimitiveUnderestimation bool - // true if conservative rasterization also applies to points and lines; + // true if conservative rasterization also applies to points and lines; ConservativePointAndLineRasterization bool - // true if degenerate triangles (those with zero area after snap) are rasterized; + // true if degenerate triangles (those with zero area after snap) are rasterized; DegenerateTrianglesRasterized bool - // true if degenerate lines (those with zero length after snap) are rasterized; + // true if degenerate lines (those with zero length after snap) are rasterized; DegenerateLinesRasterized bool - // true if the implementation supports the FullyCoveredEXT SPIR-V builtin fragment shader input variable; + // true if the implementation supports the FullyCoveredEXT SPIR-V builtin fragment shader input variable; FullyCoveredFragmentShaderInputVariable bool - // true if the implementation supports both conservative rasterization and post depth coverage sample coverage mask; + // true if the implementation supports both conservative rasterization and post depth coverage sample coverage mask; ConservativeRasterizationPostDepthCoverage bool } @@ -16894,7 +17411,7 @@ func (s *PhysicalDeviceCopyMemoryIndirectFeaturesNV) Vulkanize() *_vkPhysicalDev type PhysicalDeviceCopyMemoryIndirectPropertiesNV struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_PROPERTIES_NV PNext unsafe.Pointer - // Bitfield of which queues are supported for indirect copy; + // Bitfield of which queues are supported for indirect copy; SupportedQueues QueueFlags } @@ -17366,13 +17883,13 @@ func (s *PhysicalDeviceDepthClipEnableFeaturesEXT) Vulkanize() *_vkPhysicalDevic type PhysicalDeviceDepthStencilResolveProperties struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES PNext unsafe.Pointer - // supported depth resolve modes; + // supported depth resolve modes; SupportedDepthResolveModes ResolveModeFlags - // supported stencil resolve modes; + // supported stencil resolve modes; SupportedStencilResolveModes ResolveModeFlags - // depth and stencil resolve modes can be set independently if one of them is none; + // depth and stencil resolve modes can be set independently if one of them is none; IndependentResolveNone bool - // depth and stencil resolve modes can be set independently; + // depth and stencil resolve modes can be set independently; IndependentResolve bool } @@ -18201,7 +18718,7 @@ func (s *PhysicalDeviceDiagnosticsConfigFeaturesNV) Vulkanize() *_vkPhysicalDevi type PhysicalDeviceDiscardRectanglePropertiesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT PNext unsafe.Pointer - // max number of active discard rectangles; + // max number of active discard rectangles; MaxDiscardRectangles uint32 } @@ -18365,6 +18882,38 @@ func (s *PhysicalDeviceDynamicRenderingFeaturesKHR) Vulkanize() *_vkPhysicalDevi return rval } +// PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR.html +type PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR + PNext unsafe.Pointer + DynamicRenderingLocalRead bool +} + +type _vkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + dynamicRenderingLocalRead Bool32 +} + +func (s *_vkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR) Goify() *PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR { + rval := &PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + DynamicRenderingLocalRead: translatePublic_Bool32(s.dynamicRenderingLocalRead), /*default*/ + } + return rval +} +func (s *PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR) Vulkanize() *_vkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + dynamicRenderingLocalRead: translateInternal_Bool32(s.DynamicRenderingLocalRead), /*default*/ + } + return rval +} + // PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT.html type PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT @@ -18721,11 +19270,11 @@ func (s *PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV) Vulkanize() *_vkPhy type PhysicalDeviceExtendedSparseAddressSpacePropertiesNV struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV PNext unsafe.Pointer - // Total address space available for extended sparse allocations (bytes); + // Total address space available for extended sparse allocations (bytes); ExtendedSparseAddressSpaceSize DeviceSize - // Bitfield of which image usages are supported for extended sparse allocations; + // Bitfield of which image usages are supported for extended sparse allocations; ExtendedSparseImageUsageFlags ImageUsageFlags - // Bitfield of which buffer usages are supported for extended sparse allocations; + // Bitfield of which buffer usages are supported for extended sparse allocations; ExtendedSparseBufferUsageFlags BufferUsageFlags } @@ -19072,115 +19621,115 @@ func (s *PhysicalDeviceFaultFeaturesEXT) Vulkanize() *_vkPhysicalDeviceFaultFeat // PhysicalDeviceFeatures: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceFeatures.html type PhysicalDeviceFeatures struct { - // out of bounds buffer accesses are well defined; + // out of bounds buffer accesses are well defined; RobustBufferAccess bool - // full 32-bit range of indices for indexed draw calls; + // full 32-bit range of indices for indexed draw calls; FullDrawIndexUint32 bool - // image views which are arrays of cube maps; + // image views which are arrays of cube maps; ImageCubeArray bool - // blending operations are controlled per-attachment; + // blending operations are controlled per-attachment; IndependentBlend bool - // geometry stage; + // geometry stage; GeometryShader bool - // tessellation control and evaluation stage; + // tessellation control and evaluation stage; TessellationShader bool - // per-sample shading and interpolation; + // per-sample shading and interpolation; SampleRateShading bool - // blend operations which take two sources; + // blend operations which take two sources; DualSrcBlend bool - // logic operations; + // logic operations; LogicOp bool - // multi draw indirect; + // multi draw indirect; MultiDrawIndirect bool - // indirect drawing can use non-zero firstInstance; + // indirect drawing can use non-zero firstInstance; DrawIndirectFirstInstance bool - // depth clamping; + // depth clamping; DepthClamp bool - // depth bias clamping; + // depth bias clamping; DepthBiasClamp bool - // point and wireframe fill modes; + // point and wireframe fill modes; FillModeNonSolid bool - // depth bounds test; + // depth bounds test; DepthBounds bool - // lines with width greater than 1; + // lines with width greater than 1; WideLines bool - // points with size greater than 1; + // points with size greater than 1; LargePoints bool - // the fragment alpha component can be forced to maximum representable alpha value; + // the fragment alpha component can be forced to maximum representable alpha value; AlphaToOne bool - // viewport arrays; + // viewport arrays; MultiViewport bool - // anisotropic sampler filtering; + // anisotropic sampler filtering; SamplerAnisotropy bool - // ETC texture compression formats; + // ETC texture compression formats; TextureCompressionETC2 bool - // ASTC LDR texture compression formats; + // ASTC LDR texture compression formats; TextureCompressionASTC_LDR bool - // BC1-7 texture compressed formats; + // BC1-7 texture compressed formats; TextureCompressionBC bool - // precise occlusion queries returning actual sample counts; + // precise occlusion queries returning actual sample counts; OcclusionQueryPrecise bool - // pipeline statistics query; + // pipeline statistics query; PipelineStatisticsQuery bool - // stores and atomic ops on storage buffers and images are supported in vertex, tessellation, and geometry stages; + // stores and atomic ops on storage buffers and images are supported in vertex, tessellation, and geometry stages; VertexPipelineStoresAndAtomics bool - // stores and atomic ops on storage buffers and images are supported in the fragment stage; + // stores and atomic ops on storage buffers and images are supported in the fragment stage; FragmentStoresAndAtomics bool - // tessellation and geometry stages can export point size; + // tessellation and geometry stages can export point size; ShaderTessellationAndGeometryPointSize bool - // image gather with run-time values and independent offsets; + // image gather with runtime values and independent offsets; ShaderImageGatherExtended bool - // the extended set of formats can be used for storage images; + // the extended set of formats can be used for storage images; ShaderStorageImageExtendedFormats bool - // multisample images can be used for storage images; + // multisample images can be used for storage images; ShaderStorageImageMultisample bool - // read from storage image does not require format qualifier; + // read from storage image does not require format qualifier; ShaderStorageImageReadWithoutFormat bool - // write to storage image does not require format qualifier; + // write to storage image does not require format qualifier; ShaderStorageImageWriteWithoutFormat bool - // arrays of uniform buffers can be accessed with dynamically uniform indices; + // arrays of uniform buffers can be accessed with dynamically uniform indices; ShaderUniformBufferArrayDynamicIndexing bool - // arrays of sampled images can be accessed with dynamically uniform indices; + // arrays of sampled images can be accessed with dynamically uniform indices; ShaderSampledImageArrayDynamicIndexing bool - // arrays of storage buffers can be accessed with dynamically uniform indices; + // arrays of storage buffers can be accessed with dynamically uniform indices; ShaderStorageBufferArrayDynamicIndexing bool - // arrays of storage images can be accessed with dynamically uniform indices; + // arrays of storage images can be accessed with dynamically uniform indices; ShaderStorageImageArrayDynamicIndexing bool - // clip distance in shaders; + // clip distance in shaders; ShaderClipDistance bool - // cull distance in shaders; + // cull distance in shaders; ShaderCullDistance bool - // 64-bit floats (doubles) in shaders; + // 64-bit floats (doubles) in shaders; ShaderFloat64 bool - // 64-bit integers in shaders; + // 64-bit integers in shaders; ShaderInt64 bool - // 16-bit integers in shaders; + // 16-bit integers in shaders; ShaderInt16 bool - // shader can use texture operations that return resource residency information (requires sparseNonResident support); + // shader can use texture operations that return resource residency information (requires sparseNonResident support); ShaderResourceResidency bool - // shader can use texture operations that specify minimum resource LOD; + // shader can use texture operations that specify minimum resource LOD; ShaderResourceMinLod bool - // Sparse resources support: Resource memory can be managed at opaque page level rather than object level; + // Sparse resources support: Resource memory can be managed at opaque page level rather than object level; SparseBinding bool - // Sparse resources support: GPU can access partially resident buffers ; + // Sparse resources support: GPU can access partially resident buffers ; SparseResidencyBuffer bool - // Sparse resources support: GPU can access partially resident 2D (non-MSAA non-depth/stencil) images ; + // Sparse resources support: GPU can access partially resident 2D (non-MSAA non-depth/stencil) images ; SparseResidencyImage2D bool - // Sparse resources support: GPU can access partially resident 3D images ; + // Sparse resources support: GPU can access partially resident 3D images ; SparseResidencyImage3D bool - // Sparse resources support: GPU can access partially resident MSAA 2D images with 2 samples; + // Sparse resources support: GPU can access partially resident MSAA 2D images with 2 samples; SparseResidency2Samples bool - // Sparse resources support: GPU can access partially resident MSAA 2D images with 4 samples; + // Sparse resources support: GPU can access partially resident MSAA 2D images with 4 samples; SparseResidency4Samples bool - // Sparse resources support: GPU can access partially resident MSAA 2D images with 8 samples; + // Sparse resources support: GPU can access partially resident MSAA 2D images with 8 samples; SparseResidency8Samples bool - // Sparse resources support: GPU can access partially resident MSAA 2D images with 16 samples; + // Sparse resources support: GPU can access partially resident MSAA 2D images with 16 samples; SparseResidency16Samples bool - // Sparse resources support: GPU can correctly access data aliased into multiple locations (opt-in); + // Sparse resources support: GPU can correctly access data aliased into multiple locations (opt-in); SparseResidencyAliased bool - // multisample rate must be the same for all pipelines in a subpass; + // multisample rate must be the same for all pipelines in a subpass; VariableMultisampleRate bool - // Queries may be inherited from primary to secondary command buffers; + // Queries may be inherited from primary to secondary command buffers; InheritedQueries bool } @@ -19440,35 +19989,35 @@ type PhysicalDeviceFloatControlsProperties struct { PNext unsafe.Pointer DenormBehaviorIndependence ShaderFloatControlsIndependence RoundingModeIndependence ShaderFloatControlsIndependence - // An implementation can preserve signed zero, nan, inf; + // An implementation can preserve signed zero, nan, inf; ShaderSignedZeroInfNanPreserveFloat16 bool - // An implementation can preserve signed zero, nan, inf; + // An implementation can preserve signed zero, nan, inf; ShaderSignedZeroInfNanPreserveFloat32 bool - // An implementation can preserve signed zero, nan, inf; + // An implementation can preserve signed zero, nan, inf; ShaderSignedZeroInfNanPreserveFloat64 bool - // An implementation can preserve denormals; + // An implementation can preserve denormals; ShaderDenormPreserveFloat16 bool - // An implementation can preserve denormals; + // An implementation can preserve denormals; ShaderDenormPreserveFloat32 bool - // An implementation can preserve denormals; + // An implementation can preserve denormals; ShaderDenormPreserveFloat64 bool - // An implementation can flush to zero denormals; + // An implementation can flush to zero denormals; ShaderDenormFlushToZeroFloat16 bool - // An implementation can flush to zero denormals; + // An implementation can flush to zero denormals; ShaderDenormFlushToZeroFloat32 bool - // An implementation can flush to zero denormals; + // An implementation can flush to zero denormals; ShaderDenormFlushToZeroFloat64 bool - // An implementation can support RTE; + // An implementation can support RTE; ShaderRoundingModeRTEFloat16 bool - // An implementation can support RTE; + // An implementation can support RTE; ShaderRoundingModeRTEFloat32 bool - // An implementation can support RTE; + // An implementation can support RTE; ShaderRoundingModeRTEFloat64 bool - // An implementation can support RTZ; + // An implementation can support RTZ; ShaderRoundingModeRTZFloat16 bool - // An implementation can support RTZ; + // An implementation can support RTZ; ShaderRoundingModeRTZFloat32 bool - // An implementation can support RTZ; + // An implementation can support RTZ; ShaderRoundingModeRTZFloat64 bool } @@ -19873,7 +20422,8 @@ func (s *PhysicalDeviceFragmentShaderBarycentricPropertiesKHR) Vulkanize() *_vkP // PhysicalDeviceFragmentShaderInterlockFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.html type PhysicalDeviceFragmentShaderInterlockFeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT - // Pointer to next structure; + // + // Pointer to next structure; PNext unsafe.Pointer FragmentShaderSampleInterlock bool FragmentShaderPixelInterlock bool @@ -20613,6 +21163,70 @@ func (s *PhysicalDeviceImage2DViewOf3DFeaturesEXT) Vulkanize() *_vkPhysicalDevic return rval } +// PhysicalDeviceImageAlignmentControlFeaturesMESA: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceImageAlignmentControlFeaturesMESA.html +type PhysicalDeviceImageAlignmentControlFeaturesMESA struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA + PNext unsafe.Pointer + ImageAlignmentControl bool +} + +type _vkPhysicalDeviceImageAlignmentControlFeaturesMESA struct { + sType StructureType + pNext unsafe.Pointer + imageAlignmentControl Bool32 +} + +func (s *_vkPhysicalDeviceImageAlignmentControlFeaturesMESA) Goify() *PhysicalDeviceImageAlignmentControlFeaturesMESA { + rval := &PhysicalDeviceImageAlignmentControlFeaturesMESA{ + PNext: (unsafe.Pointer)(s.pNext), + ImageAlignmentControl: translatePublic_Bool32(s.imageAlignmentControl), /*default*/ + } + return rval +} +func (s *PhysicalDeviceImageAlignmentControlFeaturesMESA) Vulkanize() *_vkPhysicalDeviceImageAlignmentControlFeaturesMESA { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceImageAlignmentControlFeaturesMESA{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + imageAlignmentControl: translateInternal_Bool32(s.ImageAlignmentControl), /*default*/ + } + return rval +} + +// PhysicalDeviceImageAlignmentControlPropertiesMESA: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceImageAlignmentControlPropertiesMESA.html +type PhysicalDeviceImageAlignmentControlPropertiesMESA struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA + PNext unsafe.Pointer + SupportedImageAlignmentMask uint32 +} + +type _vkPhysicalDeviceImageAlignmentControlPropertiesMESA struct { + sType StructureType + pNext unsafe.Pointer + supportedImageAlignmentMask uint32 +} + +func (s *_vkPhysicalDeviceImageAlignmentControlPropertiesMESA) Goify() *PhysicalDeviceImageAlignmentControlPropertiesMESA { + rval := &PhysicalDeviceImageAlignmentControlPropertiesMESA{ + PNext: (unsafe.Pointer)(s.pNext), + SupportedImageAlignmentMask: (uint32)(s.supportedImageAlignmentMask), + } + return rval +} +func (s *PhysicalDeviceImageAlignmentControlPropertiesMESA) Vulkanize() *_vkPhysicalDeviceImageAlignmentControlPropertiesMESA { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceImageAlignmentControlPropertiesMESA{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + supportedImageAlignmentMask: (uint32)(s.SupportedImageAlignmentMask), /*cb*/ + } + return rval +} + // PhysicalDeviceImageCompressionControlFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceImageCompressionControlFeaturesEXT.html type PhysicalDeviceImageCompressionControlFeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT @@ -21108,30 +21722,48 @@ func (s *PhysicalDeviceImagelessFramebufferFeaturesKHR) Vulkanize() *_vkPhysical // PhysicalDeviceIndexTypeUint8FeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceIndexTypeUint8FeaturesEXT.html type PhysicalDeviceIndexTypeUint8FeaturesEXT struct { - // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT +} + +type _vkPhysicalDeviceIndexTypeUint8FeaturesEXT = PhysicalDeviceIndexTypeUint8FeaturesEXT + +func (s *_vkPhysicalDeviceIndexTypeUint8FeaturesEXT) Goify() *PhysicalDeviceIndexTypeUint8FeaturesEXT { + rval := (*PhysicalDeviceIndexTypeUint8FeaturesEXT)(s) + return rval +} +func (s *PhysicalDeviceIndexTypeUint8FeaturesEXT) Vulkanize() *_vkPhysicalDeviceIndexTypeUint8FeaturesEXT { + if s == nil { + return nil + } + rval := (*_vkPhysicalDeviceIndexTypeUint8FeaturesEXT)(s) + return rval +} + +// PhysicalDeviceIndexTypeUint8FeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceIndexTypeUint8FeaturesKHR.html +type PhysicalDeviceIndexTypeUint8FeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR PNext unsafe.Pointer IndexTypeUint8 bool } -type _vkPhysicalDeviceIndexTypeUint8FeaturesEXT struct { +type _vkPhysicalDeviceIndexTypeUint8FeaturesKHR struct { sType StructureType pNext unsafe.Pointer indexTypeUint8 Bool32 } -func (s *_vkPhysicalDeviceIndexTypeUint8FeaturesEXT) Goify() *PhysicalDeviceIndexTypeUint8FeaturesEXT { - rval := &PhysicalDeviceIndexTypeUint8FeaturesEXT{ +func (s *_vkPhysicalDeviceIndexTypeUint8FeaturesKHR) Goify() *PhysicalDeviceIndexTypeUint8FeaturesKHR { + rval := &PhysicalDeviceIndexTypeUint8FeaturesKHR{ PNext: (unsafe.Pointer)(s.pNext), IndexTypeUint8: translatePublic_Bool32(s.indexTypeUint8), /*default*/ } return rval } -func (s *PhysicalDeviceIndexTypeUint8FeaturesEXT) Vulkanize() *_vkPhysicalDeviceIndexTypeUint8FeaturesEXT { +func (s *PhysicalDeviceIndexTypeUint8FeaturesKHR) Vulkanize() *_vkPhysicalDeviceIndexTypeUint8FeaturesKHR { if s == nil { return nil } - rval := &_vkPhysicalDeviceIndexTypeUint8FeaturesEXT{ - sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT, /*c1*/ + rval := &_vkPhysicalDeviceIndexTypeUint8FeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR, /*c1*/ pNext: (unsafe.Pointer)(s.PNext), /*cb*/ indexTypeUint8: translateInternal_Bool32(s.IndexTypeUint8), /*default*/ } @@ -21238,6 +21870,131 @@ func (s *PhysicalDeviceInvocationMaskFeaturesHUAWEI) Vulkanize() *_vkPhysicalDev return rval } +// PhysicalDeviceLayeredApiPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLayeredApiPropertiesKHR.html +type PhysicalDeviceLayeredApiPropertiesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR + PNext unsafe.Pointer + VendorID uint32 + DeviceID uint32 + LayeredAPI PhysicalDeviceLayeredApiKHR + DeviceName string +} + +// WARNING - struct PhysicalDeviceLayeredApiPropertiesKHR is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceLayeredApiPropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + vendorID uint32 + deviceID uint32 + layeredAPI PhysicalDeviceLayeredApiKHR + deviceName [MAX_PHYSICAL_DEVICE_NAME_SIZE]byte +} + +func (s *_vkPhysicalDeviceLayeredApiPropertiesKHR) Goify() *PhysicalDeviceLayeredApiPropertiesKHR { + rval := &PhysicalDeviceLayeredApiPropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + VendorID: (uint32)(s.vendorID), + DeviceID: (uint32)(s.deviceID), + LayeredAPI: (PhysicalDeviceLayeredApiKHR)(s.layeredAPI), + DeviceName: nullTermBytesToString(s.deviceName[:]), /*c arr*/ + } + return rval +} +func (s *PhysicalDeviceLayeredApiPropertiesKHR) Vulkanize() *_vkPhysicalDeviceLayeredApiPropertiesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceLayeredApiPropertiesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + vendorID: (uint32)(s.VendorID), /*cb*/ + deviceID: (uint32)(s.DeviceID), /*cb*/ + layeredAPI: (PhysicalDeviceLayeredApiKHR)(s.LayeredAPI), /*cb*/ + // deviceName : 0 /* TODO ARRAY NOT HANDLED */,/*c arr*/ + } + return rval +} + +// PhysicalDeviceLayeredApiPropertiesListKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLayeredApiPropertiesListKHR.html +type PhysicalDeviceLayeredApiPropertiesListKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR + PNext unsafe.Pointer + // layeredApiCount + // + // Output list of layered implementations underneath the physical device; + PLayeredApis []PhysicalDeviceLayeredApiPropertiesKHR +} + +type _vkPhysicalDeviceLayeredApiPropertiesListKHR struct { + sType StructureType + pNext unsafe.Pointer + layeredApiCount uint32 + pLayeredApis *_vkPhysicalDeviceLayeredApiPropertiesKHR +} + +func (s *_vkPhysicalDeviceLayeredApiPropertiesListKHR) Goify() *PhysicalDeviceLayeredApiPropertiesListKHR { + rval := &PhysicalDeviceLayeredApiPropertiesListKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pLayeredApis in returned struct + } + return rval +} +func (s *PhysicalDeviceLayeredApiPropertiesListKHR) Vulkanize() *_vkPhysicalDeviceLayeredApiPropertiesListKHR { + if s == nil { + return nil + } + + var psl_pLayeredApis *_vkPhysicalDeviceLayeredApiPropertiesKHR + if len(s.PLayeredApis) > 0 { + sl_pLayeredApis := make([]_vkPhysicalDeviceLayeredApiPropertiesKHR, len(s.PLayeredApis)) + for i, v := range s.PLayeredApis { + sl_pLayeredApis[i] = *(v.Vulkanize()) + } + psl_pLayeredApis = &sl_pLayeredApis[0] + } + rval := &_vkPhysicalDeviceLayeredApiPropertiesListKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + layeredApiCount: uint32(len(s.PLayeredApis)), /*c6-a*/ + pLayeredApis: psl_pLayeredApis, /*c rem*/ + } + return rval +} + +// PhysicalDeviceLayeredApiVulkanPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLayeredApiVulkanPropertiesKHR.html +type PhysicalDeviceLayeredApiVulkanPropertiesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR + PNext unsafe.Pointer + Properties PhysicalDeviceProperties2 +} + +// WARNING - struct PhysicalDeviceLayeredApiVulkanPropertiesKHR is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceLayeredApiVulkanPropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + properties _vkPhysicalDeviceProperties2 +} + +func (s *_vkPhysicalDeviceLayeredApiVulkanPropertiesKHR) Goify() *PhysicalDeviceLayeredApiVulkanPropertiesKHR { + rval := &PhysicalDeviceLayeredApiVulkanPropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Properties: *(s.properties.Goify()), + } + return rval +} +func (s *PhysicalDeviceLayeredApiVulkanPropertiesKHR) Vulkanize() *_vkPhysicalDeviceLayeredApiVulkanPropertiesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceLayeredApiVulkanPropertiesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + properties: *(s.Properties.Vulkanize()), /*c3*/ + } + return rval +} + // PhysicalDeviceLayeredDriverPropertiesMSFT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLayeredDriverPropertiesMSFT.html type PhysicalDeviceLayeredDriverPropertiesMSFT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_DRIVER_PROPERTIES_MSFT @@ -21303,219 +22060,283 @@ func (s *PhysicalDeviceLegacyDitheringFeaturesEXT) Vulkanize() *_vkPhysicalDevic return rval } +// PhysicalDeviceLegacyVertexAttributesFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT.html +type PhysicalDeviceLegacyVertexAttributesFeaturesEXT struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT + PNext unsafe.Pointer + LegacyVertexAttributes bool +} + +type _vkPhysicalDeviceLegacyVertexAttributesFeaturesEXT struct { + sType StructureType + pNext unsafe.Pointer + legacyVertexAttributes Bool32 +} + +func (s *_vkPhysicalDeviceLegacyVertexAttributesFeaturesEXT) Goify() *PhysicalDeviceLegacyVertexAttributesFeaturesEXT { + rval := &PhysicalDeviceLegacyVertexAttributesFeaturesEXT{ + PNext: (unsafe.Pointer)(s.pNext), + LegacyVertexAttributes: translatePublic_Bool32(s.legacyVertexAttributes), /*default*/ + } + return rval +} +func (s *PhysicalDeviceLegacyVertexAttributesFeaturesEXT) Vulkanize() *_vkPhysicalDeviceLegacyVertexAttributesFeaturesEXT { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceLegacyVertexAttributesFeaturesEXT{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + legacyVertexAttributes: translateInternal_Bool32(s.LegacyVertexAttributes), /*default*/ + } + return rval +} + +// PhysicalDeviceLegacyVertexAttributesPropertiesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT.html +type PhysicalDeviceLegacyVertexAttributesPropertiesEXT struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT + PNext unsafe.Pointer + NativeUnalignedPerformance bool +} + +type _vkPhysicalDeviceLegacyVertexAttributesPropertiesEXT struct { + sType StructureType + pNext unsafe.Pointer + nativeUnalignedPerformance Bool32 +} + +func (s *_vkPhysicalDeviceLegacyVertexAttributesPropertiesEXT) Goify() *PhysicalDeviceLegacyVertexAttributesPropertiesEXT { + rval := &PhysicalDeviceLegacyVertexAttributesPropertiesEXT{ + PNext: (unsafe.Pointer)(s.pNext), + NativeUnalignedPerformance: translatePublic_Bool32(s.nativeUnalignedPerformance), /*default*/ + } + return rval +} +func (s *PhysicalDeviceLegacyVertexAttributesPropertiesEXT) Vulkanize() *_vkPhysicalDeviceLegacyVertexAttributesPropertiesEXT { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceLegacyVertexAttributesPropertiesEXT{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + nativeUnalignedPerformance: translateInternal_Bool32(s.NativeUnalignedPerformance), /*default*/ + } + return rval +} + // PhysicalDeviceLimits: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLimits.html type PhysicalDeviceLimits struct { - // max 1D image dimension; + // max 1D image dimension; MaxImageDimension1D uint32 - // max 2D image dimension; + // max 2D image dimension; MaxImageDimension2D uint32 - // max 3D image dimension; + // max 3D image dimension; MaxImageDimension3D uint32 - // max cubemap image dimension; + // max cube map image dimension; MaxImageDimensionCube uint32 - // max layers for image arrays; + // max layers for image arrays; MaxImageArrayLayers uint32 - // max texel buffer size (fstexels); + // max texel buffer size (fstexels); MaxTexelBufferElements uint32 - // max uniform buffer range (bytes); + // max uniform buffer range (bytes); MaxUniformBufferRange uint32 - // max storage buffer range (bytes); + // max storage buffer range (bytes); MaxStorageBufferRange uint32 - // max size of the push constants pool (bytes); + // max size of the push constants pool (bytes); MaxPushConstantsSize uint32 - // max number of device memory allocations supported; + // max number of device memory allocations supported; MaxMemoryAllocationCount uint32 - // max number of samplers that can be allocated on a device; + // max number of samplers that can be allocated on a device; MaxSamplerAllocationCount uint32 - // Granularity (in bytes) at which buffers and images can be bound to adjacent memory for simultaneous usage; + // Granularity (in bytes) at which buffers and images can be bound to adjacent memory for simultaneous usage; BufferImageGranularity DeviceSize - // Total address space available for sparse allocations (bytes); + // Total address space available for sparse allocations (bytes); SparseAddressSpaceSize DeviceSize - // max number of descriptors sets that can be bound to a pipeline; + // max number of descriptors sets that can be bound to a pipeline; MaxBoundDescriptorSets uint32 - // max number of samplers allowed per-stage in a descriptor set; + // max number of samplers allowed per-stage in a descriptor set; MaxPerStageDescriptorSamplers uint32 - // max number of uniform buffers allowed per-stage in a descriptor set; + // max number of uniform buffers allowed per-stage in a descriptor set; MaxPerStageDescriptorUniformBuffers uint32 - // max number of storage buffers allowed per-stage in a descriptor set; + // max number of storage buffers allowed per-stage in a descriptor set; MaxPerStageDescriptorStorageBuffers uint32 - // max number of sampled images allowed per-stage in a descriptor set; + // max number of sampled images allowed per-stage in a descriptor set; MaxPerStageDescriptorSampledImages uint32 - // max number of storage images allowed per-stage in a descriptor set; + // max number of storage images allowed per-stage in a descriptor set; MaxPerStageDescriptorStorageImages uint32 - // max number of input attachments allowed per-stage in a descriptor set; + // max number of input attachments allowed per-stage in a descriptor set; MaxPerStageDescriptorInputAttachments uint32 - // max number of resources allowed by a single stage; + // max number of resources allowed by a single stage; MaxPerStageResources uint32 - // max number of samplers allowed in all stages in a descriptor set; + // max number of samplers allowed in all stages in a descriptor set; MaxDescriptorSetSamplers uint32 - // max number of uniform buffers allowed in all stages in a descriptor set; + // max number of uniform buffers allowed in all stages in a descriptor set; MaxDescriptorSetUniformBuffers uint32 - // max number of dynamic uniform buffers allowed in all stages in a descriptor set; + // max number of dynamic uniform buffers allowed in all stages in a descriptor set; MaxDescriptorSetUniformBuffersDynamic uint32 - // max number of storage buffers allowed in all stages in a descriptor set; + // max number of storage buffers allowed in all stages in a descriptor set; MaxDescriptorSetStorageBuffers uint32 - // max number of dynamic storage buffers allowed in all stages in a descriptor set; + // max number of dynamic storage buffers allowed in all stages in a descriptor set; MaxDescriptorSetStorageBuffersDynamic uint32 - // max number of sampled images allowed in all stages in a descriptor set; + // max number of sampled images allowed in all stages in a descriptor set; MaxDescriptorSetSampledImages uint32 - // max number of storage images allowed in all stages in a descriptor set; + // max number of storage images allowed in all stages in a descriptor set; MaxDescriptorSetStorageImages uint32 - // max number of input attachments allowed in all stages in a descriptor set; + // max number of input attachments allowed in all stages in a descriptor set; MaxDescriptorSetInputAttachments uint32 - // max number of vertex input attribute slots; + // max number of vertex input attribute slots; MaxVertexInputAttributes uint32 - // max number of vertex input binding slots; + // max number of vertex input binding slots; MaxVertexInputBindings uint32 - // max vertex input attribute offset added to vertex buffer offset; + // max vertex input attribute offset added to vertex buffer offset; MaxVertexInputAttributeOffset uint32 - // max vertex input binding stride; + // max vertex input binding stride; MaxVertexInputBindingStride uint32 - // max number of output components written by vertex shader; + // max number of output components written by vertex shader; MaxVertexOutputComponents uint32 - // max level supported by tessellation primitive generator; + // max level supported by tessellation primitive generator; MaxTessellationGenerationLevel uint32 - // max patch size (vertices); + // max patch size (vertices); MaxTessellationPatchSize uint32 - // max number of input components per-vertex in TCS; + // max number of input components per-vertex in TCS; MaxTessellationControlPerVertexInputComponents uint32 - // max number of output components per-vertex in TCS; + // max number of output components per-vertex in TCS; MaxTessellationControlPerVertexOutputComponents uint32 - // max number of output components per-patch in TCS; + // max number of output components per-patch in TCS; MaxTessellationControlPerPatchOutputComponents uint32 - // max total number of per-vertex and per-patch output components in TCS; + // max total number of per-vertex and per-patch output components in TCS; MaxTessellationControlTotalOutputComponents uint32 - // max number of input components per vertex in TES; + // max number of input components per vertex in TES; MaxTessellationEvaluationInputComponents uint32 - // max number of output components per vertex in TES; + // max number of output components per vertex in TES; MaxTessellationEvaluationOutputComponents uint32 - // max invocation count supported in geometry shader; + // max invocation count supported in geometry shader; MaxGeometryShaderInvocations uint32 - // max number of input components read in geometry stage; + // max number of input components read in geometry stage; MaxGeometryInputComponents uint32 - // max number of output components written in geometry stage; + // max number of output components written in geometry stage; MaxGeometryOutputComponents uint32 - // max number of vertices that can be emitted in geometry stage; + // max number of vertices that can be emitted in geometry stage; MaxGeometryOutputVertices uint32 - // max total number of components (all vertices) written in geometry stage; + // max total number of components (all vertices) written in geometry stage; MaxGeometryTotalOutputComponents uint32 - // max number of input components read in fragment stage; + // max number of input components read in fragment stage; MaxFragmentInputComponents uint32 - // max number of output attachments written in fragment stage; + // max number of output attachments written in fragment stage; MaxFragmentOutputAttachments uint32 - // max number of output attachments written when using dual source blending; + // max number of output attachments written when using dual source blending; MaxFragmentDualSrcAttachments uint32 - // max total number of storage buffers, storage images and output buffers; + // max total number of storage buffers, storage images and output buffers; MaxFragmentCombinedOutputResources uint32 - // max total storage size of work group local storage (bytes); + // max total storage size of work group local storage (bytes); MaxComputeSharedMemorySize uint32 - // max num of compute work groups that may be dispatched by a single command (x,y,z); + // max num of compute work groups that may be dispatched by a single command (x,y,z); MaxComputeWorkGroupCount [3]uint32 - // max total compute invocations in a single local work group; + // max total compute invocations in a single local work group; MaxComputeWorkGroupInvocations uint32 - // max local size of a compute work group (x,y,z); + // max local size of a compute work group (x,y,z); MaxComputeWorkGroupSize [3]uint32 - // number bits of subpixel precision in screen x and y; + // number bits of subpixel precision in screen x and y; SubPixelPrecisionBits uint32 - // number bits of precision for selecting texel weights; + // number bits of precision for selecting texel weights; SubTexelPrecisionBits uint32 - // number bits of precision for selecting mipmap weights; + // number bits of precision for selecting mipmap weights; MipmapPrecisionBits uint32 - // max index value for indexed draw calls (for 32-bit indices); + // max index value for indexed draw calls (for 32-bit indices); MaxDrawIndexedIndexValue uint32 - // max draw count for indirect drawing calls; + // max draw count for indirect drawing calls; MaxDrawIndirectCount uint32 - // max absolute sampler LOD bias; + // max absolute sampler LOD bias; MaxSamplerLodBias float32 - // max degree of sampler anisotropy; + // max degree of sampler anisotropy; MaxSamplerAnisotropy float32 - // max number of active viewports; + // max number of active viewports; MaxViewports uint32 - // max viewport dimensions (x,y); + // max viewport dimensions (x,y); MaxViewportDimensions [2]uint32 - // viewport bounds range (min,max); + // viewport bounds range (min,max); ViewportBoundsRange [2]float32 - // number bits of subpixel precision for viewport; + // number bits of subpixel precision for viewport; ViewportSubPixelBits uint32 - // min required alignment of pointers returned by MapMemory (bytes); + // min required alignment of pointers returned by MapMemory (bytes); MinMemoryMapAlignment uintptr - // min required alignment for texel buffer offsets (bytes) ; + // min required alignment for texel buffer offsets (bytes) ; MinTexelBufferOffsetAlignment DeviceSize - // min required alignment for uniform buffer sizes and offsets (bytes); + // min required alignment for uniform buffer sizes and offsets (bytes); MinUniformBufferOffsetAlignment DeviceSize - // min required alignment for storage buffer offsets (bytes); + // min required alignment for storage buffer offsets (bytes); MinStorageBufferOffsetAlignment DeviceSize - // min texel offset for OpTextureSampleOffset; + // min texel offset for OpTextureSampleOffset; MinTexelOffset int32 - // max texel offset for OpTextureSampleOffset; + // max texel offset for OpTextureSampleOffset; MaxTexelOffset uint32 - // min texel offset for OpTextureGatherOffset; + // min texel offset for OpTextureGatherOffset; MinTexelGatherOffset int32 - // max texel offset for OpTextureGatherOffset; + // max texel offset for OpTextureGatherOffset; MaxTexelGatherOffset uint32 - // furthest negative offset for interpolateAtOffset; + // furthest negative offset for interpolateAtOffset; MinInterpolationOffset float32 - // furthest positive offset for interpolateAtOffset; + // furthest positive offset for interpolateAtOffset; MaxInterpolationOffset float32 - // number of subpixel bits for interpolateAtOffset; + // number of subpixel bits for interpolateAtOffset; SubPixelInterpolationOffsetBits uint32 - // max width for a framebuffer; + // max width for a framebuffer; MaxFramebufferWidth uint32 - // max height for a framebuffer; + // max height for a framebuffer; MaxFramebufferHeight uint32 - // max layer count for a layered framebuffer; + // max layer count for a layered framebuffer; MaxFramebufferLayers uint32 - // supported color sample counts for a framebuffer; + // supported color sample counts for a framebuffer; FramebufferColorSampleCounts SampleCountFlags - // supported depth sample counts for a framebuffer; + // supported depth sample counts for a framebuffer; FramebufferDepthSampleCounts SampleCountFlags - // supported stencil sample counts for a framebuffer; + // supported stencil sample counts for a framebuffer; FramebufferStencilSampleCounts SampleCountFlags - // supported sample counts for a subpass which uses no attachments; + // supported sample counts for a subpass which uses no attachments; FramebufferNoAttachmentsSampleCounts SampleCountFlags - // max number of color attachments per subpass; + // max number of color attachments per subpass; MaxColorAttachments uint32 - // supported color sample counts for a non-integer sampled image; + // supported color sample counts for a non-integer sampled image; SampledImageColorSampleCounts SampleCountFlags - // supported sample counts for an integer image; + // supported sample counts for an integer image; SampledImageIntegerSampleCounts SampleCountFlags - // supported depth sample counts for a sampled image; + // supported depth sample counts for a sampled image; SampledImageDepthSampleCounts SampleCountFlags - // supported stencil sample counts for a sampled image; + // supported stencil sample counts for a sampled image; SampledImageStencilSampleCounts SampleCountFlags - // supported sample counts for a storage image; + // supported sample counts for a storage image; StorageImageSampleCounts SampleCountFlags - // max number of sample mask words; + // max number of sample mask words; MaxSampleMaskWords uint32 - // timestamps on graphics and compute queues; + // timestamps on graphics and compute queues; TimestampComputeAndGraphics bool - // number of nanoseconds it takes for timestamp query value to increment by 1; + // number of nanoseconds it takes for timestamp query value to increment by 1; TimestampPeriod float32 - // max number of clip distances; + // max number of clip distances; MaxClipDistances uint32 - // max number of cull distances; + // max number of cull distances; MaxCullDistances uint32 - // max combined number of user clipping; + // max combined number of user clipping; MaxCombinedClipAndCullDistances uint32 - // distinct queue priorities available ; + // distinct queue priorities available ; DiscreteQueuePriorities uint32 - // range (min,max) of supported point sizes; + // range (min,max) of supported point sizes; PointSizeRange [2]float32 - // range (min,max) of supported line widths; + // range (min,max) of supported line widths; LineWidthRange [2]float32 - // granularity of supported point sizes; + // granularity of supported point sizes; PointSizeGranularity float32 - // granularity of supported line widths; + // granularity of supported line widths; LineWidthGranularity float32 - // line rasterization follows preferred rules; + // line rasterization follows preferred rules; StrictLines bool - // supports standard sample locations for all supported sample counts; + // supports standard sample locations for all supported sample counts; StandardSampleLocations bool - // optimal offset of buffer copies; + // optimal offset of buffer copies; OptimalBufferCopyOffsetAlignment DeviceSize - // optimal pitch of buffer copies; + // optimal pitch of buffer copies; OptimalBufferCopyRowPitchAlignment DeviceSize - // minimum size and alignment for non-coherent host-mapped device memory access; + // minimum size and alignment for non-coherent host-mapped device memory access; NonCoherentAtomSize DeviceSize } @@ -21857,7 +22678,25 @@ func (s *PhysicalDeviceLimits) Vulkanize() *_vkPhysicalDeviceLimits { // PhysicalDeviceLineRasterizationFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLineRasterizationFeaturesEXT.html type PhysicalDeviceLineRasterizationFeaturesEXT struct { - // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT +} + +type _vkPhysicalDeviceLineRasterizationFeaturesEXT = PhysicalDeviceLineRasterizationFeaturesEXT + +func (s *_vkPhysicalDeviceLineRasterizationFeaturesEXT) Goify() *PhysicalDeviceLineRasterizationFeaturesEXT { + rval := (*PhysicalDeviceLineRasterizationFeaturesEXT)(s) + return rval +} +func (s *PhysicalDeviceLineRasterizationFeaturesEXT) Vulkanize() *_vkPhysicalDeviceLineRasterizationFeaturesEXT { + if s == nil { + return nil + } + rval := (*_vkPhysicalDeviceLineRasterizationFeaturesEXT)(s) + return rval +} + +// PhysicalDeviceLineRasterizationFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLineRasterizationFeaturesKHR.html +type PhysicalDeviceLineRasterizationFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR PNext unsafe.Pointer RectangularLines bool BresenhamLines bool @@ -21867,7 +22706,7 @@ type PhysicalDeviceLineRasterizationFeaturesEXT struct { StippledSmoothLines bool } -type _vkPhysicalDeviceLineRasterizationFeaturesEXT struct { +type _vkPhysicalDeviceLineRasterizationFeaturesKHR struct { sType StructureType pNext unsafe.Pointer rectangularLines Bool32 @@ -21878,8 +22717,8 @@ type _vkPhysicalDeviceLineRasterizationFeaturesEXT struct { stippledSmoothLines Bool32 } -func (s *_vkPhysicalDeviceLineRasterizationFeaturesEXT) Goify() *PhysicalDeviceLineRasterizationFeaturesEXT { - rval := &PhysicalDeviceLineRasterizationFeaturesEXT{ +func (s *_vkPhysicalDeviceLineRasterizationFeaturesKHR) Goify() *PhysicalDeviceLineRasterizationFeaturesKHR { + rval := &PhysicalDeviceLineRasterizationFeaturesKHR{ PNext: (unsafe.Pointer)(s.pNext), RectangularLines: translatePublic_Bool32(s.rectangularLines), /*default*/ BresenhamLines: translatePublic_Bool32(s.bresenhamLines), /*default*/ @@ -21890,12 +22729,12 @@ func (s *_vkPhysicalDeviceLineRasterizationFeaturesEXT) Goify() *PhysicalDeviceL } return rval } -func (s *PhysicalDeviceLineRasterizationFeaturesEXT) Vulkanize() *_vkPhysicalDeviceLineRasterizationFeaturesEXT { +func (s *PhysicalDeviceLineRasterizationFeaturesKHR) Vulkanize() *_vkPhysicalDeviceLineRasterizationFeaturesKHR { if s == nil { return nil } - rval := &_vkPhysicalDeviceLineRasterizationFeaturesEXT{ - sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT, /*c1*/ + rval := &_vkPhysicalDeviceLineRasterizationFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR, /*c1*/ pNext: (unsafe.Pointer)(s.PNext), /*cb*/ rectangularLines: translateInternal_Bool32(s.RectangularLines), /*default*/ bresenhamLines: translateInternal_Bool32(s.BresenhamLines), /*default*/ @@ -21909,31 +22748,49 @@ func (s *PhysicalDeviceLineRasterizationFeaturesEXT) Vulkanize() *_vkPhysicalDev // PhysicalDeviceLineRasterizationPropertiesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLineRasterizationPropertiesEXT.html type PhysicalDeviceLineRasterizationPropertiesEXT struct { - // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT +} + +type _vkPhysicalDeviceLineRasterizationPropertiesEXT = PhysicalDeviceLineRasterizationPropertiesEXT + +func (s *_vkPhysicalDeviceLineRasterizationPropertiesEXT) Goify() *PhysicalDeviceLineRasterizationPropertiesEXT { + rval := (*PhysicalDeviceLineRasterizationPropertiesEXT)(s) + return rval +} +func (s *PhysicalDeviceLineRasterizationPropertiesEXT) Vulkanize() *_vkPhysicalDeviceLineRasterizationPropertiesEXT { + if s == nil { + return nil + } + rval := (*_vkPhysicalDeviceLineRasterizationPropertiesEXT)(s) + return rval +} + +// PhysicalDeviceLineRasterizationPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLineRasterizationPropertiesKHR.html +type PhysicalDeviceLineRasterizationPropertiesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR PNext unsafe.Pointer LineSubPixelPrecisionBits uint32 } -// WARNING - struct PhysicalDeviceLineRasterizationPropertiesEXT is returned only, which is not yet handled in the binding -type _vkPhysicalDeviceLineRasterizationPropertiesEXT struct { +// WARNING - struct PhysicalDeviceLineRasterizationPropertiesKHR is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceLineRasterizationPropertiesKHR struct { sType StructureType pNext unsafe.Pointer lineSubPixelPrecisionBits uint32 } -func (s *_vkPhysicalDeviceLineRasterizationPropertiesEXT) Goify() *PhysicalDeviceLineRasterizationPropertiesEXT { - rval := &PhysicalDeviceLineRasterizationPropertiesEXT{ +func (s *_vkPhysicalDeviceLineRasterizationPropertiesKHR) Goify() *PhysicalDeviceLineRasterizationPropertiesKHR { + rval := &PhysicalDeviceLineRasterizationPropertiesKHR{ PNext: (unsafe.Pointer)(s.pNext), LineSubPixelPrecisionBits: (uint32)(s.lineSubPixelPrecisionBits), } return rval } -func (s *PhysicalDeviceLineRasterizationPropertiesEXT) Vulkanize() *_vkPhysicalDeviceLineRasterizationPropertiesEXT { +func (s *PhysicalDeviceLineRasterizationPropertiesKHR) Vulkanize() *_vkPhysicalDeviceLineRasterizationPropertiesKHR { if s == nil { return nil } - rval := &_vkPhysicalDeviceLineRasterizationPropertiesEXT{ - sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT, /*c1*/ + rval := &_vkPhysicalDeviceLineRasterizationPropertiesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR, /*c1*/ pNext: (unsafe.Pointer)(s.PNext), /*cb*/ lineSubPixelPrecisionBits: (uint32)(s.LineSubPixelPrecisionBits), /*cb*/ } @@ -22148,6 +23005,245 @@ func (s *PhysicalDeviceMaintenance5PropertiesKHR) Vulkanize() *_vkPhysicalDevice return rval } +// PhysicalDeviceMaintenance6FeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMaintenance6FeaturesKHR.html +type PhysicalDeviceMaintenance6FeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES_KHR + PNext unsafe.Pointer + Maintenance6 bool +} + +type _vkPhysicalDeviceMaintenance6FeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + maintenance6 Bool32 +} + +func (s *_vkPhysicalDeviceMaintenance6FeaturesKHR) Goify() *PhysicalDeviceMaintenance6FeaturesKHR { + rval := &PhysicalDeviceMaintenance6FeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Maintenance6: translatePublic_Bool32(s.maintenance6), /*default*/ + } + return rval +} +func (s *PhysicalDeviceMaintenance6FeaturesKHR) Vulkanize() *_vkPhysicalDeviceMaintenance6FeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceMaintenance6FeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + maintenance6: translateInternal_Bool32(s.Maintenance6), /*default*/ + } + return rval +} + +// PhysicalDeviceMaintenance6PropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMaintenance6PropertiesKHR.html +type PhysicalDeviceMaintenance6PropertiesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES_KHR + PNext unsafe.Pointer + BlockTexelViewCompatibleMultipleLayers bool + MaxCombinedImageSamplerDescriptorCount uint32 + FragmentShadingRateClampCombinerInputs bool +} + +// WARNING - struct PhysicalDeviceMaintenance6PropertiesKHR is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceMaintenance6PropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + blockTexelViewCompatibleMultipleLayers Bool32 + maxCombinedImageSamplerDescriptorCount uint32 + fragmentShadingRateClampCombinerInputs Bool32 +} + +func (s *_vkPhysicalDeviceMaintenance6PropertiesKHR) Goify() *PhysicalDeviceMaintenance6PropertiesKHR { + rval := &PhysicalDeviceMaintenance6PropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + BlockTexelViewCompatibleMultipleLayers: translatePublic_Bool32(s.blockTexelViewCompatibleMultipleLayers), /*default*/ + MaxCombinedImageSamplerDescriptorCount: (uint32)(s.maxCombinedImageSamplerDescriptorCount), + FragmentShadingRateClampCombinerInputs: translatePublic_Bool32(s.fragmentShadingRateClampCombinerInputs), /*default*/ + } + return rval +} +func (s *PhysicalDeviceMaintenance6PropertiesKHR) Vulkanize() *_vkPhysicalDeviceMaintenance6PropertiesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceMaintenance6PropertiesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + blockTexelViewCompatibleMultipleLayers: translateInternal_Bool32(s.BlockTexelViewCompatibleMultipleLayers), /*default*/ + maxCombinedImageSamplerDescriptorCount: (uint32)(s.MaxCombinedImageSamplerDescriptorCount), /*cb*/ + fragmentShadingRateClampCombinerInputs: translateInternal_Bool32(s.FragmentShadingRateClampCombinerInputs), /*default*/ + } + return rval +} + +// PhysicalDeviceMaintenance7FeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMaintenance7FeaturesKHR.html +type PhysicalDeviceMaintenance7FeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR + PNext unsafe.Pointer + Maintenance7 bool +} + +type _vkPhysicalDeviceMaintenance7FeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + maintenance7 Bool32 +} + +func (s *_vkPhysicalDeviceMaintenance7FeaturesKHR) Goify() *PhysicalDeviceMaintenance7FeaturesKHR { + rval := &PhysicalDeviceMaintenance7FeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Maintenance7: translatePublic_Bool32(s.maintenance7), /*default*/ + } + return rval +} +func (s *PhysicalDeviceMaintenance7FeaturesKHR) Vulkanize() *_vkPhysicalDeviceMaintenance7FeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceMaintenance7FeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + maintenance7: translateInternal_Bool32(s.Maintenance7), /*default*/ + } + return rval +} + +// PhysicalDeviceMaintenance7PropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMaintenance7PropertiesKHR.html +type PhysicalDeviceMaintenance7PropertiesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR + PNext unsafe.Pointer + RobustFragmentShadingRateAttachmentAccess bool + SeparateDepthStencilAttachmentAccess bool + MaxDescriptorSetTotalUniformBuffersDynamic uint32 + MaxDescriptorSetTotalStorageBuffersDynamic uint32 + MaxDescriptorSetTotalBuffersDynamic uint32 + MaxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic uint32 + MaxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic uint32 + MaxDescriptorSetUpdateAfterBindTotalBuffersDynamic uint32 +} + +// WARNING - struct PhysicalDeviceMaintenance7PropertiesKHR is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceMaintenance7PropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + robustFragmentShadingRateAttachmentAccess Bool32 + separateDepthStencilAttachmentAccess Bool32 + maxDescriptorSetTotalUniformBuffersDynamic uint32 + maxDescriptorSetTotalStorageBuffersDynamic uint32 + maxDescriptorSetTotalBuffersDynamic uint32 + maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic uint32 + maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic uint32 + maxDescriptorSetUpdateAfterBindTotalBuffersDynamic uint32 +} + +func (s *_vkPhysicalDeviceMaintenance7PropertiesKHR) Goify() *PhysicalDeviceMaintenance7PropertiesKHR { + rval := &PhysicalDeviceMaintenance7PropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + RobustFragmentShadingRateAttachmentAccess: translatePublic_Bool32(s.robustFragmentShadingRateAttachmentAccess), /*default*/ + SeparateDepthStencilAttachmentAccess: translatePublic_Bool32(s.separateDepthStencilAttachmentAccess), /*default*/ + MaxDescriptorSetTotalUniformBuffersDynamic: (uint32)(s.maxDescriptorSetTotalUniformBuffersDynamic), + MaxDescriptorSetTotalStorageBuffersDynamic: (uint32)(s.maxDescriptorSetTotalStorageBuffersDynamic), + MaxDescriptorSetTotalBuffersDynamic: (uint32)(s.maxDescriptorSetTotalBuffersDynamic), + MaxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic: (uint32)(s.maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic), + MaxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic: (uint32)(s.maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic), + MaxDescriptorSetUpdateAfterBindTotalBuffersDynamic: (uint32)(s.maxDescriptorSetUpdateAfterBindTotalBuffersDynamic), + } + return rval +} +func (s *PhysicalDeviceMaintenance7PropertiesKHR) Vulkanize() *_vkPhysicalDeviceMaintenance7PropertiesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceMaintenance7PropertiesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + robustFragmentShadingRateAttachmentAccess: translateInternal_Bool32(s.RobustFragmentShadingRateAttachmentAccess), /*default*/ + separateDepthStencilAttachmentAccess: translateInternal_Bool32(s.SeparateDepthStencilAttachmentAccess), /*default*/ + maxDescriptorSetTotalUniformBuffersDynamic: (uint32)(s.MaxDescriptorSetTotalUniformBuffersDynamic), /*cb*/ + maxDescriptorSetTotalStorageBuffersDynamic: (uint32)(s.MaxDescriptorSetTotalStorageBuffersDynamic), /*cb*/ + maxDescriptorSetTotalBuffersDynamic: (uint32)(s.MaxDescriptorSetTotalBuffersDynamic), /*cb*/ + maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic: (uint32)(s.MaxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic), /*cb*/ + maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic: (uint32)(s.MaxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic), /*cb*/ + maxDescriptorSetUpdateAfterBindTotalBuffersDynamic: (uint32)(s.MaxDescriptorSetUpdateAfterBindTotalBuffersDynamic), /*cb*/ + } + return rval +} + +// PhysicalDeviceMapMemoryPlacedFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMapMemoryPlacedFeaturesEXT.html +type PhysicalDeviceMapMemoryPlacedFeaturesEXT struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT + PNext unsafe.Pointer + MemoryMapPlaced bool + MemoryMapRangePlaced bool + MemoryUnmapReserve bool +} + +type _vkPhysicalDeviceMapMemoryPlacedFeaturesEXT struct { + sType StructureType + pNext unsafe.Pointer + memoryMapPlaced Bool32 + memoryMapRangePlaced Bool32 + memoryUnmapReserve Bool32 +} + +func (s *_vkPhysicalDeviceMapMemoryPlacedFeaturesEXT) Goify() *PhysicalDeviceMapMemoryPlacedFeaturesEXT { + rval := &PhysicalDeviceMapMemoryPlacedFeaturesEXT{ + PNext: (unsafe.Pointer)(s.pNext), + MemoryMapPlaced: translatePublic_Bool32(s.memoryMapPlaced), /*default*/ + MemoryMapRangePlaced: translatePublic_Bool32(s.memoryMapRangePlaced), /*default*/ + MemoryUnmapReserve: translatePublic_Bool32(s.memoryUnmapReserve), /*default*/ + } + return rval +} +func (s *PhysicalDeviceMapMemoryPlacedFeaturesEXT) Vulkanize() *_vkPhysicalDeviceMapMemoryPlacedFeaturesEXT { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceMapMemoryPlacedFeaturesEXT{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + memoryMapPlaced: translateInternal_Bool32(s.MemoryMapPlaced), /*default*/ + memoryMapRangePlaced: translateInternal_Bool32(s.MemoryMapRangePlaced), /*default*/ + memoryUnmapReserve: translateInternal_Bool32(s.MemoryUnmapReserve), /*default*/ + } + return rval +} + +// PhysicalDeviceMapMemoryPlacedPropertiesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMapMemoryPlacedPropertiesEXT.html +type PhysicalDeviceMapMemoryPlacedPropertiesEXT struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_PROPERTIES_EXT + PNext unsafe.Pointer + MinPlacedMemoryMapAlignment DeviceSize +} + +// WARNING - struct PhysicalDeviceMapMemoryPlacedPropertiesEXT is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceMapMemoryPlacedPropertiesEXT struct { + sType StructureType + pNext unsafe.Pointer + minPlacedMemoryMapAlignment DeviceSize +} + +func (s *_vkPhysicalDeviceMapMemoryPlacedPropertiesEXT) Goify() *PhysicalDeviceMapMemoryPlacedPropertiesEXT { + rval := &PhysicalDeviceMapMemoryPlacedPropertiesEXT{ + PNext: (unsafe.Pointer)(s.pNext), + MinPlacedMemoryMapAlignment: (DeviceSize)(s.minPlacedMemoryMapAlignment), + } + return rval +} +func (s *PhysicalDeviceMapMemoryPlacedPropertiesEXT) Vulkanize() *_vkPhysicalDeviceMapMemoryPlacedPropertiesEXT { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceMapMemoryPlacedPropertiesEXT{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_PROPERTIES_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + minPlacedMemoryMapAlignment: (DeviceSize)(s.MinPlacedMemoryMapAlignment), /*cb*/ + } + return rval +} + // PhysicalDeviceMemoryBudgetPropertiesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMemoryBudgetPropertiesEXT.html type PhysicalDeviceMemoryBudgetPropertiesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT @@ -22766,11 +23862,11 @@ func (s *PhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT) Vulkanize() type PhysicalDeviceMultiviewFeatures struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES PNext unsafe.Pointer - // Multiple views in a renderpass; + // Multiple views in a render pass; Multiview bool - // Multiple views in a renderpass w/ geometry shader; + // Multiple views in a render pass w/ geometry shader; MultiviewGeometryShader bool - // Multiple views in a renderpass w/ tessellation shader; + // Multiple views in a render pass w/ tessellation shader; MultiviewTessellationShader bool } @@ -22924,9 +24020,9 @@ func (s *PhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM) Vulkanize() *_vkPh type PhysicalDeviceMultiviewProperties struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES PNext unsafe.Pointer - // max number of views in a subpass; + // max number of views in a subpass; MaxMultiviewViewCount uint32 - // max instance index for a draw in a multiview subpass; + // max instance index for a draw in a multiview subpass; MaxMultiviewInstanceIndex uint32 } @@ -23390,13 +24486,49 @@ func (s *PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT) Vulkanize() *_vkPhy return rval } +// PhysicalDevicePerStageDescriptorSetFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePerStageDescriptorSetFeaturesNV.html +type PhysicalDevicePerStageDescriptorSetFeaturesNV struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV + PNext unsafe.Pointer + PerStageDescriptorSet bool + DynamicPipelineLayout bool +} + +type _vkPhysicalDevicePerStageDescriptorSetFeaturesNV struct { + sType StructureType + pNext unsafe.Pointer + perStageDescriptorSet Bool32 + dynamicPipelineLayout Bool32 +} + +func (s *_vkPhysicalDevicePerStageDescriptorSetFeaturesNV) Goify() *PhysicalDevicePerStageDescriptorSetFeaturesNV { + rval := &PhysicalDevicePerStageDescriptorSetFeaturesNV{ + PNext: (unsafe.Pointer)(s.pNext), + PerStageDescriptorSet: translatePublic_Bool32(s.perStageDescriptorSet), /*default*/ + DynamicPipelineLayout: translatePublic_Bool32(s.dynamicPipelineLayout), /*default*/ + } + return rval +} +func (s *PhysicalDevicePerStageDescriptorSetFeaturesNV) Vulkanize() *_vkPhysicalDevicePerStageDescriptorSetFeaturesNV { + if s == nil { + return nil + } + rval := &_vkPhysicalDevicePerStageDescriptorSetFeaturesNV{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + perStageDescriptorSet: translateInternal_Bool32(s.PerStageDescriptorSet), /*default*/ + dynamicPipelineLayout: translateInternal_Bool32(s.DynamicPipelineLayout), /*default*/ + } + return rval +} + // PhysicalDevicePerformanceQueryFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePerformanceQueryFeaturesKHR.html type PhysicalDevicePerformanceQueryFeaturesKHR struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR PNext unsafe.Pointer - // performance counters supported in query pools; + // performance counters supported in query pools; PerformanceCounterQueryPools bool - // performance counters from multiple query pools can be accessed in the same primary command buffer; + // performance counters from multiple query pools can be accessed in the same primary command buffer; PerformanceCounterMultipleQueryPools bool } @@ -23432,7 +24564,7 @@ func (s *PhysicalDevicePerformanceQueryFeaturesKHR) Vulkanize() *_vkPhysicalDevi type PhysicalDevicePerformanceQueryPropertiesKHR struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR PNext unsafe.Pointer - // Flag to specify whether performance queries are allowed to be used in vkCmdCopyQueryPoolResults; + // Flag to specify whether performance queries are allowed to be used in vkCmdCopyQueryPoolResults; AllowCommandBufferQueryCopies bool } @@ -23772,7 +24904,7 @@ func (s *PhysicalDevicePresentBarrierFeaturesNV) Vulkanize() *_vkPhysicalDeviceP type PhysicalDevicePresentIdFeaturesKHR struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR PNext unsafe.Pointer - // Present ID in VkPresentInfoKHR; + // Present ID in VkPresentInfoKHR; PresentId bool } @@ -23805,7 +24937,7 @@ func (s *PhysicalDevicePresentIdFeaturesKHR) Vulkanize() *_vkPhysicalDevicePrese type PhysicalDevicePresentWaitFeaturesKHR struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR PNext unsafe.Pointer - // vkWaitForPresentKHR is supported; + // vkWaitForPresentKHR is supported; PresentWait bool } @@ -24298,6 +25430,38 @@ func (s *PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT) Vulkanize( return rval } +// PhysicalDeviceRawAccessChainsFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRawAccessChainsFeaturesNV.html +type PhysicalDeviceRawAccessChainsFeaturesNV struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV + PNext unsafe.Pointer + ShaderRawAccessChains bool +} + +type _vkPhysicalDeviceRawAccessChainsFeaturesNV struct { + sType StructureType + pNext unsafe.Pointer + shaderRawAccessChains Bool32 +} + +func (s *_vkPhysicalDeviceRawAccessChainsFeaturesNV) Goify() *PhysicalDeviceRawAccessChainsFeaturesNV { + rval := &PhysicalDeviceRawAccessChainsFeaturesNV{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderRawAccessChains: translatePublic_Bool32(s.shaderRawAccessChains), /*default*/ + } + return rval +} +func (s *PhysicalDeviceRawAccessChainsFeaturesNV) Vulkanize() *_vkPhysicalDeviceRawAccessChainsFeaturesNV { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceRawAccessChainsFeaturesNV{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderRawAccessChains: translateInternal_Bool32(s.ShaderRawAccessChains), /*default*/ + } + return rval +} + // PhysicalDeviceRayQueryFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRayQueryFeaturesKHR.html type PhysicalDeviceRayQueryFeaturesKHR struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR @@ -24669,6 +25833,38 @@ func (s *PhysicalDeviceRayTracingPropertiesNV) Vulkanize() *_vkPhysicalDeviceRay return rval } +// PhysicalDeviceRayTracingValidationFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRayTracingValidationFeaturesNV.html +type PhysicalDeviceRayTracingValidationFeaturesNV struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV + PNext unsafe.Pointer + RayTracingValidation bool +} + +type _vkPhysicalDeviceRayTracingValidationFeaturesNV struct { + sType StructureType + pNext unsafe.Pointer + rayTracingValidation Bool32 +} + +func (s *_vkPhysicalDeviceRayTracingValidationFeaturesNV) Goify() *PhysicalDeviceRayTracingValidationFeaturesNV { + rval := &PhysicalDeviceRayTracingValidationFeaturesNV{ + PNext: (unsafe.Pointer)(s.pNext), + RayTracingValidation: translatePublic_Bool32(s.rayTracingValidation), /*default*/ + } + return rval +} +func (s *PhysicalDeviceRayTracingValidationFeaturesNV) Vulkanize() *_vkPhysicalDeviceRayTracingValidationFeaturesNV { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceRayTracingValidationFeaturesNV{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + rayTracingValidation: translateInternal_Bool32(s.RayTracingValidation), /*default*/ + } + return rval +} + // PhysicalDeviceRelaxedLineRasterizationFeaturesIMG: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG.html type PhysicalDeviceRelaxedLineRasterizationFeaturesIMG struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG @@ -24701,6 +25897,75 @@ func (s *PhysicalDeviceRelaxedLineRasterizationFeaturesIMG) Vulkanize() *_vkPhys return rval } +// PhysicalDeviceRenderPassStripedFeaturesARM: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRenderPassStripedFeaturesARM.html +type PhysicalDeviceRenderPassStripedFeaturesARM struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM + PNext unsafe.Pointer + RenderPassStriped bool +} + +type _vkPhysicalDeviceRenderPassStripedFeaturesARM struct { + sType StructureType + pNext unsafe.Pointer + renderPassStriped Bool32 +} + +func (s *_vkPhysicalDeviceRenderPassStripedFeaturesARM) Goify() *PhysicalDeviceRenderPassStripedFeaturesARM { + rval := &PhysicalDeviceRenderPassStripedFeaturesARM{ + PNext: (unsafe.Pointer)(s.pNext), + RenderPassStriped: translatePublic_Bool32(s.renderPassStriped), /*default*/ + } + return rval +} +func (s *PhysicalDeviceRenderPassStripedFeaturesARM) Vulkanize() *_vkPhysicalDeviceRenderPassStripedFeaturesARM { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceRenderPassStripedFeaturesARM{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + renderPassStriped: translateInternal_Bool32(s.RenderPassStriped), /*default*/ + } + return rval +} + +// PhysicalDeviceRenderPassStripedPropertiesARM: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRenderPassStripedPropertiesARM.html +type PhysicalDeviceRenderPassStripedPropertiesARM struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM + PNext unsafe.Pointer + RenderPassStripeGranularity Extent2D + MaxRenderPassStripes uint32 +} + +// WARNING - struct PhysicalDeviceRenderPassStripedPropertiesARM is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceRenderPassStripedPropertiesARM struct { + sType StructureType + pNext unsafe.Pointer + renderPassStripeGranularity _vkExtent2D + maxRenderPassStripes uint32 +} + +func (s *_vkPhysicalDeviceRenderPassStripedPropertiesARM) Goify() *PhysicalDeviceRenderPassStripedPropertiesARM { + rval := &PhysicalDeviceRenderPassStripedPropertiesARM{ + PNext: (unsafe.Pointer)(s.pNext), + RenderPassStripeGranularity: (Extent2D)(s.renderPassStripeGranularity), + MaxRenderPassStripes: (uint32)(s.maxRenderPassStripes), + } + return rval +} +func (s *PhysicalDeviceRenderPassStripedPropertiesARM) Vulkanize() *_vkPhysicalDeviceRenderPassStripedPropertiesARM { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceRenderPassStripedPropertiesARM{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + renderPassStripeGranularity: (_vkExtent2D)(s.RenderPassStripeGranularity), /*cb*/ + maxRenderPassStripes: (uint32)(s.MaxRenderPassStripes), /*cb*/ + } + return rval +} + // PhysicalDeviceRepresentativeFragmentTestFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.html type PhysicalDeviceRepresentativeFragmentTestFeaturesNV struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV @@ -24918,7 +26183,7 @@ func (s *PhysicalDeviceSamplerFilterMinmaxPropertiesEXT) Vulkanize() *_vkPhysica type PhysicalDeviceSamplerYcbcrConversionFeatures struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES PNext unsafe.Pointer - // Sampler color conversion supported; + // Sampler color conversion supported; SamplerYcbcrConversion bool } @@ -25129,6 +26394,38 @@ func (s *PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR) Vulkanize() *_vkP return rval } +// PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV.html +type PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV + PNext unsafe.Pointer + ShaderFloat16VectorAtomics bool +} + +type _vkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV struct { + sType StructureType + pNext unsafe.Pointer + shaderFloat16VectorAtomics Bool32 +} + +func (s *_vkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV) Goify() *PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV { + rval := &PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderFloat16VectorAtomics: translatePublic_Bool32(s.shaderFloat16VectorAtomics), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV) Vulkanize() *_vkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderFloat16VectorAtomics: translateInternal_Bool32(s.ShaderFloat16VectorAtomics), /*default*/ + } + return rval +} + // PhysicalDeviceShaderAtomicFloat2FeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.html type PhysicalDeviceShaderAtomicFloat2FeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT @@ -25447,11 +26744,12 @@ func (s *PhysicalDeviceShaderCoreBuiltinsPropertiesARM) Vulkanize() *_vkPhysical // PhysicalDeviceShaderCoreProperties2AMD: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderCoreProperties2AMD.html type PhysicalDeviceShaderCoreProperties2AMD struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD - // Pointer to next structure; + // + // Pointer to next structure; PNext unsafe.Pointer - // features supported by the shader core; + // features supported by the shader core; ShaderCoreFeatures ShaderCorePropertiesFlagsAMD - // number of active compute units across all shader engines/arrays; + // number of active compute units across all shader engines/arrays; ActiveComputeUnitCount uint32 } @@ -25488,33 +26786,33 @@ func (s *PhysicalDeviceShaderCoreProperties2AMD) Vulkanize() *_vkPhysicalDeviceS type PhysicalDeviceShaderCorePropertiesAMD struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD PNext unsafe.Pointer - // number of shader engines; + // number of shader engines; ShaderEngineCount uint32 - // number of shader arrays; + // number of shader arrays; ShaderArraysPerEngineCount uint32 - // number of physical CUs per shader array; + // number of physical CUs per shader array; ComputeUnitsPerShaderArray uint32 - // number of SIMDs per compute unit; + // number of SIMDs per compute unit; SimdPerComputeUnit uint32 - // number of wavefront slots in each SIMD; + // number of wavefront slots in each SIMD; WavefrontsPerSimd uint32 - // maximum number of threads per wavefront; + // maximum number of threads per wavefront; WavefrontSize uint32 - // number of physical SGPRs per SIMD; + // number of physical SGPRs per SIMD; SgprsPerSimd uint32 - // minimum number of SGPRs that can be allocated by a wave; + // minimum number of SGPRs that can be allocated by a wave; MinSgprAllocation uint32 - // number of available SGPRs; + // number of available SGPRs; MaxSgprAllocation uint32 - // SGPRs are allocated in groups of this size; + // SGPRs are allocated in groups of this size; SgprAllocationGranularity uint32 - // number of physical VGPRs per SIMD; + // number of physical VGPRs per SIMD; VgprsPerSimd uint32 - // minimum number of VGPRs that can be allocated by a wave; + // minimum number of VGPRs that can be allocated by a wave; MinVgprAllocation uint32 - // number of available VGPRs; + // number of available VGPRs; MaxVgprAllocation uint32 - // VGPRs are allocated in groups of this size; + // VGPRs are allocated in groups of this size; VgprAllocationGranularity uint32 } @@ -25724,13 +27022,45 @@ func (s *PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD) Vulkanize() * return rval } +// PhysicalDeviceShaderExpectAssumeFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderExpectAssumeFeaturesKHR.html +type PhysicalDeviceShaderExpectAssumeFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES_KHR + PNext unsafe.Pointer + ShaderExpectAssume bool +} + +type _vkPhysicalDeviceShaderExpectAssumeFeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + shaderExpectAssume Bool32 +} + +func (s *_vkPhysicalDeviceShaderExpectAssumeFeaturesKHR) Goify() *PhysicalDeviceShaderExpectAssumeFeaturesKHR { + rval := &PhysicalDeviceShaderExpectAssumeFeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderExpectAssume: translatePublic_Bool32(s.shaderExpectAssume), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderExpectAssumeFeaturesKHR) Vulkanize() *_vkPhysicalDeviceShaderExpectAssumeFeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderExpectAssumeFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderExpectAssume: translateInternal_Bool32(s.ShaderExpectAssume), /*default*/ + } + return rval +} + // PhysicalDeviceShaderFloat16Int8Features: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderFloat16Int8Features.html type PhysicalDeviceShaderFloat16Int8Features struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES PNext unsafe.Pointer - // 16-bit floats (halfs) in shaders; + // 16-bit floats (halfs) in shaders; ShaderFloat16 bool - // 8-bit integers in shaders; + // 8-bit integers in shaders; ShaderInt8 bool } @@ -25780,6 +27110,38 @@ func (s *PhysicalDeviceShaderFloat16Int8FeaturesKHR) Vulkanize() *_vkPhysicalDev return rval } +// PhysicalDeviceShaderFloatControls2FeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderFloatControls2FeaturesKHR.html +type PhysicalDeviceShaderFloatControls2FeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR + PNext unsafe.Pointer + ShaderFloatControls2 bool +} + +type _vkPhysicalDeviceShaderFloatControls2FeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + shaderFloatControls2 Bool32 +} + +func (s *_vkPhysicalDeviceShaderFloatControls2FeaturesKHR) Goify() *PhysicalDeviceShaderFloatControls2FeaturesKHR { + rval := &PhysicalDeviceShaderFloatControls2FeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderFloatControls2: translatePublic_Bool32(s.shaderFloatControls2), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderFloatControls2FeaturesKHR) Vulkanize() *_vkPhysicalDeviceShaderFloatControls2FeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderFloatControls2FeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderFloatControls2: translateInternal_Bool32(s.ShaderFloatControls2), /*default*/ + } + return rval +} + // PhysicalDeviceShaderImageAtomicInt64FeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.html type PhysicalDeviceShaderImageAtomicInt64FeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT @@ -25916,6 +27278,38 @@ func (s *PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL) Vulkanize() *_vkPhy return rval } +// PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR.html +type PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR + PNext unsafe.Pointer + ShaderMaximalReconvergence bool +} + +type _vkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + shaderMaximalReconvergence Bool32 +} + +func (s *_vkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR) Goify() *PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR { + rval := &PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderMaximalReconvergence: translatePublic_Bool32(s.shaderMaximalReconvergence), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR) Vulkanize() *_vkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderMaximalReconvergence: translateInternal_Bool32(s.ShaderMaximalReconvergence), /*default*/ + } + return rval +} + // PhysicalDeviceShaderModuleIdentifierFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT.html type PhysicalDeviceShaderModuleIdentifierFeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT @@ -26050,6 +27444,102 @@ func (s *PhysicalDeviceShaderObjectPropertiesEXT) Vulkanize() *_vkPhysicalDevice return rval } +// PhysicalDeviceShaderQuadControlFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderQuadControlFeaturesKHR.html +type PhysicalDeviceShaderQuadControlFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR + PNext unsafe.Pointer + ShaderQuadControl bool +} + +type _vkPhysicalDeviceShaderQuadControlFeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + shaderQuadControl Bool32 +} + +func (s *_vkPhysicalDeviceShaderQuadControlFeaturesKHR) Goify() *PhysicalDeviceShaderQuadControlFeaturesKHR { + rval := &PhysicalDeviceShaderQuadControlFeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderQuadControl: translatePublic_Bool32(s.shaderQuadControl), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderQuadControlFeaturesKHR) Vulkanize() *_vkPhysicalDeviceShaderQuadControlFeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderQuadControlFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderQuadControl: translateInternal_Bool32(s.ShaderQuadControl), /*default*/ + } + return rval +} + +// PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR.html +type PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR + PNext unsafe.Pointer + ShaderRelaxedExtendedInstruction bool +} + +type _vkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + shaderRelaxedExtendedInstruction Bool32 +} + +func (s *_vkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR) Goify() *PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR { + rval := &PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderRelaxedExtendedInstruction: translatePublic_Bool32(s.shaderRelaxedExtendedInstruction), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR) Vulkanize() *_vkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderRelaxedExtendedInstruction: translateInternal_Bool32(s.ShaderRelaxedExtendedInstruction), /*default*/ + } + return rval +} + +// PhysicalDeviceShaderReplicatedCompositesFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT.html +type PhysicalDeviceShaderReplicatedCompositesFeaturesEXT struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT + PNext unsafe.Pointer + ShaderReplicatedComposites bool +} + +type _vkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT struct { + sType StructureType + pNext unsafe.Pointer + shaderReplicatedComposites Bool32 +} + +func (s *_vkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT) Goify() *PhysicalDeviceShaderReplicatedCompositesFeaturesEXT { + rval := &PhysicalDeviceShaderReplicatedCompositesFeaturesEXT{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderReplicatedComposites: translatePublic_Bool32(s.shaderReplicatedComposites), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderReplicatedCompositesFeaturesEXT) Vulkanize() *_vkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderReplicatedComposites: translateInternal_Bool32(s.ShaderReplicatedComposites), /*default*/ + } + return rval +} + // PhysicalDeviceShaderSMBuiltinsFeaturesNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.html type PhysicalDeviceShaderSMBuiltinsFeaturesNV struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV @@ -26123,7 +27613,7 @@ func (s *PhysicalDeviceShaderSMBuiltinsPropertiesNV) Vulkanize() *_vkPhysicalDev type PhysicalDeviceShaderSubgroupExtendedTypesFeatures struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES PNext unsafe.Pointer - // Flag to specify whether subgroup operations with extended types are supported; + // Flag to specify whether subgroup operations with extended types are supported; ShaderSubgroupExtendedTypes bool } @@ -26170,6 +27660,42 @@ func (s *PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR) Vulkanize() *_vkP return rval } +// PhysicalDeviceShaderSubgroupRotateFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderSubgroupRotateFeaturesKHR.html +type PhysicalDeviceShaderSubgroupRotateFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES_KHR + PNext unsafe.Pointer + ShaderSubgroupRotate bool + ShaderSubgroupRotateClustered bool +} + +type _vkPhysicalDeviceShaderSubgroupRotateFeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + shaderSubgroupRotate Bool32 + shaderSubgroupRotateClustered Bool32 +} + +func (s *_vkPhysicalDeviceShaderSubgroupRotateFeaturesKHR) Goify() *PhysicalDeviceShaderSubgroupRotateFeaturesKHR { + rval := &PhysicalDeviceShaderSubgroupRotateFeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ShaderSubgroupRotate: translatePublic_Bool32(s.shaderSubgroupRotate), /*default*/ + ShaderSubgroupRotateClustered: translatePublic_Bool32(s.shaderSubgroupRotateClustered), /*default*/ + } + return rval +} +func (s *PhysicalDeviceShaderSubgroupRotateFeaturesKHR) Vulkanize() *_vkPhysicalDeviceShaderSubgroupRotateFeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceShaderSubgroupRotateFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + shaderSubgroupRotate: translateInternal_Bool32(s.ShaderSubgroupRotate), /*default*/ + shaderSubgroupRotateClustered: translateInternal_Bool32(s.ShaderSubgroupRotateClustered), /*default*/ + } + return rval +} + // PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.html type PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR @@ -26446,15 +27972,15 @@ func (s *PhysicalDeviceSparseImageFormatInfo2KHR) Vulkanize() *_vkPhysicalDevice // PhysicalDeviceSparseProperties: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceSparseProperties.html type PhysicalDeviceSparseProperties struct { - // Sparse resources support: GPU will access all 2D (single sample) sparse resources using the standard sparse image block shapes (based on pixel format); + // Sparse resources support: GPU will access all 2D (single sample) sparse resources using the standard sparse image block shapes (based on pixel format); ResidencyStandard2DBlockShape bool - // Sparse resources support: GPU will access all 2D (multisample) sparse resources using the standard sparse image block shapes (based on pixel format); + // Sparse resources support: GPU will access all 2D (multisample) sparse resources using the standard sparse image block shapes (based on pixel format); ResidencyStandard2DMultisampleBlockShape bool - // Sparse resources support: GPU will access all 3D sparse resources using the standard sparse image block shapes (based on pixel format); + // Sparse resources support: GPU will access all 3D sparse resources using the standard sparse image block shapes (based on pixel format); ResidencyStandard3DBlockShape bool - // Sparse resources support: Images with mip level dimensions that are NOT a multiple of the sparse image block dimensions will be placed in the mip tail; + // Sparse resources support: Images with mip level dimensions that are NOT a multiple of the sparse image block dimensions will be placed in the mip tail; ResidencyAlignedMipSize bool - // Sparse resources support: GPU can consistently access non-resident regions of a resource, all reads return as if data is 0, writes are discarded; + // Sparse resources support: GPU can consistently access non-resident regions of a resource, all reads return as if data is 0, writes are discarded; ResidencyNonResidentStrict bool } @@ -26495,13 +28021,13 @@ func (s *PhysicalDeviceSparseProperties) Vulkanize() *_vkPhysicalDeviceSparsePro type PhysicalDeviceSubgroupProperties struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES PNext unsafe.Pointer - // The size of a subgroup for this queue.; + // The size of a subgroup for this queue.; SubgroupSize uint32 - // Bitfield of what shader stages support subgroup operations; + // Bitfield of what shader stages support subgroup operations; SupportedStages ShaderStageFlags - // Bitfield of what subgroup operations are supported.; + // Bitfield of what subgroup operations are supported.; SupportedOperations SubgroupFeatureFlags - // Flag to specify whether quad operations are available in all stages.; + // Flag to specify whether quad operations are available in all stages.; QuadOperationsInAllStages bool } @@ -27270,33 +28796,51 @@ func (s *PhysicalDeviceVariablePointersFeaturesKHR) Vulkanize() *_vkPhysicalDevi // PhysicalDeviceVertexAttributeDivisorFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.html type PhysicalDeviceVertexAttributeDivisorFeaturesEXT struct { - // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT +} + +type _vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT = PhysicalDeviceVertexAttributeDivisorFeaturesEXT + +func (s *_vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT) Goify() *PhysicalDeviceVertexAttributeDivisorFeaturesEXT { + rval := (*PhysicalDeviceVertexAttributeDivisorFeaturesEXT)(s) + return rval +} +func (s *PhysicalDeviceVertexAttributeDivisorFeaturesEXT) Vulkanize() *_vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT { + if s == nil { + return nil + } + rval := (*_vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT)(s) + return rval +} + +// PhysicalDeviceVertexAttributeDivisorFeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVertexAttributeDivisorFeaturesKHR.html +type PhysicalDeviceVertexAttributeDivisorFeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR PNext unsafe.Pointer VertexAttributeInstanceRateDivisor bool VertexAttributeInstanceRateZeroDivisor bool } -type _vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT struct { +type _vkPhysicalDeviceVertexAttributeDivisorFeaturesKHR struct { sType StructureType pNext unsafe.Pointer vertexAttributeInstanceRateDivisor Bool32 vertexAttributeInstanceRateZeroDivisor Bool32 } -func (s *_vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT) Goify() *PhysicalDeviceVertexAttributeDivisorFeaturesEXT { - rval := &PhysicalDeviceVertexAttributeDivisorFeaturesEXT{ +func (s *_vkPhysicalDeviceVertexAttributeDivisorFeaturesKHR) Goify() *PhysicalDeviceVertexAttributeDivisorFeaturesKHR { + rval := &PhysicalDeviceVertexAttributeDivisorFeaturesKHR{ PNext: (unsafe.Pointer)(s.pNext), VertexAttributeInstanceRateDivisor: translatePublic_Bool32(s.vertexAttributeInstanceRateDivisor), /*default*/ VertexAttributeInstanceRateZeroDivisor: translatePublic_Bool32(s.vertexAttributeInstanceRateZeroDivisor), /*default*/ } return rval } -func (s *PhysicalDeviceVertexAttributeDivisorFeaturesEXT) Vulkanize() *_vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT { +func (s *PhysicalDeviceVertexAttributeDivisorFeaturesKHR) Vulkanize() *_vkPhysicalDeviceVertexAttributeDivisorFeaturesKHR { if s == nil { return nil } - rval := &_vkPhysicalDeviceVertexAttributeDivisorFeaturesEXT{ - sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT, /*c1*/ + rval := &_vkPhysicalDeviceVertexAttributeDivisorFeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR, /*c1*/ pNext: (unsafe.Pointer)(s.PNext), /*cb*/ vertexAttributeInstanceRateDivisor: translateInternal_Bool32(s.VertexAttributeInstanceRateDivisor), /*default*/ vertexAttributeInstanceRateZeroDivisor: translateInternal_Bool32(s.VertexAttributeInstanceRateZeroDivisor), /*default*/ @@ -27308,7 +28852,7 @@ func (s *PhysicalDeviceVertexAttributeDivisorFeaturesEXT) Vulkanize() *_vkPhysic type PhysicalDeviceVertexAttributeDivisorPropertiesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT PNext unsafe.Pointer - // max value of vertex attribute divisor; + // max value of vertex attribute divisor; MaxVertexAttribDivisor uint32 } @@ -27338,6 +28882,44 @@ func (s *PhysicalDeviceVertexAttributeDivisorPropertiesEXT) Vulkanize() *_vkPhys return rval } +// PhysicalDeviceVertexAttributeDivisorPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVertexAttributeDivisorPropertiesKHR.html +type PhysicalDeviceVertexAttributeDivisorPropertiesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR + PNext unsafe.Pointer + // max value of vertex attribute divisor; + MaxVertexAttribDivisor uint32 + SupportsNonZeroFirstInstance bool +} + +// WARNING - struct PhysicalDeviceVertexAttributeDivisorPropertiesKHR is returned only, which is not yet handled in the binding +type _vkPhysicalDeviceVertexAttributeDivisorPropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + maxVertexAttribDivisor uint32 + supportsNonZeroFirstInstance Bool32 +} + +func (s *_vkPhysicalDeviceVertexAttributeDivisorPropertiesKHR) Goify() *PhysicalDeviceVertexAttributeDivisorPropertiesKHR { + rval := &PhysicalDeviceVertexAttributeDivisorPropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + MaxVertexAttribDivisor: (uint32)(s.maxVertexAttribDivisor), + SupportsNonZeroFirstInstance: translatePublic_Bool32(s.supportsNonZeroFirstInstance), /*default*/ + } + return rval +} +func (s *PhysicalDeviceVertexAttributeDivisorPropertiesKHR) Vulkanize() *_vkPhysicalDeviceVertexAttributeDivisorPropertiesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceVertexAttributeDivisorPropertiesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + maxVertexAttribDivisor: (uint32)(s.MaxVertexAttribDivisor), /*cb*/ + supportsNonZeroFirstInstance: translateInternal_Bool32(s.SupportsNonZeroFirstInstance), /*default*/ + } + return rval +} + // PhysicalDeviceVertexInputDynamicStateFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.html type PhysicalDeviceVertexInputDynamicStateFeaturesEXT struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT @@ -27370,6 +28952,42 @@ func (s *PhysicalDeviceVertexInputDynamicStateFeaturesEXT) Vulkanize() *_vkPhysi return rval } +// PhysicalDeviceVideoEncodeQualityLevelInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR.html +type PhysicalDeviceVideoEncodeQualityLevelInfoKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR + PNext unsafe.Pointer + PVideoProfile *VideoProfileInfoKHR + QualityLevel uint32 +} + +type _vkPhysicalDeviceVideoEncodeQualityLevelInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + pVideoProfile *_vkVideoProfileInfoKHR + qualityLevel uint32 +} + +func (s *_vkPhysicalDeviceVideoEncodeQualityLevelInfoKHR) Goify() *PhysicalDeviceVideoEncodeQualityLevelInfoKHR { + rval := &PhysicalDeviceVideoEncodeQualityLevelInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected pointer member pVideoProfile in returned struct + QualityLevel: (uint32)(s.qualityLevel), + } + return rval +} +func (s *PhysicalDeviceVideoEncodeQualityLevelInfoKHR) Vulkanize() *_vkPhysicalDeviceVideoEncodeQualityLevelInfoKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceVideoEncodeQualityLevelInfoKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pVideoProfile: (s.PVideoProfile.Vulkanize()), /*c rem*/ + qualityLevel: (uint32)(s.QualityLevel), /*cb*/ + } + return rval +} + // PhysicalDeviceVideoFormatInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVideoFormatInfoKHR.html type PhysicalDeviceVideoFormatInfoKHR struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR @@ -27402,28 +29020,60 @@ func (s *PhysicalDeviceVideoFormatInfoKHR) Vulkanize() *_vkPhysicalDeviceVideoFo return rval } +// PhysicalDeviceVideoMaintenance1FeaturesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVideoMaintenance1FeaturesKHR.html +type PhysicalDeviceVideoMaintenance1FeaturesKHR struct { + // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR + PNext unsafe.Pointer + VideoMaintenance1 bool +} + +type _vkPhysicalDeviceVideoMaintenance1FeaturesKHR struct { + sType StructureType + pNext unsafe.Pointer + videoMaintenance1 Bool32 +} + +func (s *_vkPhysicalDeviceVideoMaintenance1FeaturesKHR) Goify() *PhysicalDeviceVideoMaintenance1FeaturesKHR { + rval := &PhysicalDeviceVideoMaintenance1FeaturesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + VideoMaintenance1: translatePublic_Bool32(s.videoMaintenance1), /*default*/ + } + return rval +} +func (s *PhysicalDeviceVideoMaintenance1FeaturesKHR) Vulkanize() *_vkPhysicalDeviceVideoMaintenance1FeaturesKHR { + if s == nil { + return nil + } + rval := &_vkPhysicalDeviceVideoMaintenance1FeaturesKHR{ + sType: STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + videoMaintenance1: translateInternal_Bool32(s.VideoMaintenance1), /*default*/ + } + return rval +} + // PhysicalDeviceVulkan11Features: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVulkan11Features.html type PhysicalDeviceVulkan11Features struct { // SType = STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES PNext unsafe.Pointer - // 16-bit integer/floating-point variables supported in BufferBlock; + // 16-bit integer/floating-point variables supported in BufferBlock; StorageBuffer16BitAccess bool - // 16-bit integer/floating-point variables supported in BufferBlock and Block; + // 16-bit integer/floating-point variables supported in BufferBlock and Block; UniformAndStorageBuffer16BitAccess bool - // 16-bit integer/floating-point variables supported in PushConstant; + // 16-bit integer/floating-point variables supported in PushConstant; StoragePushConstant16 bool - // 16-bit integer/floating-point variables supported in shader inputs and outputs; + // 16-bit integer/floating-point variables supported in shader inputs and outputs; StorageInputOutput16 bool - // Multiple views in a renderpass; + // Multiple views in a render pass; Multiview bool - // Multiple views in a renderpass w/ geometry shader; + // Multiple views in a render pass w/ geometry shader; MultiviewGeometryShader bool - // Multiple views in a renderpass w/ tessellation shader; + // Multiple views in a render pass w/ tessellation shader; MultiviewTessellationShader bool VariablePointersStorageBuffer bool VariablePointers bool ProtectedMemory bool - // Sampler color conversion supported; + // Sampler color conversion supported; SamplerYcbcrConversion bool ShaderDrawParameters bool } @@ -27495,18 +29145,18 @@ type PhysicalDeviceVulkan11Properties struct { DeviceLUID [LUID_SIZE]uint8 DeviceNodeMask uint32 DeviceLUIDValid bool - // The size of a subgroup for this queue.; + // The size of a subgroup for this queue.; SubgroupSize uint32 - // Bitfield of what shader stages support subgroup operations; + // Bitfield of what shader stages support subgroup operations; SubgroupSupportedStages ShaderStageFlags - // Bitfield of what subgroup operations are supported.; + // Bitfield of what subgroup operations are supported.; SubgroupSupportedOperations SubgroupFeatureFlags - // Flag to specify whether quad operations are available in all stages.; + // Flag to specify whether quad operations are available in all stages.; SubgroupQuadOperationsInAllStages bool PointClippingBehavior PointClippingBehavior - // max number of views in a subpass; + // max number of views in a subpass; MaxMultiviewViewCount uint32 - // max instance index for a draw in a multiview subpass; + // max instance index for a draw in a multiview subpass; MaxMultiviewInstanceIndex uint32 ProtectedNoFault bool MaxPerSetDescriptors uint32 @@ -27587,17 +29237,17 @@ type PhysicalDeviceVulkan12Features struct { PNext unsafe.Pointer SamplerMirrorClampToEdge bool DrawIndirectCount bool - // 8-bit integer variables supported in StorageBuffer; + // 8-bit integer variables supported in StorageBuffer; StorageBuffer8BitAccess bool - // 8-bit integer variables supported in StorageBuffer and Uniform; + // 8-bit integer variables supported in StorageBuffer and Uniform; UniformAndStorageBuffer8BitAccess bool - // 8-bit integer variables supported in PushConstant; + // 8-bit integer variables supported in PushConstant; StoragePushConstant8 bool ShaderBufferInt64Atomics bool ShaderSharedInt64Atomics bool - // 16-bit floats (halfs) in shaders; + // 16-bit floats (halfs) in shaders; ShaderFloat16 bool - // 8-bit integers in shaders; + // 8-bit integers in shaders; ShaderInt8 bool DescriptorIndexing bool ShaderInputAttachmentArrayDynamicIndexing bool @@ -27812,35 +29462,35 @@ type PhysicalDeviceVulkan12Properties struct { ConformanceVersion ConformanceVersion DenormBehaviorIndependence ShaderFloatControlsIndependence RoundingModeIndependence ShaderFloatControlsIndependence - // An implementation can preserve signed zero, nan, inf; + // An implementation can preserve signed zero, nan, inf; ShaderSignedZeroInfNanPreserveFloat16 bool - // An implementation can preserve signed zero, nan, inf; + // An implementation can preserve signed zero, nan, inf; ShaderSignedZeroInfNanPreserveFloat32 bool - // An implementation can preserve signed zero, nan, inf; + // An implementation can preserve signed zero, nan, inf; ShaderSignedZeroInfNanPreserveFloat64 bool - // An implementation can preserve denormals; + // An implementation can preserve denormals; ShaderDenormPreserveFloat16 bool - // An implementation can preserve denormals; + // An implementation can preserve denormals; ShaderDenormPreserveFloat32 bool - // An implementation can preserve denormals; + // An implementation can preserve denormals; ShaderDenormPreserveFloat64 bool - // An implementation can flush to zero denormals; + // An implementation can flush to zero denormals; ShaderDenormFlushToZeroFloat16 bool - // An implementation can flush to zero denormals; + // An implementation can flush to zero denormals; ShaderDenormFlushToZeroFloat32 bool - // An implementation can flush to zero denormals; + // An implementation can flush to zero denormals; ShaderDenormFlushToZeroFloat64 bool - // An implementation can support RTE; + // An implementation can support RTE; ShaderRoundingModeRTEFloat16 bool - // An implementation can support RTE; + // An implementation can support RTE; ShaderRoundingModeRTEFloat32 bool - // An implementation can support RTE; + // An implementation can support RTE; ShaderRoundingModeRTEFloat64 bool - // An implementation can support RTZ; + // An implementation can support RTZ; ShaderRoundingModeRTZFloat16 bool - // An implementation can support RTZ; + // An implementation can support RTZ; ShaderRoundingModeRTZFloat32 bool - // An implementation can support RTZ; + // An implementation can support RTZ; ShaderRoundingModeRTZFloat64 bool MaxUpdateAfterBindDescriptorsInAllPools uint32 ShaderUniformBufferArrayNonUniformIndexingNative bool @@ -27865,13 +29515,13 @@ type PhysicalDeviceVulkan12Properties struct { MaxDescriptorSetUpdateAfterBindSampledImages uint32 MaxDescriptorSetUpdateAfterBindStorageImages uint32 MaxDescriptorSetUpdateAfterBindInputAttachments uint32 - // supported depth resolve modes; + // supported depth resolve modes; SupportedDepthResolveModes ResolveModeFlags - // supported stencil resolve modes; + // supported stencil resolve modes; SupportedStencilResolveModes ResolveModeFlags - // depth and stencil resolve modes can be set independently if one of them is none; + // depth and stencil resolve modes can be set independently if one of them is none; IndependentResolveNone bool - // depth and stencil resolve modes can be set independently; + // depth and stencil resolve modes can be set independently; IndependentResolve bool FilterMinmaxSingleComponentFormats bool FilterMinmaxImageComponentMapping bool @@ -28279,9 +29929,9 @@ type PipelineCacheCreateInfo struct { // SType = STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO PNext unsafe.Pointer Flags PipelineCacheCreateFlags - // Size of initial data to populate cache, in bytes; + // Size of initial data to populate cache, in bytes; InitialDataSize uintptr - // Initial data to populate cache; + // Initial data to populate cache; PInitialData unsafe.Pointer } @@ -28439,7 +30089,8 @@ type PipelineColorBlendStateCreateInfo struct { Flags PipelineColorBlendStateCreateFlags LogicOpEnable bool LogicOp LogicOp - // # of pAttachments; + // # of pAttachments; + // // attachmentCount PAttachments []PipelineColorBlendAttachmentState BlendConstants [4]float32 @@ -28498,7 +30149,8 @@ func (s *PipelineColorBlendStateCreateInfo) Vulkanize() *_vkPipelineColorBlendSt type PipelineColorWriteCreateInfoEXT struct { // SType = STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXT PNext unsafe.Pointer - // # of pAttachments; + // # of pAttachments; + // // attachmentCount PColorWriteEnables []bool } @@ -28777,7 +30429,7 @@ type PipelineDepthStencilStateCreateInfo struct { DepthTestEnable bool DepthWriteEnable bool DepthCompareOp CompareOp - // optional (depth_bounds_test); + // optional (depth_bounds_test); DepthBoundsTestEnable bool StencilTestEnable bool Front StencilOpState @@ -29318,13 +30970,17 @@ type PipelineLayoutCreateInfo struct { // SType = STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO PNext unsafe.Pointer Flags PipelineLayoutCreateFlags - // Number of descriptor sets interfaced by the pipeline; + // Number of descriptor sets interfaced by the pipeline; + // // setLayoutCount - // Array of setCount number of descriptor set layout objects defining the layout of the; + // + // Array of setCount number of descriptor set layout objects defining the layout of the; PSetLayouts []DescriptorSetLayout - // Number of push-constant ranges used by the pipeline; + // Number of push-constant ranges used by the pipeline; + // // pushConstantRangeCount - // Array of pushConstantRangeCount number of ranges used by various shader stages; + // + // Array of pushConstantRangeCount number of ranges used by various shader stages; PPushConstantRanges []PushConstantRange } @@ -29421,13 +31077,13 @@ type PipelineMultisampleStateCreateInfo struct { // SType = STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO PNext unsafe.Pointer Flags PipelineMultisampleStateCreateFlags - // Number of samples used for rasterization; + // Number of samples used for rasterization; RasterizationSamples SampleCountFlagBits - // optional (GL45); + // optional (GL45); SampleShadingEnable bool - // optional (GL45); + // optional (GL45); MinSampleShading float32 - // Array of sampleMask words; + // Array of sampleMask words; PSampleMask *SampleMask AlphaToCoverageEnable bool AlphaToOneEnable bool @@ -29483,6 +31139,7 @@ type PipelinePropertiesIdentifierEXT struct { PipelineIdentifier [UUID_SIZE]uint8 } +// WARNING - struct PipelinePropertiesIdentifierEXT is returned only, which is not yet handled in the binding type _vkPipelinePropertiesIdentifierEXT struct { sType StructureType pNext unsafe.Pointer @@ -29512,11 +31169,11 @@ func (s *PipelinePropertiesIdentifierEXT) Vulkanize() *_vkPipelinePropertiesIden type PipelineRasterizationConservativeStateCreateInfoEXT struct { // SType = STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT PNext unsafe.Pointer - // Reserved; + // Reserved; Flags PipelineRasterizationConservativeStateCreateFlagsEXT - // Conservative rasterization mode; + // Conservative rasterization mode; ConservativeRasterizationMode ConservativeRasterizationModeEXT - // Extra overestimation to add to the primitive; + // Extra overestimation to add to the primitive; ExtraPrimitiveOverestimationSize float32 } @@ -29555,7 +31212,7 @@ func (s *PipelineRasterizationConservativeStateCreateInfoEXT) Vulkanize() *_vkPi type PipelineRasterizationDepthClipStateCreateInfoEXT struct { // SType = STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT PNext unsafe.Pointer - // Reserved; + // Reserved; Flags PipelineRasterizationDepthClipStateCreateFlagsEXT DepthClipEnable bool } @@ -29590,41 +31247,59 @@ func (s *PipelineRasterizationDepthClipStateCreateInfoEXT) Vulkanize() *_vkPipel // PipelineRasterizationLineStateCreateInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineRasterizationLineStateCreateInfoEXT.html type PipelineRasterizationLineStateCreateInfoEXT struct { - // SType = STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT +} + +type _vkPipelineRasterizationLineStateCreateInfoEXT = PipelineRasterizationLineStateCreateInfoEXT + +func (s *_vkPipelineRasterizationLineStateCreateInfoEXT) Goify() *PipelineRasterizationLineStateCreateInfoEXT { + rval := (*PipelineRasterizationLineStateCreateInfoEXT)(s) + return rval +} +func (s *PipelineRasterizationLineStateCreateInfoEXT) Vulkanize() *_vkPipelineRasterizationLineStateCreateInfoEXT { + if s == nil { + return nil + } + rval := (*_vkPipelineRasterizationLineStateCreateInfoEXT)(s) + return rval +} + +// PipelineRasterizationLineStateCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineRasterizationLineStateCreateInfoKHR.html +type PipelineRasterizationLineStateCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR PNext unsafe.Pointer - LineRasterizationMode LineRasterizationModeEXT + LineRasterizationMode LineRasterizationModeKHR StippledLineEnable bool LineStippleFactor uint32 LineStipplePattern uint16 } -type _vkPipelineRasterizationLineStateCreateInfoEXT struct { +type _vkPipelineRasterizationLineStateCreateInfoKHR struct { sType StructureType pNext unsafe.Pointer - lineRasterizationMode LineRasterizationModeEXT + lineRasterizationMode LineRasterizationModeKHR stippledLineEnable Bool32 lineStippleFactor uint32 lineStipplePattern uint16 } -func (s *_vkPipelineRasterizationLineStateCreateInfoEXT) Goify() *PipelineRasterizationLineStateCreateInfoEXT { - rval := &PipelineRasterizationLineStateCreateInfoEXT{ +func (s *_vkPipelineRasterizationLineStateCreateInfoKHR) Goify() *PipelineRasterizationLineStateCreateInfoKHR { + rval := &PipelineRasterizationLineStateCreateInfoKHR{ PNext: (unsafe.Pointer)(s.pNext), - LineRasterizationMode: (LineRasterizationModeEXT)(s.lineRasterizationMode), + LineRasterizationMode: (LineRasterizationModeKHR)(s.lineRasterizationMode), StippledLineEnable: translatePublic_Bool32(s.stippledLineEnable), /*default*/ LineStippleFactor: (uint32)(s.lineStippleFactor), LineStipplePattern: (uint16)(s.lineStipplePattern), } return rval } -func (s *PipelineRasterizationLineStateCreateInfoEXT) Vulkanize() *_vkPipelineRasterizationLineStateCreateInfoEXT { +func (s *PipelineRasterizationLineStateCreateInfoKHR) Vulkanize() *_vkPipelineRasterizationLineStateCreateInfoKHR { if s == nil { return nil } - rval := &_vkPipelineRasterizationLineStateCreateInfoEXT{ - sType: STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT, /*c1*/ + rval := &_vkPipelineRasterizationLineStateCreateInfoKHR{ + sType: STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR, /*c1*/ pNext: (unsafe.Pointer)(s.PNext), /*cb*/ - lineRasterizationMode: (LineRasterizationModeEXT)(s.LineRasterizationMode), /*cb*/ + lineRasterizationMode: (LineRasterizationModeKHR)(s.LineRasterizationMode), /*cb*/ stippledLineEnable: translateInternal_Bool32(s.StippledLineEnable), /*default*/ lineStippleFactor: (uint32)(s.LineStippleFactor), /*cb*/ lineStipplePattern: (uint16)(s.LineStipplePattern), /*cb*/ @@ -29671,7 +31346,7 @@ type PipelineRasterizationStateCreateInfo struct { Flags PipelineRasterizationStateCreateFlags DepthClampEnable bool RasterizerDiscardEnable bool - // optional (GL45); + // optional (GL45); PolygonMode PolygonMode CullMode CullModeFlags FrontFace FrontFace @@ -29741,7 +31416,7 @@ func (s *PipelineRasterizationStateCreateInfo) Vulkanize() *_vkPipelineRasteriza type PipelineRasterizationStateRasterizationOrderAMD struct { // SType = STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD PNext unsafe.Pointer - // Rasterization order to use for the pipeline; + // Rasterization order to use for the pipeline; RasterizationOrder RasterizationOrderAMD } @@ -29941,11 +31616,11 @@ type PipelineShaderStageCreateInfo struct { // SType = STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO PNext unsafe.Pointer Flags PipelineShaderStageCreateFlags - // Shader stage; + // Shader stage; Stage ShaderStageFlagBits - // Module containing entry point; + // Module containing entry point; Module ShaderModule - // Null-terminated entry point name; + // Null-terminated entry point name; PName string PSpecializationInfo *SpecializationInfo } @@ -30134,38 +31809,56 @@ func (s *PipelineTessellationStateCreateInfo) Vulkanize() *_vkPipelineTessellati // PipelineVertexInputDivisorStateCreateInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineVertexInputDivisorStateCreateInfoEXT.html type PipelineVertexInputDivisorStateCreateInfoEXT struct { - // SType = STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT +} + +type _vkPipelineVertexInputDivisorStateCreateInfoEXT = PipelineVertexInputDivisorStateCreateInfoEXT + +func (s *_vkPipelineVertexInputDivisorStateCreateInfoEXT) Goify() *PipelineVertexInputDivisorStateCreateInfoEXT { + rval := (*PipelineVertexInputDivisorStateCreateInfoEXT)(s) + return rval +} +func (s *PipelineVertexInputDivisorStateCreateInfoEXT) Vulkanize() *_vkPipelineVertexInputDivisorStateCreateInfoEXT { + if s == nil { + return nil + } + rval := (*_vkPipelineVertexInputDivisorStateCreateInfoEXT)(s) + return rval +} + +// PipelineVertexInputDivisorStateCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineVertexInputDivisorStateCreateInfoKHR.html +type PipelineVertexInputDivisorStateCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR PNext unsafe.Pointer // vertexBindingDivisorCount - PVertexBindingDivisors []VertexInputBindingDivisorDescriptionEXT + PVertexBindingDivisors []VertexInputBindingDivisorDescriptionKHR } -type _vkPipelineVertexInputDivisorStateCreateInfoEXT struct { +type _vkPipelineVertexInputDivisorStateCreateInfoKHR struct { sType StructureType pNext unsafe.Pointer vertexBindingDivisorCount uint32 - pVertexBindingDivisors *_vkVertexInputBindingDivisorDescriptionEXT + pVertexBindingDivisors *_vkVertexInputBindingDivisorDescriptionKHR } -func (s *_vkPipelineVertexInputDivisorStateCreateInfoEXT) Goify() *PipelineVertexInputDivisorStateCreateInfoEXT { - rval := &PipelineVertexInputDivisorStateCreateInfoEXT{ +func (s *_vkPipelineVertexInputDivisorStateCreateInfoKHR) Goify() *PipelineVertexInputDivisorStateCreateInfoKHR { + rval := &PipelineVertexInputDivisorStateCreateInfoKHR{ PNext: (unsafe.Pointer)(s.pNext), // Unexpected 'isLenForAnotherMember'! // Unexpected pointer member pVertexBindingDivisors in returned struct } return rval } -func (s *PipelineVertexInputDivisorStateCreateInfoEXT) Vulkanize() *_vkPipelineVertexInputDivisorStateCreateInfoEXT { +func (s *PipelineVertexInputDivisorStateCreateInfoKHR) Vulkanize() *_vkPipelineVertexInputDivisorStateCreateInfoKHR { if s == nil { return nil } - var psl_pVertexBindingDivisors *_vkVertexInputBindingDivisorDescriptionEXT + var psl_pVertexBindingDivisors *_vkVertexInputBindingDivisorDescriptionKHR if len(s.PVertexBindingDivisors) > 0 { psl_pVertexBindingDivisors = &s.PVertexBindingDivisors[0] } - rval := &_vkPipelineVertexInputDivisorStateCreateInfoEXT{ - sType: STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT, /*c1*/ + rval := &_vkPipelineVertexInputDivisorStateCreateInfoKHR{ + sType: STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR, /*c1*/ pNext: (unsafe.Pointer)(s.PNext), /*cb*/ vertexBindingDivisorCount: uint32(len(s.PVertexBindingDivisors)), /*c6-a*/ pVertexBindingDivisors: psl_pVertexBindingDivisors, /*c rem*/ @@ -30178,10 +31871,12 @@ type PipelineVertexInputStateCreateInfo struct { // SType = STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO PNext unsafe.Pointer Flags PipelineVertexInputStateCreateFlags - // number of bindings; + // number of bindings; + // // vertexBindingDescriptionCount PVertexBindingDescriptions []VertexInputBindingDescription - // number of attributes; + // number of attributes; + // // vertexAttributeDescriptionCount PVertexAttributeDescriptions []VertexInputAttributeDescription } @@ -30564,9 +32259,11 @@ func (s *PipelineViewportWScalingStateCreateInfoNV) Vulkanize() *_vkPipelineView type PresentIdKHR struct { // SType = STRUCTURE_TYPE_PRESENT_ID_KHR PNext unsafe.Pointer - // Copy of VkPresentInfoKHR::swapchainCount; + // Copy of VkPresentInfoKHR::swapchainCount; + // // swapchainCount - // Present ID values for each swapchain; + // + // Present ID values for each swapchain; PPresentIds []uint64 } @@ -30607,17 +32304,21 @@ func (s *PresentIdKHR) Vulkanize() *_vkPresentIdKHR { type PresentInfoKHR struct { // SType = STRUCTURE_TYPE_PRESENT_INFO_KHR PNext unsafe.Pointer - // Number of semaphores to wait for before presenting; + // Number of semaphores to wait for before presenting; + // // waitSemaphoreCount - // Semaphores to wait for before presenting; + // + // Semaphores to wait for before presenting; PWaitSemaphores []Semaphore - // Number of swapchains to present in this call; + // Number of swapchains to present in this call; + // // swapchainCount - // Swapchains to present an image from; + // + // Swapchains to present an image from; PSwapchains []SwapchainKHR - // Indices of which presentable images to present; + // Indices of which presentable images to present; PImageIndices []uint32 - // Optional (i.e. if non-NULL) VkResult for each swapchain; + // Optional (i.e. if non-NULL) VkResult for each swapchain; PResults []Result } @@ -30692,9 +32393,11 @@ func (s *PresentInfoKHR) Vulkanize() *_vkPresentInfoKHR { // PresentRegionKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPresentRegionKHR.html type PresentRegionKHR struct { - // Number of rectangles in pRectangles; + // Number of rectangles in pRectangles; + // // rectangleCount - // Array of rectangles that have changed in a swapchain's image(s); + // + // Array of rectangles that have changed in a swapchain's image(s); PRectangles []RectLayerKHR } @@ -30734,9 +32437,11 @@ func (s *PresentRegionKHR) Vulkanize() *_vkPresentRegionKHR { type PresentRegionsKHR struct { // SType = STRUCTURE_TYPE_PRESENT_REGIONS_KHR PNext unsafe.Pointer - // Copy of VkPresentInfoKHR::swapchainCount; + // Copy of VkPresentInfoKHR::swapchainCount; + // // swapchainCount - // The regions that have changed; + // + // The regions that have changed; PRegions []PresentRegionKHR } @@ -30779,9 +32484,9 @@ func (s *PresentRegionsKHR) Vulkanize() *_vkPresentRegionsKHR { // PresentTimeGOOGLE: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPresentTimeGOOGLE.html type PresentTimeGOOGLE struct { - // Application-provided identifier; + // Application-provided identifier; PresentID uint32 - // Earliest time an image should be presented; + // Earliest time an image should be presented; DesiredPresentTime uint64 } @@ -30803,9 +32508,11 @@ func (s *PresentTimeGOOGLE) Vulkanize() *_vkPresentTimeGOOGLE { type PresentTimesInfoGOOGLE struct { // SType = STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE PNext unsafe.Pointer - // Copy of VkPresentInfoKHR::swapchainCount; + // Copy of VkPresentInfoKHR::swapchainCount; + // // swapchainCount - // The earliest times to present images; + // + // The earliest times to present images; PTimes []PresentTimeGOOGLE } @@ -30896,7 +32603,7 @@ func (s *PrivateDataSlotCreateInfoEXT) Vulkanize() *_vkPrivateDataSlotCreateInfo type ProtectedSubmitInfo struct { // SType = STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO PNext unsafe.Pointer - // Submit protected command buffers; + // Submit protected command buffers; ProtectedSubmit bool } @@ -30927,11 +32634,11 @@ func (s *ProtectedSubmitInfo) Vulkanize() *_vkProtectedSubmitInfo { // PushConstantRange: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPushConstantRange.html type PushConstantRange struct { - // Which stages use the range; + // Which stages use the range; StageFlags ShaderStageFlags - // Start of the range, in bytes; + // Start of the range, in bytes; Offset uint32 - // Size of the range, in bytes; + // Size of the range, in bytes; Size uint32 } @@ -30949,6 +32656,155 @@ func (s *PushConstantRange) Vulkanize() *_vkPushConstantRange { return rval } +// PushConstantsInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPushConstantsInfoKHR.html +type PushConstantsInfoKHR struct { + // SType = STRUCTURE_TYPE_PUSH_CONSTANTS_INFO_KHR + PNext unsafe.Pointer + Layout PipelineLayout + StageFlags ShaderStageFlags + Offset uint32 + Size uint32 + PValues unsafe.Pointer +} + +type _vkPushConstantsInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + layout PipelineLayout + stageFlags ShaderStageFlags + offset uint32 + size uint32 + pValues unsafe.Pointer +} + +func (s *_vkPushConstantsInfoKHR) Goify() *PushConstantsInfoKHR { + rval := &PushConstantsInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Layout: (PipelineLayout)(s.layout), + StageFlags: (ShaderStageFlags)(s.stageFlags), + Offset: (uint32)(s.offset), + Size: (uint32)(s.size), + PValues: (unsafe.Pointer)(s.pValues), + } + return rval +} +func (s *PushConstantsInfoKHR) Vulkanize() *_vkPushConstantsInfoKHR { + if s == nil { + return nil + } + rval := &_vkPushConstantsInfoKHR{ + sType: STRUCTURE_TYPE_PUSH_CONSTANTS_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + layout: (PipelineLayout)(s.Layout), /*cb*/ + stageFlags: (ShaderStageFlags)(s.StageFlags), /*cb*/ + offset: (uint32)(s.Offset), /*cb*/ + size: (uint32)(s.Size), /*cb*/ + pValues: (unsafe.Pointer)(s.PValues), /*cb*/ + } + return rval +} + +// PushDescriptorSetInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPushDescriptorSetInfoKHR.html +type PushDescriptorSetInfoKHR struct { + // SType = STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_INFO_KHR + PNext unsafe.Pointer + StageFlags ShaderStageFlags + Layout PipelineLayout + Set uint32 + // descriptorWriteCount + PDescriptorWrites []WriteDescriptorSet +} + +type _vkPushDescriptorSetInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + stageFlags ShaderStageFlags + layout PipelineLayout + set uint32 + descriptorWriteCount uint32 + pDescriptorWrites *_vkWriteDescriptorSet +} + +func (s *_vkPushDescriptorSetInfoKHR) Goify() *PushDescriptorSetInfoKHR { + rval := &PushDescriptorSetInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + StageFlags: (ShaderStageFlags)(s.stageFlags), + Layout: (PipelineLayout)(s.layout), + Set: (uint32)(s.set), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pDescriptorWrites in returned struct + } + return rval +} +func (s *PushDescriptorSetInfoKHR) Vulkanize() *_vkPushDescriptorSetInfoKHR { + if s == nil { + return nil + } + + var psl_pDescriptorWrites *_vkWriteDescriptorSet + if len(s.PDescriptorWrites) > 0 { + sl_pDescriptorWrites := make([]_vkWriteDescriptorSet, len(s.PDescriptorWrites)) + for i, v := range s.PDescriptorWrites { + sl_pDescriptorWrites[i] = *(v.Vulkanize()) + } + psl_pDescriptorWrites = &sl_pDescriptorWrites[0] + } + rval := &_vkPushDescriptorSetInfoKHR{ + sType: STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stageFlags: (ShaderStageFlags)(s.StageFlags), /*cb*/ + layout: (PipelineLayout)(s.Layout), /*cb*/ + set: (uint32)(s.Set), /*cb*/ + descriptorWriteCount: uint32(len(s.PDescriptorWrites)), /*c6-a*/ + pDescriptorWrites: psl_pDescriptorWrites, /*c rem*/ + } + return rval +} + +// PushDescriptorSetWithTemplateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPushDescriptorSetWithTemplateInfoKHR.html +type PushDescriptorSetWithTemplateInfoKHR struct { + // SType = STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO_KHR + PNext unsafe.Pointer + DescriptorUpdateTemplate DescriptorUpdateTemplate + Layout PipelineLayout + Set uint32 + PData unsafe.Pointer +} + +type _vkPushDescriptorSetWithTemplateInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + descriptorUpdateTemplate DescriptorUpdateTemplate + layout PipelineLayout + set uint32 + pData unsafe.Pointer +} + +func (s *_vkPushDescriptorSetWithTemplateInfoKHR) Goify() *PushDescriptorSetWithTemplateInfoKHR { + rval := &PushDescriptorSetWithTemplateInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + DescriptorUpdateTemplate: (DescriptorUpdateTemplate)(s.descriptorUpdateTemplate), + Layout: (PipelineLayout)(s.layout), + Set: (uint32)(s.set), + PData: (unsafe.Pointer)(s.pData), + } + return rval +} +func (s *PushDescriptorSetWithTemplateInfoKHR) Vulkanize() *_vkPushDescriptorSetWithTemplateInfoKHR { + if s == nil { + return nil + } + rval := &_vkPushDescriptorSetWithTemplateInfoKHR{ + sType: STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + descriptorUpdateTemplate: (DescriptorUpdateTemplate)(s.DescriptorUpdateTemplate), /*cb*/ + layout: (PipelineLayout)(s.Layout), /*cb*/ + set: (uint32)(s.Set), /*cb*/ + pData: (unsafe.Pointer)(s.PData), /*cb*/ + } + return rval +} + // QueryLowLatencySupportNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueryLowLatencySupportNV.html type QueryLowLatencySupportNV struct { // SType = STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV @@ -30988,7 +32844,7 @@ type QueryPoolCreateInfo struct { Flags QueryPoolCreateFlags QueryType QueryType QueryCount uint32 - // Optional; + // Optional; PipelineStatistics QueryPipelineStatisticFlags } @@ -31121,6 +32977,38 @@ func (s *QueryPoolPerformanceQueryCreateInfoINTEL) Vulkanize() *_vkQueryPoolPerf return rval } +// QueryPoolVideoEncodeFeedbackCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueryPoolVideoEncodeFeedbackCreateInfoKHR.html +type QueryPoolVideoEncodeFeedbackCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR + PNext unsafe.Pointer + EncodeFeedbackFlags VideoEncodeFeedbackFlagsKHR +} + +type _vkQueryPoolVideoEncodeFeedbackCreateInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + encodeFeedbackFlags VideoEncodeFeedbackFlagsKHR +} + +func (s *_vkQueryPoolVideoEncodeFeedbackCreateInfoKHR) Goify() *QueryPoolVideoEncodeFeedbackCreateInfoKHR { + rval := &QueryPoolVideoEncodeFeedbackCreateInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + EncodeFeedbackFlags: (VideoEncodeFeedbackFlagsKHR)(s.encodeFeedbackFlags), + } + return rval +} +func (s *QueryPoolVideoEncodeFeedbackCreateInfoKHR) Vulkanize() *_vkQueryPoolVideoEncodeFeedbackCreateInfoKHR { + if s == nil { + return nil + } + rval := &_vkQueryPoolVideoEncodeFeedbackCreateInfoKHR{ + sType: STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + encodeFeedbackFlags: (VideoEncodeFeedbackFlagsKHR)(s.EncodeFeedbackFlags), /*cb*/ + } + return rval +} + // QueueFamilyCheckpointProperties2NV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueueFamilyCheckpointProperties2NV.html type QueueFamilyCheckpointProperties2NV struct { // SType = STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV @@ -31213,6 +33101,7 @@ type QueueFamilyGlobalPriorityPropertiesKHR struct { Priorities [MAX_GLOBAL_PRIORITY_SIZE_KHR]QueueGlobalPriorityKHR } +// WARNING - struct QueueFamilyGlobalPriorityPropertiesKHR is returned only, which is not yet handled in the binding type _vkQueueFamilyGlobalPriorityPropertiesKHR struct { sType StructureType pNext unsafe.Pointer @@ -31243,11 +33132,11 @@ func (s *QueueFamilyGlobalPriorityPropertiesKHR) Vulkanize() *_vkQueueFamilyGlob // QueueFamilyProperties: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueueFamilyProperties.html type QueueFamilyProperties struct { - // Queue flags; + // Queue flags; QueueFlags QueueFlags QueueCount uint32 TimestampValidBits uint32 - // Minimum alignment requirement for image transfers; + // Minimum alignment requirement for image transfers; MinImageTransferGranularity Extent3D } @@ -31402,10 +33291,11 @@ func (s *QueueFamilyVideoPropertiesKHR) Vulkanize() *_vkQueueFamilyVideoProperti type RayTracingPipelineCreateInfoKHR struct { // SType = STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR PNext unsafe.Pointer - // Pipeline creation flags; + // Pipeline creation flags; Flags PipelineCreateFlags // stageCount - // One entry for each active shader stage; + // + // One entry for each active shader stage; PStages []PipelineShaderStageCreateInfo // groupCount PGroups []RayTracingShaderGroupCreateInfoKHR @@ -31413,11 +33303,11 @@ type RayTracingPipelineCreateInfoKHR struct { PLibraryInfo *PipelineLibraryCreateInfoKHR PLibraryInterface *RayTracingPipelineInterfaceCreateInfoKHR PDynamicState *PipelineDynamicStateCreateInfo - // Interface layout of the pipeline; + // Interface layout of the pipeline; Layout PipelineLayout - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; BasePipelineHandle Pipeline - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; BasePipelineIndex int32 } @@ -31501,19 +33391,20 @@ func (s *RayTracingPipelineCreateInfoKHR) Vulkanize() *_vkRayTracingPipelineCrea type RayTracingPipelineCreateInfoNV struct { // SType = STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV PNext unsafe.Pointer - // Pipeline creation flags; + // Pipeline creation flags; Flags PipelineCreateFlags // stageCount - // One entry for each active shader stage; + // + // One entry for each active shader stage; PStages []PipelineShaderStageCreateInfo // groupCount PGroups []RayTracingShaderGroupCreateInfoNV MaxRecursionDepth uint32 - // Interface layout of the pipeline; + // Interface layout of the pipeline; Layout PipelineLayout - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of; BasePipelineHandle Pipeline - // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; + // If VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of; BasePipelineIndex int32 } @@ -31751,11 +33642,11 @@ func (s *Rect2D) Vulkanize() *_vkRect2D { // RectLayerKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRectLayerKHR.html type RectLayerKHR struct { - // upper-left corner of a rectangle that has not changed, in pixels of a presentation images; + // upper-left corner of a rectangle that has not changed, in pixels of a presentation images; Offset Offset2D - // Dimensions of a rectangle that has not changed, in pixels of a presentation images; + // Dimensions of a rectangle that has not changed, in pixels of a presentation images; Extent Extent2D - // Layer of a swapchain's image(s), for stereoscopic-3D images; + // Layer of a swapchain's image(s), for stereoscopic-3D images; Layer uint32 } @@ -31787,7 +33678,7 @@ func (s *RectLayerKHR) Vulkanize() *_vkRectLayerKHR { // RefreshCycleDurationGOOGLE: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRefreshCycleDurationGOOGLE.html type RefreshCycleDurationGOOGLE struct { - // Number of nanoseconds from the start of one refresh cycle to the next; + // Number of nanoseconds from the start of one refresh cycle to the next; RefreshDuration uint64 } @@ -31871,11 +33762,13 @@ func (s *RefreshObjectListKHR) Vulkanize() *_vkRefreshObjectListKHR { type ReleaseSwapchainImagesInfoEXT struct { // SType = STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT PNext unsafe.Pointer - // Swapchain for which images are being released; + // Swapchain for which images are being released; Swapchain SwapchainKHR - // Number of indices to release; + // Number of indices to release; + // // imageIndexCount - // Indices of which presentable images to release; + // + // Indices of which presentable images to release; PImageIndices []uint32 } @@ -32541,6 +34434,128 @@ func (s *RenderPassSampleLocationsBeginInfoEXT) Vulkanize() *_vkRenderPassSample return rval } +// RenderPassStripeBeginInfoARM: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeBeginInfoARM.html +type RenderPassStripeBeginInfoARM struct { + // SType = STRUCTURE_TYPE_RENDER_PASS_STRIPE_BEGIN_INFO_ARM + PNext unsafe.Pointer + // stripeInfoCount + PStripeInfos []RenderPassStripeInfoARM +} + +type _vkRenderPassStripeBeginInfoARM struct { + sType StructureType + pNext unsafe.Pointer + stripeInfoCount uint32 + pStripeInfos *_vkRenderPassStripeInfoARM +} + +func (s *_vkRenderPassStripeBeginInfoARM) Goify() *RenderPassStripeBeginInfoARM { + rval := &RenderPassStripeBeginInfoARM{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pStripeInfos in returned struct + } + return rval +} +func (s *RenderPassStripeBeginInfoARM) Vulkanize() *_vkRenderPassStripeBeginInfoARM { + if s == nil { + return nil + } + + var psl_pStripeInfos *_vkRenderPassStripeInfoARM + if len(s.PStripeInfos) > 0 { + sl_pStripeInfos := make([]_vkRenderPassStripeInfoARM, len(s.PStripeInfos)) + for i, v := range s.PStripeInfos { + sl_pStripeInfos[i] = *(v.Vulkanize()) + } + psl_pStripeInfos = &sl_pStripeInfos[0] + } + rval := &_vkRenderPassStripeBeginInfoARM{ + sType: STRUCTURE_TYPE_RENDER_PASS_STRIPE_BEGIN_INFO_ARM, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stripeInfoCount: uint32(len(s.PStripeInfos)), /*c6-a*/ + pStripeInfos: psl_pStripeInfos, /*c rem*/ + } + return rval +} + +// RenderPassStripeInfoARM: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeInfoARM.html +type RenderPassStripeInfoARM struct { + // SType = STRUCTURE_TYPE_RENDER_PASS_STRIPE_INFO_ARM + PNext unsafe.Pointer + StripeArea Rect2D +} + +type _vkRenderPassStripeInfoARM struct { + sType StructureType + pNext unsafe.Pointer + stripeArea _vkRect2D +} + +func (s *_vkRenderPassStripeInfoARM) Goify() *RenderPassStripeInfoARM { + rval := &RenderPassStripeInfoARM{ + PNext: (unsafe.Pointer)(s.pNext), + StripeArea: *(s.stripeArea.Goify()), + } + return rval +} +func (s *RenderPassStripeInfoARM) Vulkanize() *_vkRenderPassStripeInfoARM { + if s == nil { + return nil + } + rval := &_vkRenderPassStripeInfoARM{ + sType: STRUCTURE_TYPE_RENDER_PASS_STRIPE_INFO_ARM, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stripeArea: *(s.StripeArea.Vulkanize()), /*c3*/ + } + return rval +} + +// RenderPassStripeSubmitInfoARM: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeSubmitInfoARM.html +type RenderPassStripeSubmitInfoARM struct { + // SType = STRUCTURE_TYPE_RENDER_PASS_STRIPE_SUBMIT_INFO_ARM + PNext unsafe.Pointer + // stripeSemaphoreInfoCount + PStripeSemaphoreInfos []SemaphoreSubmitInfo +} + +type _vkRenderPassStripeSubmitInfoARM struct { + sType StructureType + pNext unsafe.Pointer + stripeSemaphoreInfoCount uint32 + pStripeSemaphoreInfos *_vkSemaphoreSubmitInfo +} + +func (s *_vkRenderPassStripeSubmitInfoARM) Goify() *RenderPassStripeSubmitInfoARM { + rval := &RenderPassStripeSubmitInfoARM{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pStripeSemaphoreInfos in returned struct + } + return rval +} +func (s *RenderPassStripeSubmitInfoARM) Vulkanize() *_vkRenderPassStripeSubmitInfoARM { + if s == nil { + return nil + } + + var psl_pStripeSemaphoreInfos *_vkSemaphoreSubmitInfo + if len(s.PStripeSemaphoreInfos) > 0 { + sl_pStripeSemaphoreInfos := make([]_vkSemaphoreSubmitInfo, len(s.PStripeSemaphoreInfos)) + for i, v := range s.PStripeSemaphoreInfos { + sl_pStripeSemaphoreInfos[i] = *(v.Vulkanize()) + } + psl_pStripeSemaphoreInfos = &sl_pStripeSemaphoreInfos[0] + } + rval := &_vkRenderPassStripeSubmitInfoARM{ + sType: STRUCTURE_TYPE_RENDER_PASS_STRIPE_SUBMIT_INFO_ARM, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stripeSemaphoreInfoCount: uint32(len(s.PStripeSemaphoreInfos)), /*c6-a*/ + pStripeSemaphoreInfos: psl_pStripeSemaphoreInfos, /*c rem*/ + } + return rval +} + // RenderPassSubpassFeedbackCreateInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassSubpassFeedbackCreateInfoEXT.html type RenderPassSubpassFeedbackCreateInfoEXT struct { // SType = STRUCTURE_TYPE_RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT @@ -32610,7 +34625,8 @@ func (s *RenderPassSubpassFeedbackInfoEXT) Vulkanize() *_vkRenderPassSubpassFeed // RenderPassTransformBeginInfoQCOM: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassTransformBeginInfoQCOM.html type RenderPassTransformBeginInfoQCOM struct { // SType = STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM - // Pointer to next structure; + // + // Pointer to next structure; PNext unsafe.Pointer Transform SurfaceTransformFlagBitsKHR } @@ -32771,6 +34787,47 @@ func (s *RenderingAttachmentInfoKHR) Vulkanize() *_vkRenderingAttachmentInfoKHR return rval } +// RenderingAttachmentLocationInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderingAttachmentLocationInfoKHR.html +type RenderingAttachmentLocationInfoKHR struct { + // SType = STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO_KHR + PNext unsafe.Pointer + // colorAttachmentCount + PColorAttachmentLocations []uint32 +} + +type _vkRenderingAttachmentLocationInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + colorAttachmentCount uint32 + pColorAttachmentLocations *uint32 +} + +func (s *_vkRenderingAttachmentLocationInfoKHR) Goify() *RenderingAttachmentLocationInfoKHR { + rval := &RenderingAttachmentLocationInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pColorAttachmentLocations in returned struct + } + return rval +} +func (s *RenderingAttachmentLocationInfoKHR) Vulkanize() *_vkRenderingAttachmentLocationInfoKHR { + if s == nil { + return nil + } + + var psl_pColorAttachmentLocations *uint32 + if len(s.PColorAttachmentLocations) > 0 { + psl_pColorAttachmentLocations = &s.PColorAttachmentLocations[0] + } + rval := &_vkRenderingAttachmentLocationInfoKHR{ + sType: STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + colorAttachmentCount: uint32(len(s.PColorAttachmentLocations)), /*c6-a*/ + pColorAttachmentLocations: psl_pColorAttachmentLocations, /*c rem*/ + } + return rval +} + // RenderingFragmentDensityMapAttachmentInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderingFragmentDensityMapAttachmentInfoEXT.html type RenderingFragmentDensityMapAttachmentInfoEXT struct { // SType = STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT @@ -32934,6 +34991,55 @@ func (s *RenderingInfoKHR) Vulkanize() *_vkRenderingInfoKHR { return rval } +// RenderingInputAttachmentIndexInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderingInputAttachmentIndexInfoKHR.html +type RenderingInputAttachmentIndexInfoKHR struct { + // SType = STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR + PNext unsafe.Pointer + // colorAttachmentCount + PColorAttachmentInputIndices []uint32 + PDepthInputAttachmentIndex *uint32 + PStencilInputAttachmentIndex *uint32 +} + +type _vkRenderingInputAttachmentIndexInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + colorAttachmentCount uint32 + pColorAttachmentInputIndices *uint32 + pDepthInputAttachmentIndex *uint32 + pStencilInputAttachmentIndex *uint32 +} + +func (s *_vkRenderingInputAttachmentIndexInfoKHR) Goify() *RenderingInputAttachmentIndexInfoKHR { + rval := &RenderingInputAttachmentIndexInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pColorAttachmentInputIndices in returned struct + PDepthInputAttachmentIndex: (*uint32)(s.pDepthInputAttachmentIndex), + PStencilInputAttachmentIndex: (*uint32)(s.pStencilInputAttachmentIndex), + } + return rval +} +func (s *RenderingInputAttachmentIndexInfoKHR) Vulkanize() *_vkRenderingInputAttachmentIndexInfoKHR { + if s == nil { + return nil + } + + var psl_pColorAttachmentInputIndices *uint32 + if len(s.PColorAttachmentInputIndices) > 0 { + psl_pColorAttachmentInputIndices = &s.PColorAttachmentInputIndices[0] + } + rval := &_vkRenderingInputAttachmentIndexInfoKHR{ + sType: STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + colorAttachmentCount: uint32(len(s.PColorAttachmentInputIndices)), /*c6-a*/ + pColorAttachmentInputIndices: psl_pColorAttachmentInputIndices, /*c rem*/ + pDepthInputAttachmentIndex: (*uint32)(s.PDepthInputAttachmentIndex), /*cb*/ + pStencilInputAttachmentIndex: (*uint32)(s.PStencilInputAttachmentIndex), /*cb*/ + } + return rval +} + // ResolveImageInfo2: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkResolveImageInfo2.html type ResolveImageInfo2 struct { // SType = STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2 @@ -33225,11 +35331,11 @@ type SamplerCreateInfo struct { // SType = STRUCTURE_TYPE_SAMPLER_CREATE_INFO PNext unsafe.Pointer Flags SamplerCreateFlags - // Filter mode for magnification; + // Filter mode for magnification; MagFilter Filter - // Filter mode for minifiation; + // Filter mode for minifiation; MinFilter Filter - // Mipmap selection mode; + // Mipmap selection mode; MipmapMode SamplerMipmapMode AddressModeU SamplerAddressMode AddressModeV SamplerAddressMode @@ -33652,7 +35758,7 @@ func (s *SamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM) Vulkanize() *_vkSampl type SemaphoreCreateInfo struct { // SType = STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO PNext unsafe.Pointer - // Semaphore creation flags; + // Semaphore creation flags; Flags SemaphoreCreateFlags } @@ -33965,6 +36071,74 @@ func (s *SemaphoreWaitInfoKHR) Vulkanize() *_vkSemaphoreWaitInfoKHR { return rval } +// SetDescriptorBufferOffsetsInfoEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSetDescriptorBufferOffsetsInfoEXT.html +type SetDescriptorBufferOffsetsInfoEXT struct { + // SType = STRUCTURE_TYPE_SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT + PNext unsafe.Pointer + StageFlags ShaderStageFlags + Layout PipelineLayout + FirstSet uint32 + // setCount + PBufferIndices []uint32 + POffsets []DeviceSize +} + +type _vkSetDescriptorBufferOffsetsInfoEXT struct { + sType StructureType + pNext unsafe.Pointer + stageFlags ShaderStageFlags + layout PipelineLayout + firstSet uint32 + setCount uint32 + pBufferIndices *uint32 + pOffsets *DeviceSize +} + +func (s *_vkSetDescriptorBufferOffsetsInfoEXT) Goify() *SetDescriptorBufferOffsetsInfoEXT { + rval := &SetDescriptorBufferOffsetsInfoEXT{ + PNext: (unsafe.Pointer)(s.pNext), + StageFlags: (ShaderStageFlags)(s.stageFlags), + Layout: (PipelineLayout)(s.layout), + FirstSet: (uint32)(s.firstSet), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pBufferIndices in returned struct + // Unexpected pointer member pOffsets in returned struct + } + return rval +} +func (s *SetDescriptorBufferOffsetsInfoEXT) Vulkanize() *_vkSetDescriptorBufferOffsetsInfoEXT { + if s == nil { + return nil + } + + var psl_pBufferIndices *uint32 + if len(s.PBufferIndices) > 0 { + psl_pBufferIndices = &s.PBufferIndices[0] + } + + var psl_pOffsets *DeviceSize + if len(s.POffsets) > 0 { + psl_pOffsets = &s.POffsets[0] + } + rval := &_vkSetDescriptorBufferOffsetsInfoEXT{ + sType: STRUCTURE_TYPE_SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stageFlags: (ShaderStageFlags)(s.StageFlags), /*cb*/ + layout: (PipelineLayout)(s.Layout), /*cb*/ + firstSet: (uint32)(s.FirstSet), /*cb*/ + pBufferIndices: psl_pBufferIndices, /*c rem*/ + pOffsets: psl_pOffsets, /*c rem*/ + } + rval.setCount = 0 // c6-b + if uint32(len(s.PBufferIndices)) > rval.setCount { + rval.setCount = uint32(len(s.PBufferIndices)) + } + if uint32(len(s.POffsets)) > rval.setCount { + rval.setCount = uint32(len(s.POffsets)) + } + return rval +} + // SetLatencyMarkerInfoNV: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSetLatencyMarkerInfoNV.html type SetLatencyMarkerInfoNV struct { // SType = STRUCTURE_TYPE_SET_LATENCY_MARKER_INFO_NV @@ -34109,12 +36283,13 @@ func (s *ShaderCreateInfoEXT) Vulkanize() *_vkShaderCreateInfoEXT { // ShaderModuleCreateInfo: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkShaderModuleCreateInfo.html type ShaderModuleCreateInfo struct { // SType = STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO - // noautovalidity because this structure can be either an explicit parameter, or passed in a pNext chain; + // + // noautovalidity because this structure can be either an explicit parameter, or passed in a pNext chain; PNext unsafe.Pointer Flags ShaderModuleCreateFlags - // Specified in bytes; + // Specified in bytes; CodeSize uintptr - // Binary code of size codeSize; + // Binary code of size codeSize; PCode *uint32 } @@ -34347,7 +36522,7 @@ func (s *ShadingRatePaletteNV) Vulkanize() *_vkShadingRatePaletteNV { type SharedPresentSurfaceCapabilitiesKHR struct { // SType = STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR PNext unsafe.Pointer - // Supported image usage flags if swapchain created using a shared present mode; + // Supported image usage flags if swapchain created using a shared present mode; SharedPresentSupportedUsageFlags ImageUsageFlags } @@ -34506,7 +36681,7 @@ type SparseImageMemoryBind struct { Offset Offset3D Extent Extent3D Memory DeviceMemory - // Specified in bytes; + // Specified in bytes; MemoryOffset DeviceSize Flags SparseMemoryBindFlags } @@ -34592,11 +36767,11 @@ func (s *SparseImageMemoryBindInfo) Vulkanize() *_vkSparseImageMemoryBindInfo { type SparseImageMemoryRequirements struct { FormatProperties SparseImageFormatProperties ImageMipTailFirstLod uint32 - // Specified in bytes, must be a multiple of sparse block size in bytes / alignment; + // Specified in bytes, must be a multiple of sparse block size in bytes / alignment; ImageMipTailSize DeviceSize - // Specified in bytes, must be a multiple of sparse block size in bytes / alignment; + // Specified in bytes, must be a multiple of sparse block size in bytes / alignment; ImageMipTailOffset DeviceSize - // Specified in bytes, must be a multiple of sparse block size in bytes / alignment; + // Specified in bytes, must be a multiple of sparse block size in bytes / alignment; ImageMipTailStride DeviceSize } @@ -34724,12 +36899,12 @@ func (s *SparseImageOpaqueMemoryBindInfo) Vulkanize() *_vkSparseImageOpaqueMemor // SparseMemoryBind: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSparseMemoryBind.html type SparseMemoryBind struct { - // Specified in bytes; + // Specified in bytes; ResourceOffset DeviceSize - // Specified in bytes; + // Specified in bytes; Size DeviceSize Memory DeviceMemory - // Specified in bytes; + // Specified in bytes; MemoryOffset DeviceSize Flags SparseMemoryBindFlags } @@ -34750,13 +36925,15 @@ func (s *SparseMemoryBind) Vulkanize() *_vkSparseMemoryBind { // SpecializationInfo: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSpecializationInfo.html type SpecializationInfo struct { - // Number of entries in the map; + // Number of entries in the map; + // // mapEntryCount - // Array of map entries; + // + // Array of map entries; PMapEntries []SpecializationMapEntry - // Size in bytes of pData; + // Size in bytes of pData; DataSize uintptr - // Pointer to SpecConstant data; + // Pointer to SpecConstant data; PData unsafe.Pointer } @@ -34796,11 +36973,11 @@ func (s *SpecializationInfo) Vulkanize() *_vkSpecializationInfo { // SpecializationMapEntry: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSpecializationMapEntry.html type SpecializationMapEntry struct { - // The SpecConstant ID specified in the BIL; + // The SpecConstant ID specified in the BIL; ConstantID uint32 - // Offset of the value in the data block; + // Offset of the value in the data block; Offset uint32 - // Size in bytes of the SpecConstant; + // Size in bytes of the SpecConstant; Size uintptr } @@ -35103,9 +37280,9 @@ type SubpassDependency struct { DstSubpass uint32 SrcStageMask PipelineStageFlags DstStageMask PipelineStageFlags - // Memory accesses from the source of the dependency to synchronize; + // Memory accesses from the source of the dependency to synchronize; SrcAccessMask AccessFlags - // Memory accesses from the destination of the dependency to synchronize; + // Memory accesses from the destination of the dependency to synchronize; DstAccessMask AccessFlags DependencyFlags DependencyFlags } @@ -35205,7 +37382,7 @@ func (s *SubpassDependency2KHR) Vulkanize() *_vkSubpassDependency2KHR { // SubpassDescription: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSubpassDescription.html type SubpassDescription struct { Flags SubpassDescriptionFlags - // Must be VK_PIPELINE_BIND_POINT_GRAPHICS for now; + // Must be VK_PIPELINE_BIND_POINT_GRAPHICS for now; PipelineBindPoint PipelineBindPoint // inputAttachmentCount PInputAttachments []AttachmentReference @@ -35422,11 +37599,11 @@ func (s *SubpassDescription2KHR) Vulkanize() *_vkSubpassDescription2KHR { type SubpassDescriptionDepthStencilResolve struct { // SType = STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE PNext unsafe.Pointer - // depth resolve mode; + // depth resolve mode; DepthResolveMode ResolveModeFlagBits - // stencil resolve mode; + // stencil resolve mode; StencilResolveMode ResolveModeFlagBits - // depth/stencil resolve attachment; + // depth/stencil resolve attachment; PDepthStencilResolveAttachment *AttachmentReference2 } @@ -35636,7 +37813,6 @@ type SubpassShadingPipelineCreateInfoHUAWEI struct { Subpass uint32 } -// WARNING - struct SubpassShadingPipelineCreateInfoHUAWEI is returned only, which is not yet handled in the binding type _vkSubpassShadingPipelineCreateInfoHUAWEI struct { sType StructureType pNext unsafe.Pointer @@ -35669,7 +37845,7 @@ func (s *SubpassShadingPipelineCreateInfoHUAWEI) Vulkanize() *_vkSubpassShadingP type SubresourceHostMemcpySizeEXT struct { // SType = STRUCTURE_TYPE_SUBRESOURCE_HOST_MEMCPY_SIZE_EXT PNext unsafe.Pointer - // Specified in bytes; + // Specified in bytes; Size DeviceSize } @@ -35701,15 +37877,15 @@ func (s *SubresourceHostMemcpySizeEXT) Vulkanize() *_vkSubresourceHostMemcpySize // SubresourceLayout: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSubresourceLayout.html type SubresourceLayout struct { - // Specified in bytes; + // Specified in bytes; Offset DeviceSize - // Specified in bytes; + // Specified in bytes; Size DeviceSize - // Specified in bytes; + // Specified in bytes; RowPitch DeviceSize - // Specified in bytes; + // Specified in bytes; ArrayPitch DeviceSize - // Specified in bytes; + // Specified in bytes; DepthPitch DeviceSize } @@ -35782,25 +37958,25 @@ func (s *SubresourceLayout2KHR) Vulkanize() *_vkSubresourceLayout2KHR { type SurfaceCapabilities2EXT struct { // SType = STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT PNext unsafe.Pointer - // Supported minimum number of images for the surface; + // Supported minimum number of images for the surface; MinImageCount uint32 - // Supported maximum number of images for the surface, 0 for unlimited; + // Supported maximum number of images for the surface, 0 for unlimited; MaxImageCount uint32 - // Current image width and height for the surface, (0, 0) if undefined; + // Current image width and height for the surface, (0, 0) if undefined; CurrentExtent Extent2D - // Supported minimum image width and height for the surface; + // Supported minimum image width and height for the surface; MinImageExtent Extent2D - // Supported maximum image width and height for the surface; + // Supported maximum image width and height for the surface; MaxImageExtent Extent2D - // Supported maximum number of image layers for the surface; + // Supported maximum number of image layers for the surface; MaxImageArrayLayers uint32 - // 1 or more bits representing the transforms supported; + // 1 or more bits representing the transforms supported; SupportedTransforms SurfaceTransformFlagsKHR - // The surface's current transform relative to the device's natural orientation; + // The surface's current transform relative to the device's natural orientation; CurrentTransform SurfaceTransformFlagBitsKHR - // 1 or more bits representing the alpha compositing modes supported; + // 1 or more bits representing the alpha compositing modes supported; SupportedCompositeAlpha CompositeAlphaFlagsKHR - // Supported image usage flags for the surface; + // Supported image usage flags for the surface; SupportedUsageFlags ImageUsageFlags SupportedSurfaceCounters SurfaceCounterFlagsEXT } @@ -35896,25 +38072,25 @@ func (s *SurfaceCapabilities2KHR) Vulkanize() *_vkSurfaceCapabilities2KHR { // SurfaceCapabilitiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSurfaceCapabilitiesKHR.html type SurfaceCapabilitiesKHR struct { - // Supported minimum number of images for the surface; + // Supported minimum number of images for the surface; MinImageCount uint32 - // Supported maximum number of images for the surface, 0 for unlimited; + // Supported maximum number of images for the surface, 0 for unlimited; MaxImageCount uint32 - // Current image width and height for the surface, (0, 0) if undefined; + // Current image width and height for the surface, (0, 0) if undefined; CurrentExtent Extent2D - // Supported minimum image width and height for the surface; + // Supported minimum image width and height for the surface; MinImageExtent Extent2D - // Supported maximum image width and height for the surface; + // Supported maximum image width and height for the surface; MaxImageExtent Extent2D - // Supported maximum number of image layers for the surface; + // Supported maximum number of image layers for the surface; MaxImageArrayLayers uint32 - // 1 or more bits representing the transforms supported; + // 1 or more bits representing the transforms supported; SupportedTransforms SurfaceTransformFlagsKHR - // The surface's current transform relative to the device's natural orientation; + // The surface's current transform relative to the device's natural orientation; CurrentTransform SurfaceTransformFlagBitsKHR - // 1 or more bits representing the alpha compositing modes supported; + // 1 or more bits representing the alpha compositing modes supported; SupportedCompositeAlpha CompositeAlphaFlagsKHR - // Supported image usage flags for the surface; + // Supported image usage flags for the surface; SupportedUsageFlags ImageUsageFlags } @@ -35973,6 +38149,7 @@ type SurfaceCapabilitiesPresentBarrierNV struct { PresentBarrierSupported bool } +// WARNING - struct SurfaceCapabilitiesPresentBarrierNV is returned only, which is not yet handled in the binding type _vkSurfaceCapabilitiesPresentBarrierNV struct { sType StructureType pNext unsafe.Pointer @@ -36033,9 +38210,9 @@ func (s *SurfaceFormat2KHR) Vulkanize() *_vkSurfaceFormat2KHR { // SurfaceFormatKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSurfaceFormatKHR.html type SurfaceFormatKHR struct { - // Supported pair of rendering format; + // Supported pair of rendering format; Format Format - // and color space for the surface; + // and color space for the surface; ColorSpace ColorSpaceKHR } @@ -36058,7 +38235,8 @@ type SurfacePresentModeCompatibilityEXT struct { // SType = STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_EXT PNext unsafe.Pointer // presentModeCount - // Output list of present modes compatible with the one specified in VkSurfacePresentModeEXT; + // + // Output list of present modes compatible with the one specified in VkSurfacePresentModeEXT; PPresentModes []PresentModeKHR } @@ -36134,12 +38312,13 @@ type SurfacePresentScalingCapabilitiesEXT struct { SupportedPresentScaling PresentScalingFlagsEXT SupportedPresentGravityX PresentGravityFlagsEXT SupportedPresentGravityY PresentGravityFlagsEXT - // Supported minimum image width and height for the surface when scaling is used; + // Supported minimum image width and height for the surface when scaling is used; MinScaledImageExtent Extent2D - // Supported maximum image width and height for the surface when scaling is used; + // Supported maximum image width and height for the surface when scaling is used; MaxScaledImageExtent Extent2D } +// WARNING - struct SurfacePresentScalingCapabilitiesEXT is returned only, which is not yet handled in the binding type _vkSurfacePresentScalingCapabilitiesEXT struct { sType StructureType pNext unsafe.Pointer @@ -36181,10 +38360,11 @@ func (s *SurfacePresentScalingCapabilitiesEXT) Vulkanize() *_vkSurfacePresentSca type SurfaceProtectedCapabilitiesKHR struct { // SType = STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR PNext unsafe.Pointer - // Represents if surface can be protected; + // Represents if surface can be protected; SupportsProtected bool } +// WARNING - struct SurfaceProtectedCapabilitiesKHR is returned only, which is not yet handled in the binding type _vkSurfaceProtectedCapabilitiesKHR struct { sType StructureType pNext unsafe.Pointer @@ -36247,35 +38427,37 @@ type SwapchainCreateInfoKHR struct { // SType = STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR PNext unsafe.Pointer Flags SwapchainCreateFlagsKHR - // The swapchain's target surface; + // The swapchain's target surface; Surface SurfaceKHR - // Minimum number of presentation images the application needs; + // Minimum number of presentation images the application needs; MinImageCount uint32 - // Format of the presentation images; + // Format of the presentation images; ImageFormat Format - // Colorspace of the presentation images; + // Colorspace of the presentation images; ImageColorSpace ColorSpaceKHR - // Dimensions of the presentation images; + // Dimensions of the presentation images; ImageExtent Extent2D - // Determines the number of views for multiview/stereo presentation; + // Determines the number of views for multiview/stereo presentation; ImageArrayLayers uint32 - // Bits indicating how the presentation images will be used; + // Bits indicating how the presentation images will be used; ImageUsage ImageUsageFlags - // Sharing mode used for the presentation images; + // Sharing mode used for the presentation images; ImageSharingMode SharingMode - // Number of queue families having access to the images in case of concurrent sharing mode; + // Number of queue families having access to the images in case of concurrent sharing mode; + // // queueFamilyIndexCount - // Array of queue family indices having access to the images in case of concurrent sharing mode; + // + // Array of queue family indices having access to the images in case of concurrent sharing mode; PQueueFamilyIndices []uint32 - // The transform, relative to the device's natural orientation, applied to the image content prior to presentation; + // The transform, relative to the device's natural orientation, applied to the image content prior to presentation; PreTransform SurfaceTransformFlagBitsKHR - // The alpha blending mode used when compositing this surface with other surfaces in the window system; + // The alpha blending mode used when compositing this surface with other surfaces in the window system; CompositeAlpha CompositeAlphaFlagBitsKHR - // Which presentation mode to use for presents on this swap chain; + // Which presentation mode to use for presents on this swap chain; PresentMode PresentModeKHR - // Specifies whether presentable images may be affected by window clip regions; + // Specifies whether presentable images may be affected by window clip regions; Clipped bool - // Existing swap chain to replace, if any; + // Existing swap chain to replace, if any; OldSwapchain SwapchainKHR } @@ -36454,9 +38636,11 @@ func (s *SwapchainPresentBarrierCreateInfoNV) Vulkanize() *_vkSwapchainPresentBa type SwapchainPresentFenceInfoEXT struct { // SType = STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT PNext unsafe.Pointer - // Copy of VkPresentInfoKHR::swapchainCount; + // Copy of VkPresentInfoKHR::swapchainCount; + // // swapchainCount - // Fence to signal for each swapchain; + // + // Fence to signal for each swapchain; PFences []Fence } @@ -36497,9 +38681,11 @@ func (s *SwapchainPresentFenceInfoEXT) Vulkanize() *_vkSwapchainPresentFenceInfo type SwapchainPresentModeInfoEXT struct { // SType = STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT PNext unsafe.Pointer - // Copy of VkPresentInfoKHR::swapchainCount; + // Copy of VkPresentInfoKHR::swapchainCount; + // // swapchainCount - // Presentation mode for each swapchain; + // + // Presentation mode for each swapchain; PPresentModes []PresentModeKHR } @@ -36894,16 +39080,21 @@ func (s *ValidationCacheCreateInfoEXT) Vulkanize() *_vkValidationCacheCreateInfo // ValidationFeaturesEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkValidationFeaturesEXT.html type ValidationFeaturesEXT struct { - // Must be VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT; + // Must be VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT; + // // SType = STRUCTURE_TYPE_VALIDATION_FEATURES_EXT PNext unsafe.Pointer - // Number of validation features to enable; + // Number of validation features to enable; + // // enabledValidationFeatureCount - // Validation features to enable; + // + // Validation features to enable; PEnabledValidationFeatures []ValidationFeatureEnableEXT - // Number of validation features to disable; + // Number of validation features to disable; + // // disabledValidationFeatureCount - // Validation features to disable; + // + // Validation features to disable; PDisabledValidationFeatures []ValidationFeatureDisableEXT } @@ -36953,12 +39144,15 @@ func (s *ValidationFeaturesEXT) Vulkanize() *_vkValidationFeaturesEXT { // ValidationFlagsEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkValidationFlagsEXT.html type ValidationFlagsEXT struct { - // Must be VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT; + // Must be VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT; + // // SType = STRUCTURE_TYPE_VALIDATION_FLAGS_EXT PNext unsafe.Pointer - // Number of validation checks to disable; + // Number of validation checks to disable; + // // disabledValidationCheckCount - // Validation checks to disable; + // + // Validation checks to disable; PDisabledValidationChecks []ValidationCheckEXT } @@ -36997,13 +39191,13 @@ func (s *ValidationFlagsEXT) Vulkanize() *_vkValidationFlagsEXT { // VertexInputAttributeDescription: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVertexInputAttributeDescription.html type VertexInputAttributeDescription struct { - // location of the shader vertex attrib; + // location of the shader vertex attrib; Location uint32 - // Vertex buffer binding id; + // Vertex buffer binding id; Binding uint32 - // format of source data; + // format of source data; Format Format - // Offset of first element in bytes from base of vertex; + // Offset of first element in bytes from base of vertex; Offset uint32 } @@ -37025,13 +39219,13 @@ func (s *VertexInputAttributeDescription) Vulkanize() *_vkVertexInputAttributeDe type VertexInputAttributeDescription2EXT struct { // SType = STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT PNext unsafe.Pointer - // location of the shader vertex attrib; + // location of the shader vertex attrib; Location uint32 - // Vertex buffer binding id; + // Vertex buffer binding id; Binding uint32 - // format of source data; + // format of source data; Format Format - // Offset of first element in bytes from base of vertex; + // Offset of first element in bytes from base of vertex; Offset uint32 } @@ -37071,11 +39265,11 @@ func (s *VertexInputAttributeDescription2EXT) Vulkanize() *_vkVertexInputAttribu // VertexInputBindingDescription: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVertexInputBindingDescription.html type VertexInputBindingDescription struct { - // Vertex buffer binding id; + // Vertex buffer binding id; Binding uint32 - // Distance between vertices in bytes (0 = no advancement); + // Distance between vertices in bytes (0 = no advancement); Stride uint32 - // The rate at which the vertex data is consumed; + // The rate at which the vertex data is consumed; InputRate VertexInputRate } @@ -37139,8 +39333,6 @@ func (s *VertexInputBindingDescription2EXT) Vulkanize() *_vkVertexInputBindingDe // VertexInputBindingDivisorDescriptionEXT: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVertexInputBindingDivisorDescriptionEXT.html type VertexInputBindingDivisorDescriptionEXT struct { - Binding uint32 - Divisor uint32 } type _vkVertexInputBindingDivisorDescriptionEXT = VertexInputBindingDivisorDescriptionEXT @@ -37157,6 +39349,26 @@ func (s *VertexInputBindingDivisorDescriptionEXT) Vulkanize() *_vkVertexInputBin return rval } +// VertexInputBindingDivisorDescriptionKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVertexInputBindingDivisorDescriptionKHR.html +type VertexInputBindingDivisorDescriptionKHR struct { + Binding uint32 + Divisor uint32 +} + +type _vkVertexInputBindingDivisorDescriptionKHR = VertexInputBindingDivisorDescriptionKHR + +func (s *_vkVertexInputBindingDivisorDescriptionKHR) Goify() *VertexInputBindingDivisorDescriptionKHR { + rval := (*VertexInputBindingDivisorDescriptionKHR)(s) + return rval +} +func (s *VertexInputBindingDivisorDescriptionKHR) Vulkanize() *_vkVertexInputBindingDivisorDescriptionKHR { + if s == nil { + return nil + } + rval := (*_vkVertexInputBindingDivisorDescriptionKHR)(s) + return rval +} + // VideoBeginCodingInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoBeginCodingInfoKHR.html type VideoBeginCodingInfoKHR struct { // SType = STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR @@ -37311,6 +39523,207 @@ func (s *VideoCodingControlInfoKHR) Vulkanize() *_vkVideoCodingControlInfoKHR { return rval } +// VideoDecodeAV1CapabilitiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeAV1CapabilitiesKHR.html +type VideoDecodeAV1CapabilitiesKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_KHR + PNext unsafe.Pointer + MaxLevel int32 +} + +// WARNING - struct VideoDecodeAV1CapabilitiesKHR is returned only, which is not yet handled in the binding +type _vkVideoDecodeAV1CapabilitiesKHR struct { + sType StructureType + pNext unsafe.Pointer + maxLevel int32 +} + +func (s *_vkVideoDecodeAV1CapabilitiesKHR) Goify() *VideoDecodeAV1CapabilitiesKHR { + rval := &VideoDecodeAV1CapabilitiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + MaxLevel: (int32)(s.maxLevel), + } + return rval +} +func (s *VideoDecodeAV1CapabilitiesKHR) Vulkanize() *_vkVideoDecodeAV1CapabilitiesKHR { + if s == nil { + return nil + } + rval := &_vkVideoDecodeAV1CapabilitiesKHR{ + sType: STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + maxLevel: (int32)(s.MaxLevel), /*cb*/ + } + return rval +} + +// VideoDecodeAV1DpbSlotInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeAV1DpbSlotInfoKHR.html +type VideoDecodeAV1DpbSlotInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR + PNext unsafe.Pointer + PStdReferenceInfo *int32 +} + +type _vkVideoDecodeAV1DpbSlotInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + pStdReferenceInfo *int32 +} + +func (s *_vkVideoDecodeAV1DpbSlotInfoKHR) Goify() *VideoDecodeAV1DpbSlotInfoKHR { + rval := &VideoDecodeAV1DpbSlotInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PStdReferenceInfo: (*int32)(s.pStdReferenceInfo), + } + return rval +} +func (s *VideoDecodeAV1DpbSlotInfoKHR) Vulkanize() *_vkVideoDecodeAV1DpbSlotInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoDecodeAV1DpbSlotInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pStdReferenceInfo: (*int32)(s.PStdReferenceInfo), /*cb*/ + } + return rval +} + +// VideoDecodeAV1PictureInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeAV1PictureInfoKHR.html +type VideoDecodeAV1PictureInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_DECODE_AV1_PICTURE_INFO_KHR + PNext unsafe.Pointer + PStdPictureInfo *int32 + ReferenceNameSlotIndices [MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR]int32 + FrameHeaderOffset uint32 + // tileCount + PTileOffsets []uint32 + PTileSizes []uint32 +} + +type _vkVideoDecodeAV1PictureInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + pStdPictureInfo *int32 + referenceNameSlotIndices [MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR]int32 + frameHeaderOffset uint32 + tileCount uint32 + pTileOffsets *uint32 + pTileSizes *uint32 +} + +func (s *_vkVideoDecodeAV1PictureInfoKHR) Goify() *VideoDecodeAV1PictureInfoKHR { + rval := &VideoDecodeAV1PictureInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PStdPictureInfo: (*int32)(s.pStdPictureInfo), + ReferenceNameSlotIndices: ([MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR]int32)(s.referenceNameSlotIndices), + FrameHeaderOffset: (uint32)(s.frameHeaderOffset), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pTileOffsets in returned struct + // Unexpected pointer member pTileSizes in returned struct + } + return rval +} +func (s *VideoDecodeAV1PictureInfoKHR) Vulkanize() *_vkVideoDecodeAV1PictureInfoKHR { + if s == nil { + return nil + } + + var psl_pTileOffsets *uint32 + if len(s.PTileOffsets) > 0 { + psl_pTileOffsets = &s.PTileOffsets[0] + } + + var psl_pTileSizes *uint32 + if len(s.PTileSizes) > 0 { + psl_pTileSizes = &s.PTileSizes[0] + } + rval := &_vkVideoDecodeAV1PictureInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_DECODE_AV1_PICTURE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pStdPictureInfo: (*int32)(s.PStdPictureInfo), /*cb*/ + referenceNameSlotIndices: ([MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR]int32)(s.ReferenceNameSlotIndices), /*cb*/ + frameHeaderOffset: (uint32)(s.FrameHeaderOffset), /*cb*/ + pTileOffsets: psl_pTileOffsets, /*c rem*/ + pTileSizes: psl_pTileSizes, /*c rem*/ + } + rval.tileCount = 0 // c6-b + if uint32(len(s.PTileOffsets)) > rval.tileCount { + rval.tileCount = uint32(len(s.PTileOffsets)) + } + if uint32(len(s.PTileSizes)) > rval.tileCount { + rval.tileCount = uint32(len(s.PTileSizes)) + } + return rval +} + +// VideoDecodeAV1ProfileInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeAV1ProfileInfoKHR.html +type VideoDecodeAV1ProfileInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_KHR + PNext unsafe.Pointer + StdProfile int32 + FilmGrainSupport bool +} + +type _vkVideoDecodeAV1ProfileInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + stdProfile int32 + filmGrainSupport Bool32 +} + +func (s *_vkVideoDecodeAV1ProfileInfoKHR) Goify() *VideoDecodeAV1ProfileInfoKHR { + rval := &VideoDecodeAV1ProfileInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + StdProfile: (int32)(s.stdProfile), + FilmGrainSupport: translatePublic_Bool32(s.filmGrainSupport), /*default*/ + } + return rval +} +func (s *VideoDecodeAV1ProfileInfoKHR) Vulkanize() *_vkVideoDecodeAV1ProfileInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoDecodeAV1ProfileInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stdProfile: (int32)(s.StdProfile), /*cb*/ + filmGrainSupport: translateInternal_Bool32(s.FilmGrainSupport), /*default*/ + } + return rval +} + +// VideoDecodeAV1SessionParametersCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeAV1SessionParametersCreateInfoKHR.html +type VideoDecodeAV1SessionParametersCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR + PNext unsafe.Pointer + PStdSequenceHeader *int32 +} + +type _vkVideoDecodeAV1SessionParametersCreateInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + pStdSequenceHeader *int32 +} + +func (s *_vkVideoDecodeAV1SessionParametersCreateInfoKHR) Goify() *VideoDecodeAV1SessionParametersCreateInfoKHR { + rval := &VideoDecodeAV1SessionParametersCreateInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PStdSequenceHeader: (*int32)(s.pStdSequenceHeader), + } + return rval +} +func (s *VideoDecodeAV1SessionParametersCreateInfoKHR) Vulkanize() *_vkVideoDecodeAV1SessionParametersCreateInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoDecodeAV1SessionParametersCreateInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pStdSequenceHeader: (*int32)(s.PStdSequenceHeader), /*cb*/ + } + return rval +} + // VideoDecodeCapabilitiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeCapabilitiesKHR.html type VideoDecodeCapabilitiesKHR struct { // SType = STRUCTURE_TYPE_VIDEO_DECODE_CAPABILITIES_KHR @@ -37501,7 +39914,8 @@ type VideoDecodeH264SessionParametersAddInfoKHR struct { // stdSPSCount PStdSPSs []int32 // stdPPSCount - // List of Picture Parameters associated with the spsStd, above; + // + // List of Picture Parameters associated with the spsStd, above; PStdPPSs []int32 } @@ -37740,7 +40154,8 @@ type VideoDecodeH265SessionParametersAddInfoKHR struct { // stdSPSCount PStdSPSs []int32 // stdPPSCount - // List of Picture Parameters associated with the spsStd, above; + // + // List of Picture Parameters associated with the spsStd, above; PStdPPSs []int32 } @@ -37944,6 +40359,1844 @@ func (s *VideoDecodeUsageInfoKHR) Vulkanize() *_vkVideoDecodeUsageInfoKHR { return rval } +// VideoEncodeCapabilitiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeCapabilitiesKHR.html +type VideoEncodeCapabilitiesKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR + PNext unsafe.Pointer + Flags VideoEncodeCapabilityFlagsKHR + RateControlModes VideoEncodeRateControlModeFlagsKHR + MaxRateControlLayers uint32 + MaxBitrate uint64 + MaxQualityLevels uint32 + EncodeInputPictureGranularity Extent2D + SupportedEncodeFeedbackFlags VideoEncodeFeedbackFlagsKHR +} + +// WARNING - struct VideoEncodeCapabilitiesKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeCapabilitiesKHR struct { + sType StructureType + pNext unsafe.Pointer + flags VideoEncodeCapabilityFlagsKHR + rateControlModes VideoEncodeRateControlModeFlagsKHR + maxRateControlLayers uint32 + maxBitrate uint64 + maxQualityLevels uint32 + encodeInputPictureGranularity _vkExtent2D + supportedEncodeFeedbackFlags VideoEncodeFeedbackFlagsKHR +} + +func (s *_vkVideoEncodeCapabilitiesKHR) Goify() *VideoEncodeCapabilitiesKHR { + rval := &VideoEncodeCapabilitiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Flags: (VideoEncodeCapabilityFlagsKHR)(s.flags), + RateControlModes: (VideoEncodeRateControlModeFlagsKHR)(s.rateControlModes), + MaxRateControlLayers: (uint32)(s.maxRateControlLayers), + MaxBitrate: (uint64)(s.maxBitrate), + MaxQualityLevels: (uint32)(s.maxQualityLevels), + EncodeInputPictureGranularity: (Extent2D)(s.encodeInputPictureGranularity), + SupportedEncodeFeedbackFlags: (VideoEncodeFeedbackFlagsKHR)(s.supportedEncodeFeedbackFlags), + } + return rval +} +func (s *VideoEncodeCapabilitiesKHR) Vulkanize() *_vkVideoEncodeCapabilitiesKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeCapabilitiesKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + flags: (VideoEncodeCapabilityFlagsKHR)(s.Flags), /*cb*/ + rateControlModes: (VideoEncodeRateControlModeFlagsKHR)(s.RateControlModes), /*cb*/ + maxRateControlLayers: (uint32)(s.MaxRateControlLayers), /*cb*/ + maxBitrate: (uint64)(s.MaxBitrate), /*cb*/ + maxQualityLevels: (uint32)(s.MaxQualityLevels), /*cb*/ + encodeInputPictureGranularity: (_vkExtent2D)(s.EncodeInputPictureGranularity), /*cb*/ + supportedEncodeFeedbackFlags: (VideoEncodeFeedbackFlagsKHR)(s.SupportedEncodeFeedbackFlags), /*cb*/ + } + return rval +} + +// VideoEncodeH264CapabilitiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264CapabilitiesKHR.html +type VideoEncodeH264CapabilitiesKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_KHR + PNext unsafe.Pointer + Flags VideoEncodeH264CapabilityFlagsKHR + MaxLevelIdc int32 + MaxSliceCount uint32 + MaxPPictureL0ReferenceCount uint32 + MaxBPictureL0ReferenceCount uint32 + MaxL1ReferenceCount uint32 + MaxTemporalLayerCount uint32 + ExpectDyadicTemporalLayerPattern bool + MinQp int32 + MaxQp int32 + PrefersGopRemainingFrames bool + RequiresGopRemainingFrames bool + StdSyntaxFlags VideoEncodeH264StdFlagsKHR +} + +// WARNING - struct VideoEncodeH264CapabilitiesKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeH264CapabilitiesKHR struct { + sType StructureType + pNext unsafe.Pointer + flags VideoEncodeH264CapabilityFlagsKHR + maxLevelIdc int32 + maxSliceCount uint32 + maxPPictureL0ReferenceCount uint32 + maxBPictureL0ReferenceCount uint32 + maxL1ReferenceCount uint32 + maxTemporalLayerCount uint32 + expectDyadicTemporalLayerPattern Bool32 + minQp int32 + maxQp int32 + prefersGopRemainingFrames Bool32 + requiresGopRemainingFrames Bool32 + stdSyntaxFlags VideoEncodeH264StdFlagsKHR +} + +func (s *_vkVideoEncodeH264CapabilitiesKHR) Goify() *VideoEncodeH264CapabilitiesKHR { + rval := &VideoEncodeH264CapabilitiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Flags: (VideoEncodeH264CapabilityFlagsKHR)(s.flags), + MaxLevelIdc: (int32)(s.maxLevelIdc), + MaxSliceCount: (uint32)(s.maxSliceCount), + MaxPPictureL0ReferenceCount: (uint32)(s.maxPPictureL0ReferenceCount), + MaxBPictureL0ReferenceCount: (uint32)(s.maxBPictureL0ReferenceCount), + MaxL1ReferenceCount: (uint32)(s.maxL1ReferenceCount), + MaxTemporalLayerCount: (uint32)(s.maxTemporalLayerCount), + ExpectDyadicTemporalLayerPattern: translatePublic_Bool32(s.expectDyadicTemporalLayerPattern), /*default*/ + MinQp: (int32)(s.minQp), + MaxQp: (int32)(s.maxQp), + PrefersGopRemainingFrames: translatePublic_Bool32(s.prefersGopRemainingFrames), /*default*/ + RequiresGopRemainingFrames: translatePublic_Bool32(s.requiresGopRemainingFrames), /*default*/ + StdSyntaxFlags: (VideoEncodeH264StdFlagsKHR)(s.stdSyntaxFlags), + } + return rval +} +func (s *VideoEncodeH264CapabilitiesKHR) Vulkanize() *_vkVideoEncodeH264CapabilitiesKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264CapabilitiesKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + flags: (VideoEncodeH264CapabilityFlagsKHR)(s.Flags), /*cb*/ + maxLevelIdc: (int32)(s.MaxLevelIdc), /*cb*/ + maxSliceCount: (uint32)(s.MaxSliceCount), /*cb*/ + maxPPictureL0ReferenceCount: (uint32)(s.MaxPPictureL0ReferenceCount), /*cb*/ + maxBPictureL0ReferenceCount: (uint32)(s.MaxBPictureL0ReferenceCount), /*cb*/ + maxL1ReferenceCount: (uint32)(s.MaxL1ReferenceCount), /*cb*/ + maxTemporalLayerCount: (uint32)(s.MaxTemporalLayerCount), /*cb*/ + expectDyadicTemporalLayerPattern: translateInternal_Bool32(s.ExpectDyadicTemporalLayerPattern), /*default*/ + minQp: (int32)(s.MinQp), /*cb*/ + maxQp: (int32)(s.MaxQp), /*cb*/ + prefersGopRemainingFrames: translateInternal_Bool32(s.PrefersGopRemainingFrames), /*default*/ + requiresGopRemainingFrames: translateInternal_Bool32(s.RequiresGopRemainingFrames), /*default*/ + stdSyntaxFlags: (VideoEncodeH264StdFlagsKHR)(s.StdSyntaxFlags), /*cb*/ + } + return rval +} + +// VideoEncodeH264DpbSlotInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264DpbSlotInfoKHR.html +type VideoEncodeH264DpbSlotInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR + PNext unsafe.Pointer + PStdReferenceInfo unsafe.Pointer +} + +type _vkVideoEncodeH264DpbSlotInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + pStdReferenceInfo unsafe.Pointer +} + +func (s *_vkVideoEncodeH264DpbSlotInfoKHR) Goify() *VideoEncodeH264DpbSlotInfoKHR { + rval := &VideoEncodeH264DpbSlotInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PStdReferenceInfo: (unsafe.Pointer)(s.pStdReferenceInfo), + } + return rval +} +func (s *VideoEncodeH264DpbSlotInfoKHR) Vulkanize() *_vkVideoEncodeH264DpbSlotInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264DpbSlotInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pStdReferenceInfo: (unsafe.Pointer)(s.PStdReferenceInfo), /*cb*/ + } + return rval +} + +// VideoEncodeH264FrameSizeKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264FrameSizeKHR.html +type VideoEncodeH264FrameSizeKHR struct { + FrameISize uint32 + FramePSize uint32 + FrameBSize uint32 +} + +type _vkVideoEncodeH264FrameSizeKHR = VideoEncodeH264FrameSizeKHR + +func (s *_vkVideoEncodeH264FrameSizeKHR) Goify() *VideoEncodeH264FrameSizeKHR { + rval := (*VideoEncodeH264FrameSizeKHR)(s) + return rval +} +func (s *VideoEncodeH264FrameSizeKHR) Vulkanize() *_vkVideoEncodeH264FrameSizeKHR { + if s == nil { + return nil + } + rval := (*_vkVideoEncodeH264FrameSizeKHR)(s) + return rval +} + +// VideoEncodeH264GopRemainingFrameInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264GopRemainingFrameInfoKHR.html +type VideoEncodeH264GopRemainingFrameInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_GOP_REMAINING_FRAME_INFO_KHR + PNext unsafe.Pointer + UseGopRemainingFrames bool + GopRemainingI uint32 + GopRemainingP uint32 + GopRemainingB uint32 +} + +type _vkVideoEncodeH264GopRemainingFrameInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + useGopRemainingFrames Bool32 + gopRemainingI uint32 + gopRemainingP uint32 + gopRemainingB uint32 +} + +func (s *_vkVideoEncodeH264GopRemainingFrameInfoKHR) Goify() *VideoEncodeH264GopRemainingFrameInfoKHR { + rval := &VideoEncodeH264GopRemainingFrameInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + UseGopRemainingFrames: translatePublic_Bool32(s.useGopRemainingFrames), /*default*/ + GopRemainingI: (uint32)(s.gopRemainingI), + GopRemainingP: (uint32)(s.gopRemainingP), + GopRemainingB: (uint32)(s.gopRemainingB), + } + return rval +} +func (s *VideoEncodeH264GopRemainingFrameInfoKHR) Vulkanize() *_vkVideoEncodeH264GopRemainingFrameInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264GopRemainingFrameInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_GOP_REMAINING_FRAME_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + useGopRemainingFrames: translateInternal_Bool32(s.UseGopRemainingFrames), /*default*/ + gopRemainingI: (uint32)(s.GopRemainingI), /*cb*/ + gopRemainingP: (uint32)(s.GopRemainingP), /*cb*/ + gopRemainingB: (uint32)(s.GopRemainingB), /*cb*/ + } + return rval +} + +// VideoEncodeH264NaluSliceInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264NaluSliceInfoKHR.html +type VideoEncodeH264NaluSliceInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_KHR + PNext unsafe.Pointer + ConstantQp int32 + PStdSliceHeader unsafe.Pointer +} + +type _vkVideoEncodeH264NaluSliceInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + constantQp int32 + pStdSliceHeader unsafe.Pointer +} + +func (s *_vkVideoEncodeH264NaluSliceInfoKHR) Goify() *VideoEncodeH264NaluSliceInfoKHR { + rval := &VideoEncodeH264NaluSliceInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ConstantQp: (int32)(s.constantQp), + PStdSliceHeader: (unsafe.Pointer)(s.pStdSliceHeader), + } + return rval +} +func (s *VideoEncodeH264NaluSliceInfoKHR) Vulkanize() *_vkVideoEncodeH264NaluSliceInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264NaluSliceInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + constantQp: (int32)(s.ConstantQp), /*cb*/ + pStdSliceHeader: (unsafe.Pointer)(s.PStdSliceHeader), /*cb*/ + } + return rval +} + +// VideoEncodeH264PictureInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264PictureInfoKHR.html +type VideoEncodeH264PictureInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_PICTURE_INFO_KHR + PNext unsafe.Pointer + // naluSliceEntryCount + PNaluSliceEntries []VideoEncodeH264NaluSliceInfoKHR + PStdPictureInfo unsafe.Pointer + GeneratePrefixNalu bool +} + +type _vkVideoEncodeH264PictureInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + naluSliceEntryCount uint32 + pNaluSliceEntries *_vkVideoEncodeH264NaluSliceInfoKHR + pStdPictureInfo unsafe.Pointer + generatePrefixNalu Bool32 +} + +func (s *_vkVideoEncodeH264PictureInfoKHR) Goify() *VideoEncodeH264PictureInfoKHR { + rval := &VideoEncodeH264PictureInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pNaluSliceEntries in returned struct + PStdPictureInfo: (unsafe.Pointer)(s.pStdPictureInfo), + GeneratePrefixNalu: translatePublic_Bool32(s.generatePrefixNalu), /*default*/ + } + return rval +} +func (s *VideoEncodeH264PictureInfoKHR) Vulkanize() *_vkVideoEncodeH264PictureInfoKHR { + if s == nil { + return nil + } + + var psl_pNaluSliceEntries *_vkVideoEncodeH264NaluSliceInfoKHR + if len(s.PNaluSliceEntries) > 0 { + sl_pNaluSliceEntries := make([]_vkVideoEncodeH264NaluSliceInfoKHR, len(s.PNaluSliceEntries)) + for i, v := range s.PNaluSliceEntries { + sl_pNaluSliceEntries[i] = *(v.Vulkanize()) + } + psl_pNaluSliceEntries = &sl_pNaluSliceEntries[0] + } + rval := &_vkVideoEncodeH264PictureInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_PICTURE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + naluSliceEntryCount: uint32(len(s.PNaluSliceEntries)), /*c6-a*/ + pNaluSliceEntries: psl_pNaluSliceEntries, /*c rem*/ + pStdPictureInfo: (unsafe.Pointer)(s.PStdPictureInfo), /*cb*/ + generatePrefixNalu: translateInternal_Bool32(s.GeneratePrefixNalu), /*default*/ + } + return rval +} + +// VideoEncodeH264ProfileInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264ProfileInfoKHR.html +type VideoEncodeH264ProfileInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_INFO_KHR + PNext unsafe.Pointer + StdProfileIdc int32 +} + +type _vkVideoEncodeH264ProfileInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + stdProfileIdc int32 +} + +func (s *_vkVideoEncodeH264ProfileInfoKHR) Goify() *VideoEncodeH264ProfileInfoKHR { + rval := &VideoEncodeH264ProfileInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + StdProfileIdc: (int32)(s.stdProfileIdc), + } + return rval +} +func (s *VideoEncodeH264ProfileInfoKHR) Vulkanize() *_vkVideoEncodeH264ProfileInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264ProfileInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stdProfileIdc: (int32)(s.StdProfileIdc), /*cb*/ + } + return rval +} + +// VideoEncodeH264QpKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264QpKHR.html +type VideoEncodeH264QpKHR struct { + QpI int32 + QpP int32 + QpB int32 +} + +type _vkVideoEncodeH264QpKHR = VideoEncodeH264QpKHR + +func (s *_vkVideoEncodeH264QpKHR) Goify() *VideoEncodeH264QpKHR { + rval := (*VideoEncodeH264QpKHR)(s) + return rval +} +func (s *VideoEncodeH264QpKHR) Vulkanize() *_vkVideoEncodeH264QpKHR { + if s == nil { + return nil + } + rval := (*_vkVideoEncodeH264QpKHR)(s) + return rval +} + +// VideoEncodeH264QualityLevelPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264QualityLevelPropertiesKHR.html +type VideoEncodeH264QualityLevelPropertiesKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR + PNext unsafe.Pointer + PreferredRateControlFlags VideoEncodeH264RateControlFlagsKHR + PreferredGopFrameCount uint32 + PreferredIdrPeriod uint32 + PreferredConsecutiveBFrameCount uint32 + PreferredTemporalLayerCount uint32 + PreferredConstantQp VideoEncodeH264QpKHR + PreferredMaxL0ReferenceCount uint32 + PreferredMaxL1ReferenceCount uint32 + PreferredStdEntropyCodingModeFlag bool +} + +// WARNING - struct VideoEncodeH264QualityLevelPropertiesKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeH264QualityLevelPropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + preferredRateControlFlags VideoEncodeH264RateControlFlagsKHR + preferredGopFrameCount uint32 + preferredIdrPeriod uint32 + preferredConsecutiveBFrameCount uint32 + preferredTemporalLayerCount uint32 + preferredConstantQp _vkVideoEncodeH264QpKHR + preferredMaxL0ReferenceCount uint32 + preferredMaxL1ReferenceCount uint32 + preferredStdEntropyCodingModeFlag Bool32 +} + +func (s *_vkVideoEncodeH264QualityLevelPropertiesKHR) Goify() *VideoEncodeH264QualityLevelPropertiesKHR { + rval := &VideoEncodeH264QualityLevelPropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PreferredRateControlFlags: (VideoEncodeH264RateControlFlagsKHR)(s.preferredRateControlFlags), + PreferredGopFrameCount: (uint32)(s.preferredGopFrameCount), + PreferredIdrPeriod: (uint32)(s.preferredIdrPeriod), + PreferredConsecutiveBFrameCount: (uint32)(s.preferredConsecutiveBFrameCount), + PreferredTemporalLayerCount: (uint32)(s.preferredTemporalLayerCount), + PreferredConstantQp: (VideoEncodeH264QpKHR)(s.preferredConstantQp), + PreferredMaxL0ReferenceCount: (uint32)(s.preferredMaxL0ReferenceCount), + PreferredMaxL1ReferenceCount: (uint32)(s.preferredMaxL1ReferenceCount), + PreferredStdEntropyCodingModeFlag: translatePublic_Bool32(s.preferredStdEntropyCodingModeFlag), /*default*/ + } + return rval +} +func (s *VideoEncodeH264QualityLevelPropertiesKHR) Vulkanize() *_vkVideoEncodeH264QualityLevelPropertiesKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264QualityLevelPropertiesKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + preferredRateControlFlags: (VideoEncodeH264RateControlFlagsKHR)(s.PreferredRateControlFlags), /*cb*/ + preferredGopFrameCount: (uint32)(s.PreferredGopFrameCount), /*cb*/ + preferredIdrPeriod: (uint32)(s.PreferredIdrPeriod), /*cb*/ + preferredConsecutiveBFrameCount: (uint32)(s.PreferredConsecutiveBFrameCount), /*cb*/ + preferredTemporalLayerCount: (uint32)(s.PreferredTemporalLayerCount), /*cb*/ + preferredConstantQp: (_vkVideoEncodeH264QpKHR)(s.PreferredConstantQp), /*cb*/ + preferredMaxL0ReferenceCount: (uint32)(s.PreferredMaxL0ReferenceCount), /*cb*/ + preferredMaxL1ReferenceCount: (uint32)(s.PreferredMaxL1ReferenceCount), /*cb*/ + preferredStdEntropyCodingModeFlag: translateInternal_Bool32(s.PreferredStdEntropyCodingModeFlag), /*default*/ + } + return rval +} + +// VideoEncodeH264RateControlInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264RateControlInfoKHR.html +type VideoEncodeH264RateControlInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_INFO_KHR + PNext unsafe.Pointer + Flags VideoEncodeH264RateControlFlagsKHR + GopFrameCount uint32 + IdrPeriod uint32 + ConsecutiveBFrameCount uint32 + TemporalLayerCount uint32 +} + +type _vkVideoEncodeH264RateControlInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + flags VideoEncodeH264RateControlFlagsKHR + gopFrameCount uint32 + idrPeriod uint32 + consecutiveBFrameCount uint32 + temporalLayerCount uint32 +} + +func (s *_vkVideoEncodeH264RateControlInfoKHR) Goify() *VideoEncodeH264RateControlInfoKHR { + rval := &VideoEncodeH264RateControlInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Flags: (VideoEncodeH264RateControlFlagsKHR)(s.flags), + GopFrameCount: (uint32)(s.gopFrameCount), + IdrPeriod: (uint32)(s.idrPeriod), + ConsecutiveBFrameCount: (uint32)(s.consecutiveBFrameCount), + TemporalLayerCount: (uint32)(s.temporalLayerCount), + } + return rval +} +func (s *VideoEncodeH264RateControlInfoKHR) Vulkanize() *_vkVideoEncodeH264RateControlInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264RateControlInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + flags: (VideoEncodeH264RateControlFlagsKHR)(s.Flags), /*cb*/ + gopFrameCount: (uint32)(s.GopFrameCount), /*cb*/ + idrPeriod: (uint32)(s.IdrPeriod), /*cb*/ + consecutiveBFrameCount: (uint32)(s.ConsecutiveBFrameCount), /*cb*/ + temporalLayerCount: (uint32)(s.TemporalLayerCount), /*cb*/ + } + return rval +} + +// VideoEncodeH264RateControlLayerInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264RateControlLayerInfoKHR.html +type VideoEncodeH264RateControlLayerInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_KHR + PNext unsafe.Pointer + UseMinQp bool + MinQp VideoEncodeH264QpKHR + UseMaxQp bool + MaxQp VideoEncodeH264QpKHR + UseMaxFrameSize bool + MaxFrameSize VideoEncodeH264FrameSizeKHR +} + +type _vkVideoEncodeH264RateControlLayerInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + useMinQp Bool32 + minQp _vkVideoEncodeH264QpKHR + useMaxQp Bool32 + maxQp _vkVideoEncodeH264QpKHR + useMaxFrameSize Bool32 + maxFrameSize _vkVideoEncodeH264FrameSizeKHR +} + +func (s *_vkVideoEncodeH264RateControlLayerInfoKHR) Goify() *VideoEncodeH264RateControlLayerInfoKHR { + rval := &VideoEncodeH264RateControlLayerInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + UseMinQp: translatePublic_Bool32(s.useMinQp), /*default*/ + MinQp: (VideoEncodeH264QpKHR)(s.minQp), + UseMaxQp: translatePublic_Bool32(s.useMaxQp), /*default*/ + MaxQp: (VideoEncodeH264QpKHR)(s.maxQp), + UseMaxFrameSize: translatePublic_Bool32(s.useMaxFrameSize), /*default*/ + MaxFrameSize: (VideoEncodeH264FrameSizeKHR)(s.maxFrameSize), + } + return rval +} +func (s *VideoEncodeH264RateControlLayerInfoKHR) Vulkanize() *_vkVideoEncodeH264RateControlLayerInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264RateControlLayerInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + useMinQp: translateInternal_Bool32(s.UseMinQp), /*default*/ + minQp: (_vkVideoEncodeH264QpKHR)(s.MinQp), /*cb*/ + useMaxQp: translateInternal_Bool32(s.UseMaxQp), /*default*/ + maxQp: (_vkVideoEncodeH264QpKHR)(s.MaxQp), /*cb*/ + useMaxFrameSize: translateInternal_Bool32(s.UseMaxFrameSize), /*default*/ + maxFrameSize: (_vkVideoEncodeH264FrameSizeKHR)(s.MaxFrameSize), /*cb*/ + } + return rval +} + +// VideoEncodeH264SessionCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264SessionCreateInfoKHR.html +type VideoEncodeH264SessionCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_KHR + PNext unsafe.Pointer + UseMaxLevelIdc bool + MaxLevelIdc int32 +} + +type _vkVideoEncodeH264SessionCreateInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + useMaxLevelIdc Bool32 + maxLevelIdc int32 +} + +func (s *_vkVideoEncodeH264SessionCreateInfoKHR) Goify() *VideoEncodeH264SessionCreateInfoKHR { + rval := &VideoEncodeH264SessionCreateInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + UseMaxLevelIdc: translatePublic_Bool32(s.useMaxLevelIdc), /*default*/ + MaxLevelIdc: (int32)(s.maxLevelIdc), + } + return rval +} +func (s *VideoEncodeH264SessionCreateInfoKHR) Vulkanize() *_vkVideoEncodeH264SessionCreateInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264SessionCreateInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + useMaxLevelIdc: translateInternal_Bool32(s.UseMaxLevelIdc), /*default*/ + maxLevelIdc: (int32)(s.MaxLevelIdc), /*cb*/ + } + return rval +} + +// VideoEncodeH264SessionParametersAddInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264SessionParametersAddInfoKHR.html +type VideoEncodeH264SessionParametersAddInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR + PNext unsafe.Pointer + // stdSPSCount + PStdSPSs []int32 + // stdPPSCount + // + // List of Picture Parameters associated with the spsStd, above; + PStdPPSs []int32 +} + +type _vkVideoEncodeH264SessionParametersAddInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + stdSPSCount uint32 + pStdSPSs *int32 + stdPPSCount uint32 + pStdPPSs *int32 +} + +func (s *_vkVideoEncodeH264SessionParametersAddInfoKHR) Goify() *VideoEncodeH264SessionParametersAddInfoKHR { + rval := &VideoEncodeH264SessionParametersAddInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pStdSPSs in returned struct + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pStdPPSs in returned struct + } + return rval +} +func (s *VideoEncodeH264SessionParametersAddInfoKHR) Vulkanize() *_vkVideoEncodeH264SessionParametersAddInfoKHR { + if s == nil { + return nil + } + + var psl_pStdSPSs *int32 + if len(s.PStdSPSs) > 0 { + psl_pStdSPSs = &s.PStdSPSs[0] + } + + var psl_pStdPPSs *int32 + if len(s.PStdPPSs) > 0 { + psl_pStdPPSs = &s.PStdPPSs[0] + } + rval := &_vkVideoEncodeH264SessionParametersAddInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stdSPSCount: uint32(len(s.PStdSPSs)), /*c6-a*/ + pStdSPSs: psl_pStdSPSs, /*c rem*/ + stdPPSCount: uint32(len(s.PStdPPSs)), /*c6-a*/ + pStdPPSs: psl_pStdPPSs, /*c rem*/ + } + return rval +} + +// VideoEncodeH264SessionParametersCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264SessionParametersCreateInfoKHR.html +type VideoEncodeH264SessionParametersCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR + PNext unsafe.Pointer + MaxStdSPSCount uint32 + MaxStdPPSCount uint32 + PParametersAddInfo *VideoEncodeH264SessionParametersAddInfoKHR +} + +type _vkVideoEncodeH264SessionParametersCreateInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + maxStdSPSCount uint32 + maxStdPPSCount uint32 + pParametersAddInfo *_vkVideoEncodeH264SessionParametersAddInfoKHR +} + +func (s *_vkVideoEncodeH264SessionParametersCreateInfoKHR) Goify() *VideoEncodeH264SessionParametersCreateInfoKHR { + rval := &VideoEncodeH264SessionParametersCreateInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + MaxStdSPSCount: (uint32)(s.maxStdSPSCount), + MaxStdPPSCount: (uint32)(s.maxStdPPSCount), + // Unexpected pointer member pParametersAddInfo in returned struct + } + return rval +} +func (s *VideoEncodeH264SessionParametersCreateInfoKHR) Vulkanize() *_vkVideoEncodeH264SessionParametersCreateInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264SessionParametersCreateInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + maxStdSPSCount: (uint32)(s.MaxStdSPSCount), /*cb*/ + maxStdPPSCount: (uint32)(s.MaxStdPPSCount), /*cb*/ + pParametersAddInfo: (s.PParametersAddInfo.Vulkanize()), /*c rem*/ + } + return rval +} + +// VideoEncodeH264SessionParametersFeedbackInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264SessionParametersFeedbackInfoKHR.html +type VideoEncodeH264SessionParametersFeedbackInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_FEEDBACK_INFO_KHR + PNext unsafe.Pointer + HasStdSPSOverrides bool + HasStdPPSOverrides bool +} + +// WARNING - struct VideoEncodeH264SessionParametersFeedbackInfoKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeH264SessionParametersFeedbackInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + hasStdSPSOverrides Bool32 + hasStdPPSOverrides Bool32 +} + +func (s *_vkVideoEncodeH264SessionParametersFeedbackInfoKHR) Goify() *VideoEncodeH264SessionParametersFeedbackInfoKHR { + rval := &VideoEncodeH264SessionParametersFeedbackInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + HasStdSPSOverrides: translatePublic_Bool32(s.hasStdSPSOverrides), /*default*/ + HasStdPPSOverrides: translatePublic_Bool32(s.hasStdPPSOverrides), /*default*/ + } + return rval +} +func (s *VideoEncodeH264SessionParametersFeedbackInfoKHR) Vulkanize() *_vkVideoEncodeH264SessionParametersFeedbackInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264SessionParametersFeedbackInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_FEEDBACK_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + hasStdSPSOverrides: translateInternal_Bool32(s.HasStdSPSOverrides), /*default*/ + hasStdPPSOverrides: translateInternal_Bool32(s.HasStdPPSOverrides), /*default*/ + } + return rval +} + +// VideoEncodeH264SessionParametersGetInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264SessionParametersGetInfoKHR.html +type VideoEncodeH264SessionParametersGetInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR + PNext unsafe.Pointer + WriteStdSPS bool + WriteStdPPS bool + StdSPSId uint32 + StdPPSId uint32 +} + +type _vkVideoEncodeH264SessionParametersGetInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + writeStdSPS Bool32 + writeStdPPS Bool32 + stdSPSId uint32 + stdPPSId uint32 +} + +func (s *_vkVideoEncodeH264SessionParametersGetInfoKHR) Goify() *VideoEncodeH264SessionParametersGetInfoKHR { + rval := &VideoEncodeH264SessionParametersGetInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + WriteStdSPS: translatePublic_Bool32(s.writeStdSPS), /*default*/ + WriteStdPPS: translatePublic_Bool32(s.writeStdPPS), /*default*/ + StdSPSId: (uint32)(s.stdSPSId), + StdPPSId: (uint32)(s.stdPPSId), + } + return rval +} +func (s *VideoEncodeH264SessionParametersGetInfoKHR) Vulkanize() *_vkVideoEncodeH264SessionParametersGetInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH264SessionParametersGetInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + writeStdSPS: translateInternal_Bool32(s.WriteStdSPS), /*default*/ + writeStdPPS: translateInternal_Bool32(s.WriteStdPPS), /*default*/ + stdSPSId: (uint32)(s.StdSPSId), /*cb*/ + stdPPSId: (uint32)(s.StdPPSId), /*cb*/ + } + return rval +} + +// VideoEncodeH265CapabilitiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CapabilitiesKHR.html +type VideoEncodeH265CapabilitiesKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_KHR + PNext unsafe.Pointer + Flags VideoEncodeH265CapabilityFlagsKHR + MaxLevelIdc int32 + MaxSliceSegmentCount uint32 + MaxTiles Extent2D + CtbSizes VideoEncodeH265CtbSizeFlagsKHR + TransformBlockSizes VideoEncodeH265TransformBlockSizeFlagsKHR + MaxPPictureL0ReferenceCount uint32 + MaxBPictureL0ReferenceCount uint32 + MaxL1ReferenceCount uint32 + MaxSubLayerCount uint32 + ExpectDyadicTemporalSubLayerPattern bool + MinQp int32 + MaxQp int32 + PrefersGopRemainingFrames bool + RequiresGopRemainingFrames bool + StdSyntaxFlags VideoEncodeH265StdFlagsKHR +} + +// WARNING - struct VideoEncodeH265CapabilitiesKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeH265CapabilitiesKHR struct { + sType StructureType + pNext unsafe.Pointer + flags VideoEncodeH265CapabilityFlagsKHR + maxLevelIdc int32 + maxSliceSegmentCount uint32 + maxTiles _vkExtent2D + ctbSizes VideoEncodeH265CtbSizeFlagsKHR + transformBlockSizes VideoEncodeH265TransformBlockSizeFlagsKHR + maxPPictureL0ReferenceCount uint32 + maxBPictureL0ReferenceCount uint32 + maxL1ReferenceCount uint32 + maxSubLayerCount uint32 + expectDyadicTemporalSubLayerPattern Bool32 + minQp int32 + maxQp int32 + prefersGopRemainingFrames Bool32 + requiresGopRemainingFrames Bool32 + stdSyntaxFlags VideoEncodeH265StdFlagsKHR +} + +func (s *_vkVideoEncodeH265CapabilitiesKHR) Goify() *VideoEncodeH265CapabilitiesKHR { + rval := &VideoEncodeH265CapabilitiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Flags: (VideoEncodeH265CapabilityFlagsKHR)(s.flags), + MaxLevelIdc: (int32)(s.maxLevelIdc), + MaxSliceSegmentCount: (uint32)(s.maxSliceSegmentCount), + MaxTiles: (Extent2D)(s.maxTiles), + CtbSizes: (VideoEncodeH265CtbSizeFlagsKHR)(s.ctbSizes), + TransformBlockSizes: (VideoEncodeH265TransformBlockSizeFlagsKHR)(s.transformBlockSizes), + MaxPPictureL0ReferenceCount: (uint32)(s.maxPPictureL0ReferenceCount), + MaxBPictureL0ReferenceCount: (uint32)(s.maxBPictureL0ReferenceCount), + MaxL1ReferenceCount: (uint32)(s.maxL1ReferenceCount), + MaxSubLayerCount: (uint32)(s.maxSubLayerCount), + ExpectDyadicTemporalSubLayerPattern: translatePublic_Bool32(s.expectDyadicTemporalSubLayerPattern), /*default*/ + MinQp: (int32)(s.minQp), + MaxQp: (int32)(s.maxQp), + PrefersGopRemainingFrames: translatePublic_Bool32(s.prefersGopRemainingFrames), /*default*/ + RequiresGopRemainingFrames: translatePublic_Bool32(s.requiresGopRemainingFrames), /*default*/ + StdSyntaxFlags: (VideoEncodeH265StdFlagsKHR)(s.stdSyntaxFlags), + } + return rval +} +func (s *VideoEncodeH265CapabilitiesKHR) Vulkanize() *_vkVideoEncodeH265CapabilitiesKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265CapabilitiesKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + flags: (VideoEncodeH265CapabilityFlagsKHR)(s.Flags), /*cb*/ + maxLevelIdc: (int32)(s.MaxLevelIdc), /*cb*/ + maxSliceSegmentCount: (uint32)(s.MaxSliceSegmentCount), /*cb*/ + maxTiles: (_vkExtent2D)(s.MaxTiles), /*cb*/ + ctbSizes: (VideoEncodeH265CtbSizeFlagsKHR)(s.CtbSizes), /*cb*/ + transformBlockSizes: (VideoEncodeH265TransformBlockSizeFlagsKHR)(s.TransformBlockSizes), /*cb*/ + maxPPictureL0ReferenceCount: (uint32)(s.MaxPPictureL0ReferenceCount), /*cb*/ + maxBPictureL0ReferenceCount: (uint32)(s.MaxBPictureL0ReferenceCount), /*cb*/ + maxL1ReferenceCount: (uint32)(s.MaxL1ReferenceCount), /*cb*/ + maxSubLayerCount: (uint32)(s.MaxSubLayerCount), /*cb*/ + expectDyadicTemporalSubLayerPattern: translateInternal_Bool32(s.ExpectDyadicTemporalSubLayerPattern), /*default*/ + minQp: (int32)(s.MinQp), /*cb*/ + maxQp: (int32)(s.MaxQp), /*cb*/ + prefersGopRemainingFrames: translateInternal_Bool32(s.PrefersGopRemainingFrames), /*default*/ + requiresGopRemainingFrames: translateInternal_Bool32(s.RequiresGopRemainingFrames), /*default*/ + stdSyntaxFlags: (VideoEncodeH265StdFlagsKHR)(s.StdSyntaxFlags), /*cb*/ + } + return rval +} + +// VideoEncodeH265DpbSlotInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265DpbSlotInfoKHR.html +type VideoEncodeH265DpbSlotInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_KHR + PNext unsafe.Pointer + PStdReferenceInfo unsafe.Pointer +} + +type _vkVideoEncodeH265DpbSlotInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + pStdReferenceInfo unsafe.Pointer +} + +func (s *_vkVideoEncodeH265DpbSlotInfoKHR) Goify() *VideoEncodeH265DpbSlotInfoKHR { + rval := &VideoEncodeH265DpbSlotInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PStdReferenceInfo: (unsafe.Pointer)(s.pStdReferenceInfo), + } + return rval +} +func (s *VideoEncodeH265DpbSlotInfoKHR) Vulkanize() *_vkVideoEncodeH265DpbSlotInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265DpbSlotInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + pStdReferenceInfo: (unsafe.Pointer)(s.PStdReferenceInfo), /*cb*/ + } + return rval +} + +// VideoEncodeH265FrameSizeKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265FrameSizeKHR.html +type VideoEncodeH265FrameSizeKHR struct { + FrameISize uint32 + FramePSize uint32 + FrameBSize uint32 +} + +type _vkVideoEncodeH265FrameSizeKHR = VideoEncodeH265FrameSizeKHR + +func (s *_vkVideoEncodeH265FrameSizeKHR) Goify() *VideoEncodeH265FrameSizeKHR { + rval := (*VideoEncodeH265FrameSizeKHR)(s) + return rval +} +func (s *VideoEncodeH265FrameSizeKHR) Vulkanize() *_vkVideoEncodeH265FrameSizeKHR { + if s == nil { + return nil + } + rval := (*_vkVideoEncodeH265FrameSizeKHR)(s) + return rval +} + +// VideoEncodeH265GopRemainingFrameInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265GopRemainingFrameInfoKHR.html +type VideoEncodeH265GopRemainingFrameInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_GOP_REMAINING_FRAME_INFO_KHR + PNext unsafe.Pointer + UseGopRemainingFrames bool + GopRemainingI uint32 + GopRemainingP uint32 + GopRemainingB uint32 +} + +type _vkVideoEncodeH265GopRemainingFrameInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + useGopRemainingFrames Bool32 + gopRemainingI uint32 + gopRemainingP uint32 + gopRemainingB uint32 +} + +func (s *_vkVideoEncodeH265GopRemainingFrameInfoKHR) Goify() *VideoEncodeH265GopRemainingFrameInfoKHR { + rval := &VideoEncodeH265GopRemainingFrameInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + UseGopRemainingFrames: translatePublic_Bool32(s.useGopRemainingFrames), /*default*/ + GopRemainingI: (uint32)(s.gopRemainingI), + GopRemainingP: (uint32)(s.gopRemainingP), + GopRemainingB: (uint32)(s.gopRemainingB), + } + return rval +} +func (s *VideoEncodeH265GopRemainingFrameInfoKHR) Vulkanize() *_vkVideoEncodeH265GopRemainingFrameInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265GopRemainingFrameInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_GOP_REMAINING_FRAME_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + useGopRemainingFrames: translateInternal_Bool32(s.UseGopRemainingFrames), /*default*/ + gopRemainingI: (uint32)(s.GopRemainingI), /*cb*/ + gopRemainingP: (uint32)(s.GopRemainingP), /*cb*/ + gopRemainingB: (uint32)(s.GopRemainingB), /*cb*/ + } + return rval +} + +// VideoEncodeH265NaluSliceSegmentInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265NaluSliceSegmentInfoKHR.html +type VideoEncodeH265NaluSliceSegmentInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_KHR + PNext unsafe.Pointer + ConstantQp int32 + PStdSliceSegmentHeader unsafe.Pointer +} + +type _vkVideoEncodeH265NaluSliceSegmentInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + constantQp int32 + pStdSliceSegmentHeader unsafe.Pointer +} + +func (s *_vkVideoEncodeH265NaluSliceSegmentInfoKHR) Goify() *VideoEncodeH265NaluSliceSegmentInfoKHR { + rval := &VideoEncodeH265NaluSliceSegmentInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + ConstantQp: (int32)(s.constantQp), + PStdSliceSegmentHeader: (unsafe.Pointer)(s.pStdSliceSegmentHeader), + } + return rval +} +func (s *VideoEncodeH265NaluSliceSegmentInfoKHR) Vulkanize() *_vkVideoEncodeH265NaluSliceSegmentInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265NaluSliceSegmentInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + constantQp: (int32)(s.ConstantQp), /*cb*/ + pStdSliceSegmentHeader: (unsafe.Pointer)(s.PStdSliceSegmentHeader), /*cb*/ + } + return rval +} + +// VideoEncodeH265PictureInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265PictureInfoKHR.html +type VideoEncodeH265PictureInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_PICTURE_INFO_KHR + PNext unsafe.Pointer + // naluSliceSegmentEntryCount + PNaluSliceSegmentEntries []VideoEncodeH265NaluSliceSegmentInfoKHR + PStdPictureInfo unsafe.Pointer +} + +type _vkVideoEncodeH265PictureInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + naluSliceSegmentEntryCount uint32 + pNaluSliceSegmentEntries *_vkVideoEncodeH265NaluSliceSegmentInfoKHR + pStdPictureInfo unsafe.Pointer +} + +func (s *_vkVideoEncodeH265PictureInfoKHR) Goify() *VideoEncodeH265PictureInfoKHR { + rval := &VideoEncodeH265PictureInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pNaluSliceSegmentEntries in returned struct + PStdPictureInfo: (unsafe.Pointer)(s.pStdPictureInfo), + } + return rval +} +func (s *VideoEncodeH265PictureInfoKHR) Vulkanize() *_vkVideoEncodeH265PictureInfoKHR { + if s == nil { + return nil + } + + var psl_pNaluSliceSegmentEntries *_vkVideoEncodeH265NaluSliceSegmentInfoKHR + if len(s.PNaluSliceSegmentEntries) > 0 { + sl_pNaluSliceSegmentEntries := make([]_vkVideoEncodeH265NaluSliceSegmentInfoKHR, len(s.PNaluSliceSegmentEntries)) + for i, v := range s.PNaluSliceSegmentEntries { + sl_pNaluSliceSegmentEntries[i] = *(v.Vulkanize()) + } + psl_pNaluSliceSegmentEntries = &sl_pNaluSliceSegmentEntries[0] + } + rval := &_vkVideoEncodeH265PictureInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_PICTURE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + naluSliceSegmentEntryCount: uint32(len(s.PNaluSliceSegmentEntries)), /*c6-a*/ + pNaluSliceSegmentEntries: psl_pNaluSliceSegmentEntries, /*c rem*/ + pStdPictureInfo: (unsafe.Pointer)(s.PStdPictureInfo), /*cb*/ + } + return rval +} + +// VideoEncodeH265ProfileInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265ProfileInfoKHR.html +type VideoEncodeH265ProfileInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_INFO_KHR + PNext unsafe.Pointer + StdProfileIdc int32 +} + +type _vkVideoEncodeH265ProfileInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + stdProfileIdc int32 +} + +func (s *_vkVideoEncodeH265ProfileInfoKHR) Goify() *VideoEncodeH265ProfileInfoKHR { + rval := &VideoEncodeH265ProfileInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + StdProfileIdc: (int32)(s.stdProfileIdc), + } + return rval +} +func (s *VideoEncodeH265ProfileInfoKHR) Vulkanize() *_vkVideoEncodeH265ProfileInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265ProfileInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stdProfileIdc: (int32)(s.StdProfileIdc), /*cb*/ + } + return rval +} + +// VideoEncodeH265QpKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265QpKHR.html +type VideoEncodeH265QpKHR struct { + QpI int32 + QpP int32 + QpB int32 +} + +type _vkVideoEncodeH265QpKHR = VideoEncodeH265QpKHR + +func (s *_vkVideoEncodeH265QpKHR) Goify() *VideoEncodeH265QpKHR { + rval := (*VideoEncodeH265QpKHR)(s) + return rval +} +func (s *VideoEncodeH265QpKHR) Vulkanize() *_vkVideoEncodeH265QpKHR { + if s == nil { + return nil + } + rval := (*_vkVideoEncodeH265QpKHR)(s) + return rval +} + +// VideoEncodeH265QualityLevelPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265QualityLevelPropertiesKHR.html +type VideoEncodeH265QualityLevelPropertiesKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_QUALITY_LEVEL_PROPERTIES_KHR + PNext unsafe.Pointer + PreferredRateControlFlags VideoEncodeH265RateControlFlagsKHR + PreferredGopFrameCount uint32 + PreferredIdrPeriod uint32 + PreferredConsecutiveBFrameCount uint32 + PreferredSubLayerCount uint32 + PreferredConstantQp VideoEncodeH265QpKHR + PreferredMaxL0ReferenceCount uint32 + PreferredMaxL1ReferenceCount uint32 +} + +// WARNING - struct VideoEncodeH265QualityLevelPropertiesKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeH265QualityLevelPropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + preferredRateControlFlags VideoEncodeH265RateControlFlagsKHR + preferredGopFrameCount uint32 + preferredIdrPeriod uint32 + preferredConsecutiveBFrameCount uint32 + preferredSubLayerCount uint32 + preferredConstantQp _vkVideoEncodeH265QpKHR + preferredMaxL0ReferenceCount uint32 + preferredMaxL1ReferenceCount uint32 +} + +func (s *_vkVideoEncodeH265QualityLevelPropertiesKHR) Goify() *VideoEncodeH265QualityLevelPropertiesKHR { + rval := &VideoEncodeH265QualityLevelPropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PreferredRateControlFlags: (VideoEncodeH265RateControlFlagsKHR)(s.preferredRateControlFlags), + PreferredGopFrameCount: (uint32)(s.preferredGopFrameCount), + PreferredIdrPeriod: (uint32)(s.preferredIdrPeriod), + PreferredConsecutiveBFrameCount: (uint32)(s.preferredConsecutiveBFrameCount), + PreferredSubLayerCount: (uint32)(s.preferredSubLayerCount), + PreferredConstantQp: (VideoEncodeH265QpKHR)(s.preferredConstantQp), + PreferredMaxL0ReferenceCount: (uint32)(s.preferredMaxL0ReferenceCount), + PreferredMaxL1ReferenceCount: (uint32)(s.preferredMaxL1ReferenceCount), + } + return rval +} +func (s *VideoEncodeH265QualityLevelPropertiesKHR) Vulkanize() *_vkVideoEncodeH265QualityLevelPropertiesKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265QualityLevelPropertiesKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_QUALITY_LEVEL_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + preferredRateControlFlags: (VideoEncodeH265RateControlFlagsKHR)(s.PreferredRateControlFlags), /*cb*/ + preferredGopFrameCount: (uint32)(s.PreferredGopFrameCount), /*cb*/ + preferredIdrPeriod: (uint32)(s.PreferredIdrPeriod), /*cb*/ + preferredConsecutiveBFrameCount: (uint32)(s.PreferredConsecutiveBFrameCount), /*cb*/ + preferredSubLayerCount: (uint32)(s.PreferredSubLayerCount), /*cb*/ + preferredConstantQp: (_vkVideoEncodeH265QpKHR)(s.PreferredConstantQp), /*cb*/ + preferredMaxL0ReferenceCount: (uint32)(s.PreferredMaxL0ReferenceCount), /*cb*/ + preferredMaxL1ReferenceCount: (uint32)(s.PreferredMaxL1ReferenceCount), /*cb*/ + } + return rval +} + +// VideoEncodeH265RateControlInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265RateControlInfoKHR.html +type VideoEncodeH265RateControlInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_INFO_KHR + PNext unsafe.Pointer + Flags VideoEncodeH265RateControlFlagsKHR + GopFrameCount uint32 + IdrPeriod uint32 + ConsecutiveBFrameCount uint32 + SubLayerCount uint32 +} + +type _vkVideoEncodeH265RateControlInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + flags VideoEncodeH265RateControlFlagsKHR + gopFrameCount uint32 + idrPeriod uint32 + consecutiveBFrameCount uint32 + subLayerCount uint32 +} + +func (s *_vkVideoEncodeH265RateControlInfoKHR) Goify() *VideoEncodeH265RateControlInfoKHR { + rval := &VideoEncodeH265RateControlInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Flags: (VideoEncodeH265RateControlFlagsKHR)(s.flags), + GopFrameCount: (uint32)(s.gopFrameCount), + IdrPeriod: (uint32)(s.idrPeriod), + ConsecutiveBFrameCount: (uint32)(s.consecutiveBFrameCount), + SubLayerCount: (uint32)(s.subLayerCount), + } + return rval +} +func (s *VideoEncodeH265RateControlInfoKHR) Vulkanize() *_vkVideoEncodeH265RateControlInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265RateControlInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + flags: (VideoEncodeH265RateControlFlagsKHR)(s.Flags), /*cb*/ + gopFrameCount: (uint32)(s.GopFrameCount), /*cb*/ + idrPeriod: (uint32)(s.IdrPeriod), /*cb*/ + consecutiveBFrameCount: (uint32)(s.ConsecutiveBFrameCount), /*cb*/ + subLayerCount: (uint32)(s.SubLayerCount), /*cb*/ + } + return rval +} + +// VideoEncodeH265RateControlLayerInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265RateControlLayerInfoKHR.html +type VideoEncodeH265RateControlLayerInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_KHR + PNext unsafe.Pointer + UseMinQp bool + MinQp VideoEncodeH265QpKHR + UseMaxQp bool + MaxQp VideoEncodeH265QpKHR + UseMaxFrameSize bool + MaxFrameSize VideoEncodeH265FrameSizeKHR +} + +type _vkVideoEncodeH265RateControlLayerInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + useMinQp Bool32 + minQp _vkVideoEncodeH265QpKHR + useMaxQp Bool32 + maxQp _vkVideoEncodeH265QpKHR + useMaxFrameSize Bool32 + maxFrameSize _vkVideoEncodeH265FrameSizeKHR +} + +func (s *_vkVideoEncodeH265RateControlLayerInfoKHR) Goify() *VideoEncodeH265RateControlLayerInfoKHR { + rval := &VideoEncodeH265RateControlLayerInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + UseMinQp: translatePublic_Bool32(s.useMinQp), /*default*/ + MinQp: (VideoEncodeH265QpKHR)(s.minQp), + UseMaxQp: translatePublic_Bool32(s.useMaxQp), /*default*/ + MaxQp: (VideoEncodeH265QpKHR)(s.maxQp), + UseMaxFrameSize: translatePublic_Bool32(s.useMaxFrameSize), /*default*/ + MaxFrameSize: (VideoEncodeH265FrameSizeKHR)(s.maxFrameSize), + } + return rval +} +func (s *VideoEncodeH265RateControlLayerInfoKHR) Vulkanize() *_vkVideoEncodeH265RateControlLayerInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265RateControlLayerInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + useMinQp: translateInternal_Bool32(s.UseMinQp), /*default*/ + minQp: (_vkVideoEncodeH265QpKHR)(s.MinQp), /*cb*/ + useMaxQp: translateInternal_Bool32(s.UseMaxQp), /*default*/ + maxQp: (_vkVideoEncodeH265QpKHR)(s.MaxQp), /*cb*/ + useMaxFrameSize: translateInternal_Bool32(s.UseMaxFrameSize), /*default*/ + maxFrameSize: (_vkVideoEncodeH265FrameSizeKHR)(s.MaxFrameSize), /*cb*/ + } + return rval +} + +// VideoEncodeH265SessionCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265SessionCreateInfoKHR.html +type VideoEncodeH265SessionCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_KHR + PNext unsafe.Pointer + UseMaxLevelIdc bool + MaxLevelIdc int32 +} + +type _vkVideoEncodeH265SessionCreateInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + useMaxLevelIdc Bool32 + maxLevelIdc int32 +} + +func (s *_vkVideoEncodeH265SessionCreateInfoKHR) Goify() *VideoEncodeH265SessionCreateInfoKHR { + rval := &VideoEncodeH265SessionCreateInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + UseMaxLevelIdc: translatePublic_Bool32(s.useMaxLevelIdc), /*default*/ + MaxLevelIdc: (int32)(s.maxLevelIdc), + } + return rval +} +func (s *VideoEncodeH265SessionCreateInfoKHR) Vulkanize() *_vkVideoEncodeH265SessionCreateInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265SessionCreateInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + useMaxLevelIdc: translateInternal_Bool32(s.UseMaxLevelIdc), /*default*/ + maxLevelIdc: (int32)(s.MaxLevelIdc), /*cb*/ + } + return rval +} + +// VideoEncodeH265SessionParametersAddInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265SessionParametersAddInfoKHR.html +type VideoEncodeH265SessionParametersAddInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR + PNext unsafe.Pointer + // stdVPSCount + PStdVPSs []int32 + // stdSPSCount + PStdSPSs []int32 + // stdPPSCount + // + // List of Picture Parameters associated with the spsStd, above; + PStdPPSs []int32 +} + +type _vkVideoEncodeH265SessionParametersAddInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + stdVPSCount uint32 + pStdVPSs *int32 + stdSPSCount uint32 + pStdSPSs *int32 + stdPPSCount uint32 + pStdPPSs *int32 +} + +func (s *_vkVideoEncodeH265SessionParametersAddInfoKHR) Goify() *VideoEncodeH265SessionParametersAddInfoKHR { + rval := &VideoEncodeH265SessionParametersAddInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pStdVPSs in returned struct + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pStdSPSs in returned struct + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pStdPPSs in returned struct + } + return rval +} +func (s *VideoEncodeH265SessionParametersAddInfoKHR) Vulkanize() *_vkVideoEncodeH265SessionParametersAddInfoKHR { + if s == nil { + return nil + } + + var psl_pStdVPSs *int32 + if len(s.PStdVPSs) > 0 { + psl_pStdVPSs = &s.PStdVPSs[0] + } + + var psl_pStdSPSs *int32 + if len(s.PStdSPSs) > 0 { + psl_pStdSPSs = &s.PStdSPSs[0] + } + + var psl_pStdPPSs *int32 + if len(s.PStdPPSs) > 0 { + psl_pStdPPSs = &s.PStdPPSs[0] + } + rval := &_vkVideoEncodeH265SessionParametersAddInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + stdVPSCount: uint32(len(s.PStdVPSs)), /*c6-a*/ + pStdVPSs: psl_pStdVPSs, /*c rem*/ + stdSPSCount: uint32(len(s.PStdSPSs)), /*c6-a*/ + pStdSPSs: psl_pStdSPSs, /*c rem*/ + stdPPSCount: uint32(len(s.PStdPPSs)), /*c6-a*/ + pStdPPSs: psl_pStdPPSs, /*c rem*/ + } + return rval +} + +// VideoEncodeH265SessionParametersCreateInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265SessionParametersCreateInfoKHR.html +type VideoEncodeH265SessionParametersCreateInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR + PNext unsafe.Pointer + MaxStdVPSCount uint32 + MaxStdSPSCount uint32 + MaxStdPPSCount uint32 + PParametersAddInfo *VideoEncodeH265SessionParametersAddInfoKHR +} + +type _vkVideoEncodeH265SessionParametersCreateInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + maxStdVPSCount uint32 + maxStdSPSCount uint32 + maxStdPPSCount uint32 + pParametersAddInfo *_vkVideoEncodeH265SessionParametersAddInfoKHR +} + +func (s *_vkVideoEncodeH265SessionParametersCreateInfoKHR) Goify() *VideoEncodeH265SessionParametersCreateInfoKHR { + rval := &VideoEncodeH265SessionParametersCreateInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + MaxStdVPSCount: (uint32)(s.maxStdVPSCount), + MaxStdSPSCount: (uint32)(s.maxStdSPSCount), + MaxStdPPSCount: (uint32)(s.maxStdPPSCount), + // Unexpected pointer member pParametersAddInfo in returned struct + } + return rval +} +func (s *VideoEncodeH265SessionParametersCreateInfoKHR) Vulkanize() *_vkVideoEncodeH265SessionParametersCreateInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265SessionParametersCreateInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + maxStdVPSCount: (uint32)(s.MaxStdVPSCount), /*cb*/ + maxStdSPSCount: (uint32)(s.MaxStdSPSCount), /*cb*/ + maxStdPPSCount: (uint32)(s.MaxStdPPSCount), /*cb*/ + pParametersAddInfo: (s.PParametersAddInfo.Vulkanize()), /*c rem*/ + } + return rval +} + +// VideoEncodeH265SessionParametersFeedbackInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265SessionParametersFeedbackInfoKHR.html +type VideoEncodeH265SessionParametersFeedbackInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_FEEDBACK_INFO_KHR + PNext unsafe.Pointer + HasStdVPSOverrides bool + HasStdSPSOverrides bool + HasStdPPSOverrides bool +} + +// WARNING - struct VideoEncodeH265SessionParametersFeedbackInfoKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeH265SessionParametersFeedbackInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + hasStdVPSOverrides Bool32 + hasStdSPSOverrides Bool32 + hasStdPPSOverrides Bool32 +} + +func (s *_vkVideoEncodeH265SessionParametersFeedbackInfoKHR) Goify() *VideoEncodeH265SessionParametersFeedbackInfoKHR { + rval := &VideoEncodeH265SessionParametersFeedbackInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + HasStdVPSOverrides: translatePublic_Bool32(s.hasStdVPSOverrides), /*default*/ + HasStdSPSOverrides: translatePublic_Bool32(s.hasStdSPSOverrides), /*default*/ + HasStdPPSOverrides: translatePublic_Bool32(s.hasStdPPSOverrides), /*default*/ + } + return rval +} +func (s *VideoEncodeH265SessionParametersFeedbackInfoKHR) Vulkanize() *_vkVideoEncodeH265SessionParametersFeedbackInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265SessionParametersFeedbackInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_FEEDBACK_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + hasStdVPSOverrides: translateInternal_Bool32(s.HasStdVPSOverrides), /*default*/ + hasStdSPSOverrides: translateInternal_Bool32(s.HasStdSPSOverrides), /*default*/ + hasStdPPSOverrides: translateInternal_Bool32(s.HasStdPPSOverrides), /*default*/ + } + return rval +} + +// VideoEncodeH265SessionParametersGetInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265SessionParametersGetInfoKHR.html +type VideoEncodeH265SessionParametersGetInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR + PNext unsafe.Pointer + WriteStdVPS bool + WriteStdSPS bool + WriteStdPPS bool + StdVPSId uint32 + StdSPSId uint32 + StdPPSId uint32 +} + +type _vkVideoEncodeH265SessionParametersGetInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + writeStdVPS Bool32 + writeStdSPS Bool32 + writeStdPPS Bool32 + stdVPSId uint32 + stdSPSId uint32 + stdPPSId uint32 +} + +func (s *_vkVideoEncodeH265SessionParametersGetInfoKHR) Goify() *VideoEncodeH265SessionParametersGetInfoKHR { + rval := &VideoEncodeH265SessionParametersGetInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + WriteStdVPS: translatePublic_Bool32(s.writeStdVPS), /*default*/ + WriteStdSPS: translatePublic_Bool32(s.writeStdSPS), /*default*/ + WriteStdPPS: translatePublic_Bool32(s.writeStdPPS), /*default*/ + StdVPSId: (uint32)(s.stdVPSId), + StdSPSId: (uint32)(s.stdSPSId), + StdPPSId: (uint32)(s.stdPPSId), + } + return rval +} +func (s *VideoEncodeH265SessionParametersGetInfoKHR) Vulkanize() *_vkVideoEncodeH265SessionParametersGetInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeH265SessionParametersGetInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + writeStdVPS: translateInternal_Bool32(s.WriteStdVPS), /*default*/ + writeStdSPS: translateInternal_Bool32(s.WriteStdSPS), /*default*/ + writeStdPPS: translateInternal_Bool32(s.WriteStdPPS), /*default*/ + stdVPSId: (uint32)(s.StdVPSId), /*cb*/ + stdSPSId: (uint32)(s.StdSPSId), /*cb*/ + stdPPSId: (uint32)(s.StdPPSId), /*cb*/ + } + return rval +} + +// VideoEncodeInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeInfoKHR.html +type VideoEncodeInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR + PNext unsafe.Pointer + Flags VideoEncodeFlagsKHR + DstBuffer Buffer + DstBufferOffset DeviceSize + DstBufferRange DeviceSize + SrcPictureResource VideoPictureResourceInfoKHR + PSetupReferenceSlot *VideoReferenceSlotInfoKHR + // referenceSlotCount + PReferenceSlots []VideoReferenceSlotInfoKHR + PrecedingExternallyEncodedBytes uint32 +} + +type _vkVideoEncodeInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + flags VideoEncodeFlagsKHR + dstBuffer Buffer + dstBufferOffset DeviceSize + dstBufferRange DeviceSize + srcPictureResource _vkVideoPictureResourceInfoKHR + pSetupReferenceSlot *_vkVideoReferenceSlotInfoKHR + referenceSlotCount uint32 + pReferenceSlots *_vkVideoReferenceSlotInfoKHR + precedingExternallyEncodedBytes uint32 +} + +func (s *_vkVideoEncodeInfoKHR) Goify() *VideoEncodeInfoKHR { + rval := &VideoEncodeInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Flags: (VideoEncodeFlagsKHR)(s.flags), + DstBuffer: (Buffer)(s.dstBuffer), + DstBufferOffset: (DeviceSize)(s.dstBufferOffset), + DstBufferRange: (DeviceSize)(s.dstBufferRange), + SrcPictureResource: *(s.srcPictureResource.Goify()), + // Unexpected pointer member pSetupReferenceSlot in returned struct + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pReferenceSlots in returned struct + PrecedingExternallyEncodedBytes: (uint32)(s.precedingExternallyEncodedBytes), + } + return rval +} +func (s *VideoEncodeInfoKHR) Vulkanize() *_vkVideoEncodeInfoKHR { + if s == nil { + return nil + } + + var psl_pReferenceSlots *_vkVideoReferenceSlotInfoKHR + if len(s.PReferenceSlots) > 0 { + sl_pReferenceSlots := make([]_vkVideoReferenceSlotInfoKHR, len(s.PReferenceSlots)) + for i, v := range s.PReferenceSlots { + sl_pReferenceSlots[i] = *(v.Vulkanize()) + } + psl_pReferenceSlots = &sl_pReferenceSlots[0] + } + rval := &_vkVideoEncodeInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + flags: (VideoEncodeFlagsKHR)(s.Flags), /*cb*/ + dstBuffer: (Buffer)(s.DstBuffer), /*cb*/ + dstBufferOffset: (DeviceSize)(s.DstBufferOffset), /*cb*/ + dstBufferRange: (DeviceSize)(s.DstBufferRange), /*cb*/ + srcPictureResource: *(s.SrcPictureResource.Vulkanize()), /*c3*/ + pSetupReferenceSlot: (s.PSetupReferenceSlot.Vulkanize()), /*c rem*/ + referenceSlotCount: uint32(len(s.PReferenceSlots)), /*c6-a*/ + pReferenceSlots: psl_pReferenceSlots, /*c rem*/ + precedingExternallyEncodedBytes: (uint32)(s.PrecedingExternallyEncodedBytes), /*cb*/ + } + return rval +} + +// VideoEncodeQualityLevelInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeQualityLevelInfoKHR.html +type VideoEncodeQualityLevelInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR + PNext unsafe.Pointer + QualityLevel uint32 +} + +type _vkVideoEncodeQualityLevelInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + qualityLevel uint32 +} + +func (s *_vkVideoEncodeQualityLevelInfoKHR) Goify() *VideoEncodeQualityLevelInfoKHR { + rval := &VideoEncodeQualityLevelInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + QualityLevel: (uint32)(s.qualityLevel), + } + return rval +} +func (s *VideoEncodeQualityLevelInfoKHR) Vulkanize() *_vkVideoEncodeQualityLevelInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeQualityLevelInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + qualityLevel: (uint32)(s.QualityLevel), /*cb*/ + } + return rval +} + +// VideoEncodeQualityLevelPropertiesKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeQualityLevelPropertiesKHR.html +type VideoEncodeQualityLevelPropertiesKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHR + PNext unsafe.Pointer + PreferredRateControlMode VideoEncodeRateControlModeFlagBitsKHR + PreferredRateControlLayerCount uint32 +} + +// WARNING - struct VideoEncodeQualityLevelPropertiesKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeQualityLevelPropertiesKHR struct { + sType StructureType + pNext unsafe.Pointer + preferredRateControlMode VideoEncodeRateControlModeFlagBitsKHR + preferredRateControlLayerCount uint32 +} + +func (s *_vkVideoEncodeQualityLevelPropertiesKHR) Goify() *VideoEncodeQualityLevelPropertiesKHR { + rval := &VideoEncodeQualityLevelPropertiesKHR{ + PNext: (unsafe.Pointer)(s.pNext), + PreferredRateControlMode: (VideoEncodeRateControlModeFlagBitsKHR)(s.preferredRateControlMode), + PreferredRateControlLayerCount: (uint32)(s.preferredRateControlLayerCount), + } + return rval +} +func (s *VideoEncodeQualityLevelPropertiesKHR) Vulkanize() *_vkVideoEncodeQualityLevelPropertiesKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeQualityLevelPropertiesKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + preferredRateControlMode: (VideoEncodeRateControlModeFlagBitsKHR)(s.PreferredRateControlMode), /*cb*/ + preferredRateControlLayerCount: (uint32)(s.PreferredRateControlLayerCount), /*cb*/ + } + return rval +} + +// VideoEncodeRateControlInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRateControlInfoKHR.html +type VideoEncodeRateControlInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR + PNext unsafe.Pointer + Flags VideoEncodeRateControlFlagsKHR + RateControlMode VideoEncodeRateControlModeFlagBitsKHR + // layerCount + PLayers []VideoEncodeRateControlLayerInfoKHR + VirtualBufferSizeInMs uint32 + InitialVirtualBufferSizeInMs uint32 +} + +type _vkVideoEncodeRateControlInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + flags VideoEncodeRateControlFlagsKHR + rateControlMode VideoEncodeRateControlModeFlagBitsKHR + layerCount uint32 + pLayers *_vkVideoEncodeRateControlLayerInfoKHR + virtualBufferSizeInMs uint32 + initialVirtualBufferSizeInMs uint32 +} + +func (s *_vkVideoEncodeRateControlInfoKHR) Goify() *VideoEncodeRateControlInfoKHR { + rval := &VideoEncodeRateControlInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + Flags: (VideoEncodeRateControlFlagsKHR)(s.flags), + RateControlMode: (VideoEncodeRateControlModeFlagBitsKHR)(s.rateControlMode), + // Unexpected 'isLenForAnotherMember'! + // Unexpected pointer member pLayers in returned struct + VirtualBufferSizeInMs: (uint32)(s.virtualBufferSizeInMs), + InitialVirtualBufferSizeInMs: (uint32)(s.initialVirtualBufferSizeInMs), + } + return rval +} +func (s *VideoEncodeRateControlInfoKHR) Vulkanize() *_vkVideoEncodeRateControlInfoKHR { + if s == nil { + return nil + } + + var psl_pLayers *_vkVideoEncodeRateControlLayerInfoKHR + if len(s.PLayers) > 0 { + sl_pLayers := make([]_vkVideoEncodeRateControlLayerInfoKHR, len(s.PLayers)) + for i, v := range s.PLayers { + sl_pLayers[i] = *(v.Vulkanize()) + } + psl_pLayers = &sl_pLayers[0] + } + rval := &_vkVideoEncodeRateControlInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + flags: (VideoEncodeRateControlFlagsKHR)(s.Flags), /*cb*/ + rateControlMode: (VideoEncodeRateControlModeFlagBitsKHR)(s.RateControlMode), /*cb*/ + layerCount: uint32(len(s.PLayers)), /*c6-a*/ + pLayers: psl_pLayers, /*c rem*/ + virtualBufferSizeInMs: (uint32)(s.VirtualBufferSizeInMs), /*cb*/ + initialVirtualBufferSizeInMs: (uint32)(s.InitialVirtualBufferSizeInMs), /*cb*/ + } + return rval +} + +// VideoEncodeRateControlLayerInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRateControlLayerInfoKHR.html +type VideoEncodeRateControlLayerInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR + PNext unsafe.Pointer + AverageBitrate uint64 + MaxBitrate uint64 + FrameRateNumerator uint32 + FrameRateDenominator uint32 +} + +type _vkVideoEncodeRateControlLayerInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + averageBitrate uint64 + maxBitrate uint64 + frameRateNumerator uint32 + frameRateDenominator uint32 +} + +func (s *_vkVideoEncodeRateControlLayerInfoKHR) Goify() *VideoEncodeRateControlLayerInfoKHR { + rval := &VideoEncodeRateControlLayerInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + AverageBitrate: (uint64)(s.averageBitrate), + MaxBitrate: (uint64)(s.maxBitrate), + FrameRateNumerator: (uint32)(s.frameRateNumerator), + FrameRateDenominator: (uint32)(s.frameRateDenominator), + } + return rval +} +func (s *VideoEncodeRateControlLayerInfoKHR) Vulkanize() *_vkVideoEncodeRateControlLayerInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeRateControlLayerInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + averageBitrate: (uint64)(s.AverageBitrate), /*cb*/ + maxBitrate: (uint64)(s.MaxBitrate), /*cb*/ + frameRateNumerator: (uint32)(s.FrameRateNumerator), /*cb*/ + frameRateDenominator: (uint32)(s.FrameRateDenominator), /*cb*/ + } + return rval +} + +// VideoEncodeSessionParametersFeedbackInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeSessionParametersFeedbackInfoKHR.html +type VideoEncodeSessionParametersFeedbackInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR + PNext unsafe.Pointer + HasOverrides bool +} + +// WARNING - struct VideoEncodeSessionParametersFeedbackInfoKHR is returned only, which is not yet handled in the binding +type _vkVideoEncodeSessionParametersFeedbackInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + hasOverrides Bool32 +} + +func (s *_vkVideoEncodeSessionParametersFeedbackInfoKHR) Goify() *VideoEncodeSessionParametersFeedbackInfoKHR { + rval := &VideoEncodeSessionParametersFeedbackInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + HasOverrides: translatePublic_Bool32(s.hasOverrides), /*default*/ + } + return rval +} +func (s *VideoEncodeSessionParametersFeedbackInfoKHR) Vulkanize() *_vkVideoEncodeSessionParametersFeedbackInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeSessionParametersFeedbackInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + hasOverrides: translateInternal_Bool32(s.HasOverrides), /*default*/ + } + return rval +} + +// VideoEncodeSessionParametersGetInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeSessionParametersGetInfoKHR.html +type VideoEncodeSessionParametersGetInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR + PNext unsafe.Pointer + VideoSessionParameters VideoSessionParametersKHR +} + +type _vkVideoEncodeSessionParametersGetInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + videoSessionParameters VideoSessionParametersKHR +} + +func (s *_vkVideoEncodeSessionParametersGetInfoKHR) Goify() *VideoEncodeSessionParametersGetInfoKHR { + rval := &VideoEncodeSessionParametersGetInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + VideoSessionParameters: (VideoSessionParametersKHR)(s.videoSessionParameters), + } + return rval +} +func (s *VideoEncodeSessionParametersGetInfoKHR) Vulkanize() *_vkVideoEncodeSessionParametersGetInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeSessionParametersGetInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + videoSessionParameters: (VideoSessionParametersKHR)(s.VideoSessionParameters), /*cb*/ + } + return rval +} + +// VideoEncodeUsageInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeUsageInfoKHR.html +type VideoEncodeUsageInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR + PNext unsafe.Pointer + VideoUsageHints VideoEncodeUsageFlagsKHR + VideoContentHints VideoEncodeContentFlagsKHR + TuningMode VideoEncodeTuningModeKHR +} + +type _vkVideoEncodeUsageInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + videoUsageHints VideoEncodeUsageFlagsKHR + videoContentHints VideoEncodeContentFlagsKHR + tuningMode VideoEncodeTuningModeKHR +} + +func (s *_vkVideoEncodeUsageInfoKHR) Goify() *VideoEncodeUsageInfoKHR { + rval := &VideoEncodeUsageInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + VideoUsageHints: (VideoEncodeUsageFlagsKHR)(s.videoUsageHints), + VideoContentHints: (VideoEncodeContentFlagsKHR)(s.videoContentHints), + TuningMode: (VideoEncodeTuningModeKHR)(s.tuningMode), + } + return rval +} +func (s *VideoEncodeUsageInfoKHR) Vulkanize() *_vkVideoEncodeUsageInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoEncodeUsageInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + videoUsageHints: (VideoEncodeUsageFlagsKHR)(s.VideoUsageHints), /*cb*/ + videoContentHints: (VideoEncodeContentFlagsKHR)(s.VideoContentHints), /*cb*/ + tuningMode: (VideoEncodeTuningModeKHR)(s.TuningMode), /*cb*/ + } + return rval +} + // VideoEndCodingInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEndCodingInfoKHR.html type VideoEndCodingInfoKHR struct { // SType = STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR @@ -38029,17 +42282,57 @@ func (s *VideoFormatPropertiesKHR) Vulkanize() *_vkVideoFormatPropertiesKHR { return rval } +// VideoInlineQueryInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoInlineQueryInfoKHR.html +type VideoInlineQueryInfoKHR struct { + // SType = STRUCTURE_TYPE_VIDEO_INLINE_QUERY_INFO_KHR + PNext unsafe.Pointer + QueryPool QueryPool + FirstQuery uint32 + QueryCount uint32 +} + +type _vkVideoInlineQueryInfoKHR struct { + sType StructureType + pNext unsafe.Pointer + queryPool QueryPool + firstQuery uint32 + queryCount uint32 +} + +func (s *_vkVideoInlineQueryInfoKHR) Goify() *VideoInlineQueryInfoKHR { + rval := &VideoInlineQueryInfoKHR{ + PNext: (unsafe.Pointer)(s.pNext), + QueryPool: (QueryPool)(s.queryPool), + FirstQuery: (uint32)(s.firstQuery), + QueryCount: (uint32)(s.queryCount), + } + return rval +} +func (s *VideoInlineQueryInfoKHR) Vulkanize() *_vkVideoInlineQueryInfoKHR { + if s == nil { + return nil + } + rval := &_vkVideoInlineQueryInfoKHR{ + sType: STRUCTURE_TYPE_VIDEO_INLINE_QUERY_INFO_KHR, /*c1*/ + pNext: (unsafe.Pointer)(s.PNext), /*cb*/ + queryPool: (QueryPool)(s.QueryPool), /*cb*/ + firstQuery: (uint32)(s.FirstQuery), /*cb*/ + queryCount: (uint32)(s.QueryCount), /*cb*/ + } + return rval +} + // VideoPictureResourceInfoKHR: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoPictureResourceInfoKHR.html type VideoPictureResourceInfoKHR struct { // SType = STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR PNext unsafe.Pointer - // The offset to be used for the picture resource, currently only used in field mode; + // The offset to be used for the picture resource, currently only used in field mode; CodedOffset Offset2D - // The extent to be used for the picture resource; + // The extent to be used for the picture resource; CodedExtent Extent2D - // The first array layer to be accessed for the Decode or Encode Operations; + // The first array layer to be accessed for the Decode or Encode Operations; BaseArrayLayer uint32 - // The ImageView binding of the resource; + // The ImageView binding of the resource; ImageViewBinding ImageView } @@ -38170,9 +42463,9 @@ func (s *VideoProfileListInfoKHR) Vulkanize() *_vkVideoProfileListInfoKHR { type VideoReferenceSlotInfoKHR struct { // SType = STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR PNext unsafe.Pointer - // The reference slot index; + // The reference slot index; SlotIndex int32 - // The reference picture resource; + // The reference picture resource; PPictureResource *VideoPictureResourceInfoKHR } @@ -38447,21 +42740,23 @@ func (s *ViewportWScalingNV) Vulkanize() *_vkViewportWScalingNV { type WriteDescriptorSet struct { // SType = STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET PNext unsafe.Pointer - // Destination descriptor set; + // Destination descriptor set; DstSet DescriptorSet - // Binding within the destination descriptor set to write; + // Binding within the destination descriptor set to write; DstBinding uint32 - // Array element within the destination binding to write; + // Array element within the destination binding to write; DstArrayElement uint32 - // Number of descriptors to write (determines the size of the array pointed by pDescriptors); + // Number of descriptors to write (determines the size of the array pointed by pDescriptors); + // // descriptorCount - // Descriptor type to write (determines which members of the array pointed by pDescriptors are going to be used); + // + // Descriptor type to write (determines which members of the array pointed by pDescriptors are going to be used); DescriptorType DescriptorType - // Sampler, image view, and layout for SAMPLER, COMBINED_IMAGE_SAMPLER, {SAMPLED,STORAGE}_IMAGE, and INPUT_ATTACHMENT descriptor types.; + // Sampler, image view, and layout for SAMPLER, COMBINED_IMAGE_SAMPLER, {SAMPLED,STORAGE}_IMAGE, and INPUT_ATTACHMENT descriptor types.; PImageInfo []DescriptorImageInfo - // Raw buffer, size, and offset for {UNIFORM,STORAGE}_BUFFER[_DYNAMIC] descriptor types.; + // Raw buffer, size, and offset for {UNIFORM,STORAGE}_BUFFER[_DYNAMIC] descriptor types.; PBufferInfo []DescriptorBufferInfo - // Buffer view to write to the descriptor for {UNIFORM,STORAGE}_TEXEL_BUFFER descriptor types.; + // Buffer view to write to the descriptor for {UNIFORM,STORAGE}_TEXEL_BUFFER descriptor types.; PTexelBufferView []BufferView } diff --git a/struct_macos.go b/struct_macos.go index fd639c5..c92de7e 100644 --- a/struct_macos.go +++ b/struct_macos.go @@ -1,5 +1,6 @@ //go:build darwin -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.186034 -0500 EST m=+3.711483193. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.114757 +0200 CEST m=+2.043765710. DO NOT EDIT. package vk diff --git a/struct_metal.go b/struct_metal.go index fe24c3b..cdc0100 100644 --- a/struct_metal.go +++ b/struct_metal.go @@ -1,5 +1,6 @@ //go:build darwin -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.641701 -0500 EST m=+3.167146284. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.235489 +0200 CEST m=+2.164497668. DO NOT EDIT. package vk diff --git a/struct_win32.go b/struct_win32.go index 2225917..7b6e70b 100644 --- a/struct_win32.go +++ b/struct_win32.go @@ -1,5 +1,6 @@ //go:build windows -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.073982 -0500 EST m=+3.599429886. DO NOT EDIT. + +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:54.036212 +0200 CEST m=+1.965219626. DO NOT EDIT. package vk @@ -539,6 +540,7 @@ type SurfaceCapabilitiesFullScreenExclusiveEXT struct { FullScreenExclusiveSupported bool } +// WARNING - struct SurfaceCapabilitiesFullScreenExclusiveEXT is returned only, which is not yet handled in the binding type _vkSurfaceCapabilitiesFullScreenExclusiveEXT struct { sType StructureType pNext unsafe.Pointer diff --git a/union.go b/union.go index d287ccd..e3f97a1 100644 --- a/union.go +++ b/union.go @@ -1,4 +1,4 @@ -// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:10.135751 -0500 EST m=+2.661192870. DO NOT EDIT. +// Code generated by go-vk from vk.xml at 2024-10-03 15:43:53.900928 +0200 CEST m=+1.829935418. DO NOT EDIT. package vk