From c66f5074e23a979ea2b2242f71c13b7068def43b Mon Sep 17 00:00:00 2001 From: David Neto Date: Wed, 23 Sep 2015 15:44:02 -0400 Subject: [PATCH] Assembler support for new capabilities in Rev32 --- source/operand.cpp | 18 ++++++++++++++++++ test/TextToBinary.ModeSetting.cpp | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/source/operand.cpp b/source/operand.cpp index 7c9f69e1e..2dd6cc243 100644 --- a/source/operand.cpp +++ b/source/operand.cpp @@ -1306,6 +1306,24 @@ static const spv_operand_desc_t capabilityInfoEntries[] = { CASE(CullDistance), CASE(ImageCubeArray), CASE(SampleRateShading), + CASE(ImageRect), + CASE(SampledRect), + CASE(GenericPointer), + CASE(Int8), + CASE(InputTarget), + CASE(SparseResidency), + CASE(MinLod), + CASE(Sampled1D), + CASE(Image1D), + CASE(SampledCubeArray), + CASE(SampledBuffer), + CASE(ImageBuffer), + CASE(ImageMSArray), + CASE(AdvancedFormats), + CASE(ImageQuery), + CASE(DerivativeControl), + CASE(InterpolationFunction), + CASE(TransformFeedback), #undef CASE }; diff --git a/test/TextToBinary.ModeSetting.cpp b/test/TextToBinary.ModeSetting.cpp index d94388d53..96af9f2ae 100644 --- a/test/TextToBinary.ModeSetting.cpp +++ b/test/TextToBinary.ModeSetting.cpp @@ -249,6 +249,24 @@ INSTANTIATE_TEST_CASE_P(TextToBinaryCapability, OpCapabilityTest, CASE(CullDistance), CASE(ImageCubeArray), CASE(SampleRateShading), + CASE(ImageRect), + CASE(SampledRect), + CASE(GenericPointer), + CASE(Int8), + CASE(InputTarget), + CASE(SparseResidency), + CASE(MinLod), + CASE(Sampled1D), + CASE(Image1D), + CASE(SampledCubeArray), + CASE(SampledBuffer), + CASE(ImageBuffer), + CASE(ImageMSArray), + CASE(AdvancedFormats), + CASE(ImageQuery), + CASE(DerivativeControl), + CASE(InterpolationFunction), + CASE(TransformFeedback), })); #undef CASE // clang-format on