validation layer: Validation Error: [ VUID-VkPipelineLayoutCreateInfo-descriptorType-03022 ] | MessageID = 0xd8bf598e | vkCreatePipelineLayout(): max per-stage sampler bindings count (128) exceeds device maxPerStageDescriptorUpdateAfterBindSamplers limit (16). The Vulkan spec states: The total number of descriptors with a descriptorType of VK_DESCRIPTOR_TYPE_SAMPLER and VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingProperties::maxPerStageDescriptorUpdateAfterBindSamplers (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkPipelineLayoutCreateInfo-descriptorType-03022)
validation layer: Validation Error: [ VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03036 ] | MessageID = 0xd87c4910 | vkCreatePipelineLayout(): sum of sampler bindings among all stages (128) exceeds device maxDescriptorSetUpdateAfterBindSamplers limit (80). The Vulkan spec states: The total number of descriptors of the type VK_DESCRIPTOR_TYPE_SAMPLER and VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingProperties::maxDescriptorSetUpdateAfterBindSamplers (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03036)
validation layer: Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08740 ] | MessageID = 0x6e224e9 | vkCreateShaderModule(): SPIR-V Capability Int64 was declared, but one of the following requirements is required (VkPhysicalDeviceFeatures::shaderInt64). The Vulkan spec states: If pCode is a pointer to SPIR-V code, and pCode declares any of the capabilities listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-08740)
validation layer: Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00749 ] | MessageID = 0x1b1ca73 | vkCreateGraphicsPipelines(): pCreateInfos[0].pRasterizationState->lineWidth is 1.500000, but the line width state is static (pCreateInfos[0].pDynamicState->pDynamicStates does not contain VK_DYNAMIC_STATE_LINE_WIDTH) and wideLines feature was not enabled. The Vulkan spec states: If the pipeline requires pre-rasterization shader state, and the wideLines feature is not enabled, and no element of the pDynamicStates member of pDynamicState is VK_DYNAMIC_STATE_LINE_WIDTH, the lineWidth member of pRasterizationState must be 1.0 (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00749)
validation layer: Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-layout-07991 ] Object 0: handle = 0xcfcda0000000001e, type = VK_OBJECT_TYPE_SHADER_MODULE; Object 1: handle = 0x2cfba2000000001c, name = OttPipeline::VkPipelineLayout:pipelineLayout , type = VK_OBJECT_TYPE_PIPELINE_LAYOUT; | MessageID = 0xe2ab823d | vkCreateGraphicsPipelines(): pCreateInfos[0].pStages[1] SPIR-V (VK_SHADER_STAGE_FRAGMENT_BIT) uses descriptor [Set 0, Binding 1, variable "texSampler"] with 128 descriptors, but requires at least 1024. The Vulkan spec states: If a resource variables is declared in a shader as an array, a descriptor slot in layout must match the descriptor count (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-layout-07991)
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3):
program_source:34:82: error: cannot reserve 'texture' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
program_source:34:130: error: cannot reserve 'sampler' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
.
validation layer: VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3):
program_source:34:82: error: cannot reserve 'texture' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
program_source:34:130: error: cannot reserve 'sampler' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
.
[mvk-error] VK_ERROR_INVALID_SHADER_NV: Fragment shader function could not be compiled into pipeline. See previous logged error.
validation layer: VK_ERROR_INVALID_SHADER_NV: Fragment shader function could not be compiled into pipeline. See previous logged error.
[ERROR] vkCreateGraphicsPipelines returned: -1000012000
Failed to create graphics pipeline.
[ERROR] vkCreateGraphicsPipelines returned: -1000012000
Failed to create graphics pipeline.
validation layer: Validation Error: [ VUID-vkDestroyPipeline-pipeline-parameter ] Object 0: handle = 0x622000040900, name = OttDevice::VkInstance::instance , type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xaeb3d1a6 | vkDestroyPipeline(): pipeline Invalid VkPipeline Object 0x1ee2c37f0. The Vulkan spec states: If pipeline is not VK_NULL_HANDLE, pipeline must be a valid VkPipeline handle (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyPipeline-pipeline-parameter)
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x1ee2c37f0, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x1ee2c37f0. This should not happen and may indicate a bug in the application.
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x1ee2c37f0, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x1ee2c37f0. This should not happen and may indicate a bug in the application.
validation layer: Validation Error: [ VUID-vkDestroyPipeline-pipeline-parameter ] Object 0: handle = 0x622000040900, name = OttDevice::VkInstance::instance , type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xaeb3d1a6 | vkDestroyPipeline(): pipeline Invalid VkPipeline Object 0x16f052080. The Vulkan spec states: If pipeline is not VK_NULL_HANDLE, pipeline must be a valid VkPipeline handle (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyPipeline-pipeline-parameter)
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x16f052080, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x16f052080. This should not happen and may indicate a bug in the application.
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x16f052080, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x16f052080. This should not happen and may indicate a bug in the application.
[DEBUG] OttPipeline object destroyed
validation layer: Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xcfcda0000000001e, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x4872eaa0 | vkDestroyDevice(): OBJ ERROR : For VkDevice 0x622000045118[ OttDevice::device ], VkShaderModule 0xcfcda0000000001e[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
validation layer: Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0x908683000000001d, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x4872eaa0 | vkDestroyDevice(): OBJ ERROR : For VkDevice 0x622000045118[ OttDevice::device ], VkShaderModule 0x908683000000001d[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
validation layer: Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xcb1c7c000000001b, name = OttDescriptor::bindlessDescriptorSetLayout, type = VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT; | MessageID = 0x4872eaa0 | vkDestroyDevice(): OBJ ERROR : For VkDevice 0x622000045118[ OttDevice::device ], VkDescriptorSetLayout 0xcb1c7c000000001b[ OttDescriptor::bindlessDescriptorSetLayout] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
validation layer: Unloading layer library /opt/vulkan/macOS/share/vulkan/explicit_layer.d/../../../lib/libVkLayer_khronos_validation.dylib
validation layer: Validation Error: [ VUID-VkPipelineLayoutCreateInfo-descriptorType-03022 ] | MessageID = 0xd8bf598e | vkCreatePipelineLayout(): max per-stage sampler bindings count (128) exceeds device maxPerStageDescriptorUpdateAfterBindSamplers limit (16). The Vulkan spec states: The total number of descriptors with a descriptorType of VK_DESCRIPTOR_TYPE_SAMPLER and VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible to any given shader stage across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingProperties::maxPerStageDescriptorUpdateAfterBindSamplers (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkPipelineLayoutCreateInfo-descriptorType-03022)
validation layer: Validation Error: [ VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03036 ] | MessageID = 0xd87c4910 | vkCreatePipelineLayout(): sum of sampler bindings among all stages (128) exceeds device maxDescriptorSetUpdateAfterBindSamplers limit (80). The Vulkan spec states: The total number of descriptors of the type VK_DESCRIPTOR_TYPE_SAMPLER and VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER accessible across all shader stages and across all elements of pSetLayouts must be less than or equal to VkPhysicalDeviceDescriptorIndexingProperties::maxDescriptorSetUpdateAfterBindSamplers (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03036)
validation layer: Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08740 ] | MessageID = 0x6e224e9 | vkCreateShaderModule(): SPIR-V Capability Int64 was declared, but one of the following requirements is required (VkPhysicalDeviceFeatures::shaderInt64). The Vulkan spec states: If pCode is a pointer to SPIR-V code, and pCode declares any of the capabilities listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-08740)
validation layer: Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00749 ] | MessageID = 0x1b1ca73 | vkCreateGraphicsPipelines(): pCreateInfos[0].pRasterizationState->lineWidth is 1.500000, but the line width state is static (pCreateInfos[0].pDynamicState->pDynamicStates does not contain VK_DYNAMIC_STATE_LINE_WIDTH) and wideLines feature was not enabled. The Vulkan spec states: If the pipeline requires pre-rasterization shader state, and the wideLines feature is not enabled, and no element of the pDynamicStates member of pDynamicState is VK_DYNAMIC_STATE_LINE_WIDTH, the lineWidth member of pRasterizationState must be 1.0 (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00749)
validation layer: Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-layout-07991 ] Object 0: handle = 0xcfcda0000000001e, type = VK_OBJECT_TYPE_SHADER_MODULE; Object 1: handle = 0x2cfba2000000001c, name = OttPipeline::VkPipelineLayout:pipelineLayout , type = VK_OBJECT_TYPE_PIPELINE_LAYOUT; | MessageID = 0xe2ab823d | vkCreateGraphicsPipelines(): pCreateInfos[0].pStages[1] SPIR-V (VK_SHADER_STAGE_FRAGMENT_BIT) uses descriptor [Set 0, Binding 1, variable "texSampler"] with 128 descriptors, but requires at least 1024. The Vulkan spec states: If a resource variables is declared in a shader as an array, a descriptor slot in layout must match the descriptor count (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-layout-07991)
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3):
program_source:34:82: error: cannot reserve 'texture' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
program_source:34:130: error: cannot reserve 'sampler' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
.
validation layer: VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3):
program_source:34:82: error: cannot reserve 'texture' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
program_source:34:130: error: cannot reserve 'sampler' resource locations at index 0
fragment main0_out main0(main0_in in [[stage_in]], array<texture2d, 1024> texSampler [[texture(0)]], array<sampler, 1024> texSamplerSmplr [[sampler(0)]], uint gl_SampleID [[sample_id]])
^
.
[mvk-error] VK_ERROR_INVALID_SHADER_NV: Fragment shader function could not be compiled into pipeline. See previous logged error.
validation layer: VK_ERROR_INVALID_SHADER_NV: Fragment shader function could not be compiled into pipeline. See previous logged error.
[ERROR] vkCreateGraphicsPipelines returned: -1000012000
Failed to create graphics pipeline.
[ERROR] vkCreateGraphicsPipelines returned: -1000012000
Failed to create graphics pipeline.
validation layer: Validation Error: [ VUID-vkDestroyPipeline-pipeline-parameter ] Object 0: handle = 0x622000040900, name = OttDevice::VkInstance::instance , type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xaeb3d1a6 | vkDestroyPipeline(): pipeline Invalid VkPipeline Object 0x1ee2c37f0. The Vulkan spec states: If pipeline is not VK_NULL_HANDLE, pipeline must be a valid VkPipeline handle (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyPipeline-pipeline-parameter)
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x1ee2c37f0, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x1ee2c37f0. This should not happen and may indicate a bug in the application.
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x1ee2c37f0, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x1ee2c37f0. This should not happen and may indicate a bug in the application.
validation layer: Validation Error: [ VUID-vkDestroyPipeline-pipeline-parameter ] Object 0: handle = 0x622000040900, name = OttDevice::VkInstance::instance , type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xaeb3d1a6 | vkDestroyPipeline(): pipeline Invalid VkPipeline Object 0x16f052080. The Vulkan spec states: If pipeline is not VK_NULL_HANDLE, pipeline must be a valid VkPipeline handle (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyPipeline-pipeline-parameter)
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x16f052080, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x16f052080. This should not happen and may indicate a bug in the application.
validation layer: Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x16f052080, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x5d6b67e2 | vkDestroyPipeline(): Couldn't find VkPipeline Object 0x16f052080. This should not happen and may indicate a bug in the application.
[DEBUG] OttPipeline object destroyed
validation layer: Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xcfcda0000000001e, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x4872eaa0 | vkDestroyDevice(): OBJ ERROR : For VkDevice 0x622000045118[ OttDevice::device ], VkShaderModule 0xcfcda0000000001e[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
validation layer: Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0x908683000000001d, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x4872eaa0 | vkDestroyDevice(): OBJ ERROR : For VkDevice 0x622000045118[ OttDevice::device ], VkShaderModule 0x908683000000001d[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
validation layer: Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xcb1c7c000000001b, name = OttDescriptor::bindlessDescriptorSetLayout, type = VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT; | MessageID = 0x4872eaa0 | vkDestroyDevice(): OBJ ERROR : For VkDevice 0x622000045118[ OttDevice::device ], VkDescriptorSetLayout 0xcb1c7c000000001b[ OttDescriptor::bindlessDescriptorSetLayout] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/mac/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
validation layer: Unloading layer library /opt/vulkan/macOS/share/vulkan/explicit_layer.d/../../../lib/libVkLayer_khronos_validation.dylib