From ed0f36beb23a67a661cad644585058ea57b9706c Mon Sep 17 00:00:00 2001 From: teoxoy <28601907+teoxoy@users.noreply.github.com> Date: Mon, 2 Oct 2023 20:33:24 +0200 Subject: [PATCH 1/3] [spv-in] remove duplicated capabilities --- src/front/spv/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/front/spv/mod.rs b/src/front/spv/mod.rs index 5fd54b023f..249b91c143 100644 --- a/src/front/spv/mod.rs +++ b/src/front/spv/mod.rs @@ -63,8 +63,6 @@ pub const SUPPORTED_CAPABILITIES: &[spirv::Capability] = &[ spirv::Capability::ImageCubeArray, spirv::Capability::ImageMSArray, spirv::Capability::StorageImageExtendedFormats, - spirv::Capability::Sampled1D, - spirv::Capability::SampledCubeArray, spirv::Capability::Int8, spirv::Capability::Int16, spirv::Capability::Int64, From 4beaad4c27dc1a8517c219a38fccf36f1868dec1 Mon Sep 17 00:00:00 2001 From: teoxoy <28601907+teoxoy@users.noreply.github.com> Date: Mon, 2 Oct 2023 20:34:50 +0200 Subject: [PATCH 2/3] [spv-in] remove `spirv::Capability::InterpolationFunction` as we don't support the `InterpolateAtCentroid`, `InterpolateAtSample`, or `InterpolateAtOffset` `GLSL.std.450` extended instructions --- src/front/spv/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/front/spv/mod.rs b/src/front/spv/mod.rs index 249b91c143..7ffea26bc7 100644 --- a/src/front/spv/mod.rs +++ b/src/front/spv/mod.rs @@ -54,7 +54,6 @@ pub const SUPPORTED_CAPABILITIES: &[spirv::Capability] = &[ spirv::Capability::CullDistance, spirv::Capability::SampleRateShading, spirv::Capability::DerivativeControl, - spirv::Capability::InterpolationFunction, spirv::Capability::Matrix, spirv::Capability::ImageQuery, spirv::Capability::Sampled1D, From 07bfa7430f45095d914543a613106d421ea01089 Mon Sep 17 00:00:00 2001 From: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:57:21 +0200 Subject: [PATCH 3/3] [spv-in] remove `spirv::Capability::ImageMSArray` as we don't support multisampled storage textures at all --- src/front/spv/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/front/spv/mod.rs b/src/front/spv/mod.rs index 7ffea26bc7..faf7173c8d 100644 --- a/src/front/spv/mod.rs +++ b/src/front/spv/mod.rs @@ -60,7 +60,6 @@ pub const SUPPORTED_CAPABILITIES: &[spirv::Capability] = &[ spirv::Capability::Image1D, spirv::Capability::SampledCubeArray, spirv::Capability::ImageCubeArray, - spirv::Capability::ImageMSArray, spirv::Capability::StorageImageExtendedFormats, spirv::Capability::Int8, spirv::Capability::Int16,