Vulkan-ExtensionLayer
Vulkan-ExtensionLayer copied to clipboard
Layer providing Vulkan features when native support is unavailable
I tried to do the following in a VVL test ```c++ const char *object_name = "bad_shader_object"; VkDebugUtilsObjectNameInfoEXT name_info = vku::InitStructHelper(); name_info.objectType = VK_OBJECT_TYPE_SHADER_EXT; name_info.objectHandle = (uint64_t)compShader.handle(); name_info.pObjectName = object_name; vk::SetDebugUtilsObjectNameEXT(device(),...
I was running the following test ```c++ TEST_F(PositiveGpuAVDescriptorIndexing, SharedPipelineLayoutSubsetGraphicsShaderObject2) { SetTargetApiVersion(VK_API_VERSION_1_2); AddRequiredExtensions(VK_KHR_DYNAMIC_RENDERING_EXTENSION_NAME); AddRequiredExtensions(VK_EXT_SHADER_OBJECT_EXTENSION_NAME); AddRequiredFeature(vkt::Feature::dynamicRendering); AddRequiredFeature(vkt::Feature::shaderObject); AddRequiredFeature(vkt::Feature::descriptorBindingStorageBufferUpdateAfterBind); RETURN_IF_SKIP(Init()); InitDynamicRenderTarget(); VkDescriptorBindingFlags binding_flags = VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT; VkDescriptorSetLayoutBindingFlagsCreateInfo flags_create_info = vku::InitStructHelper(); flags_create_info.bindingCount = 1; flags_create_info.pBindingFlags...
Running VVL `PositiveShaderObject.DrawWithVertAndFragShaderObjects` with `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_shader_object:VK_LAYER_KHRONOS_validation` produces the following error > [ VUID-VkGraphicsPipelineCreateInfo-pStages-06894 ] | MessageID = 0xdfcd6d41 | vkCreateGraphicsPipelines(): pCreateInfos[0] does not have fragment shader state, but stages (VK_SHADER_STAGE_VERTEX_BIT|VK_SHADER_STAGE_FRAGMENT_BIT) contains...
Between the two optimizations, performance of decompressing a very large file on my Meteor Lake laptop was improved by ~11%.
On **Windows 11 ARM** machines, which are routinely tested for `Release64` builds but not `Debug64` builds, shows a failure when attempting to execute tests after building in `Debug64`: http://tcubuser.lunarg.localdomain:8080/view/Manual/job/manual-Vulkan-ExtensionLayer/44/console ```...
Dear imgui fails to display when using VK_LAYER_KHRONOS_shader_object. This only happens if they layer is enabled and you are drawing dear imgui after a draw that was using a shader...