From e9cda702618e9c966ebdf9f5b3af8544c822ed4e Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 10 May 2018 16:32:13 -0400 Subject: [PATCH] Adjust tests according to grammar change * ConstOffsets now requires ImageGatherExtended * Int8 does not require Kernel anymore --- test/operand_capabilities_test.cpp | 4 ++-- test/val/val_capability_test.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/operand_capabilities_test.cpp b/test/operand_capabilities_test.cpp index ddc60e267..a980621d0 100644 --- a/test/operand_capabilities_test.cpp +++ b/test/operand_capabilities_test.cpp @@ -348,7 +348,7 @@ INSTANTIATE_TEST_CASE_P( CASE0(OPTIONAL_IMAGE, ImageOperandsGradMask), CASE0(OPTIONAL_IMAGE, ImageOperandsConstOffsetMask), CASE1(OPTIONAL_IMAGE, ImageOperandsOffsetMask, ImageGatherExtended), - CASE0(OPTIONAL_IMAGE, ImageOperandsConstOffsetsMask), + CASE1(OPTIONAL_IMAGE, ImageOperandsConstOffsetsMask, ImageGatherExtended), CASE0(OPTIONAL_IMAGE, ImageOperandsSampleMask), CASE1(OPTIONAL_IMAGE, ImageOperandsMinLodMask, MinLod), // clang-format on @@ -687,7 +687,7 @@ INSTANTIATE_TEST_CASE_P( CASE1(CAPABILITY, CapabilityImageRect, SampledRect), CASE1(CAPABILITY, CapabilitySampledRect, Shader), CASE1(CAPABILITY, CapabilityGenericPointer, Addresses), - CASE1(CAPABILITY, CapabilityInt8, Kernel), + CASE0(CAPABILITY, CapabilityInt8), CASE1(CAPABILITY, CapabilityInputAttachment, Shader), CASE1(CAPABILITY, CapabilitySparseResidency, Shader), CASE1(CAPABILITY, CapabilityMinLod, Shader), diff --git a/test/val/val_capability_test.cpp b/test/val/val_capability_test.cpp index 1e5b1f03e..c088237c1 100644 --- a/test/val/val_capability_test.cpp +++ b/test/val/val_capability_test.cpp @@ -409,7 +409,6 @@ const vector& KernelDependencies() { "Pipes", "DeviceEnqueue", "LiteralSampler", - "Int8", "SubgroupDispatch", "NamedBarrier", "PipeStorage"};