Skip to content

Commit 695eea9

Browse files
authored
fix queryShaderIntegerDotProductProperties condition, clean unused includes (#6319)
1 parent 9dd749a commit 695eea9

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/gpu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ void GpuInfoPrivate::query_extension_properties()
10311031
memset(&queryShaderIntegerDotProductProperties, 0, sizeof(queryShaderIntegerDotProductProperties));
10321032
queryShaderIntegerDotProductProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES_KHR;
10331033
queryShaderIntegerDotProductProperties.pNext = 0;
1034-
if (support_VK_KHR_driver_properties)
1034+
if (support_VK_KHR_shader_integer_dot_product)
10351035
{
10361036
queryShaderIntegerDotProductProperties.pNext = queryExtensionProperties;
10371037
queryExtensionProperties = &queryShaderIntegerDotProductProperties;

src/layer/vulkan/shader/convolution_winograd_gemm_cm.comp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33

44
#version 450
55

6-
#extension GL_GOOGLE_include_directive: require
7-
#include "vulkan_activation.comp"
8-
96
#extension GL_EXT_control_flow_attributes: require
107

118
#extension GL_KHR_shader_subgroup_basic: require

0 commit comments

Comments
 (0)