diff --git a/backends/vulkan/runtime/api/Context.cpp b/backends/vulkan/runtime/api/Context.cpp index 64f32e50f4e..42006bd4564 100644 --- a/backends/vulkan/runtime/api/Context.cpp +++ b/backends/vulkan/runtime/api/Context.cpp @@ -274,13 +274,13 @@ VkPipeline Context::get_shader_pipeline( VkPipelineLayout pipeline_layout = pipeline_layout_cache().retrieve(shader_layout, push_constants_size); - vkapi::SpecVarList spec_constants_full_list = {4u, 4u, 1u}; - spec_constants_full_list.append(spec_constants); + const utils::WorkgroupSize local_workgroup_size(4u, 4u, 1u); VkPipeline pipeline = pipeline_cache().retrieve( {pipeline_layout, shader_cache().retrieve(shader), - spec_constants_full_list}); + spec_constants, + local_workgroup_size}); return pipeline; } diff --git a/backends/vulkan/runtime/vk_api/Adapter.cpp b/backends/vulkan/runtime/vk_api/Adapter.cpp index 4102417436c..db6fdc2909a 100644 --- a/backends/vulkan/runtime/vk_api/Adapter.cpp +++ b/backends/vulkan/runtime/vk_api/Adapter.cpp @@ -274,6 +274,7 @@ std::string Adapter::stringize() const { PRINT_PROP(limits, maxImageDimension1D); PRINT_PROP(limits, maxImageDimension2D); PRINT_PROP(limits, maxImageDimension3D); + PRINT_PROP(limits, maxStorageBufferRange); PRINT_PROP(limits, maxTexelBufferElements); PRINT_PROP(limits, maxPushConstantsSize); PRINT_PROP(limits, maxMemoryAllocationCount);