diff options
| author | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-06-18 10:38:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 17:38:31 +0000 |
| commit | 3822f9243f7b80be4c47318cf3d0b8d9800e67dd (patch) | |
| tree | 2a0f92310625b7d83fccaef205087579f292281a /tools/gfx/vulkan/vk-device.cpp | |
| parent | 63ca2325d7f6afdbf07e8f00975fab01ec516302 (diff) | |
Fix additional VVL violations (#7377)
* fix: add sampleCount and mipMaps to st2DMS_f32v4
Fix VUID-VkImageCreateInfo-samples-02257:
The Vulkan spec states: If an OpTypeImage has an MS operand 1,
its bound image must not have been created with
VkImageCreateInfo::samples as VK_SAMPLE_COUNT_1_BIT
* Fix VUID-VkShaderModuleCreateInfo-pCode-08740
Rename VK_KHR_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME
to VK_NV_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME
* fix: add sampleCount and mipMaps to st2DMS_f32v4
Fix VUID-VkImageCreateInfo-samples-02257:
The Vulkan spec states: If an OpTypeImage has an MS operand 1,
its bound image must not have been created with
VkImageCreateInfo::samples as VK_SAMPLE_COUNT_1_BIT
* Fix VUID-VkShaderModuleCreateInfo-pCode-08740
Rename VK_KHR_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME
to VK_NV_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME
* Fix VUID-vkCmdDispatch-None-06479
Use correct format for combined depth texture.
* Fix VUID-vkCmdDispatch-format-07753 by setting format
Parse filtering mode for sampler because the RGBA8* formats do not
support linear filtering
* Create MS texture type for sample count > 1
* Use different texture formats for depth compare and gather ops
* Use clearTexture for init the data for MS textures
Diffstat (limited to 'tools/gfx/vulkan/vk-device.cpp')
| -rw-r--r-- | tools/gfx/vulkan/vk-device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/vulkan/vk-device.cpp b/tools/gfx/vulkan/vk-device.cpp index d056e3984..a94d4f492 100644 --- a/tools/gfx/vulkan/vk-device.cpp +++ b/tools/gfx/vulkan/vk-device.cpp @@ -717,7 +717,7 @@ Result DeviceImpl::initVulkanInstanceAndDevice( SIMPLE_EXTENSION_FEATURE( extendedFeatures.computeShaderDerivativeFeatures, computeDerivativeGroupLinear, - VK_NV_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME, + VK_KHR_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME, "computeDerivativeGroupLinear"); // Only enable raytracing validation if both requested and supported |
