From b80e2f3b6eb90e65e023a912c82b75e0d5739e2a Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Tue, 1 Feb 2022 17:21:52 +0000 Subject: [PATCH] intrinsics: Remove ignore() This has been deprecated since M97. Fixed: tint:1214 Change-Id: I970898f2ae8baf1916e2f8d43230d8b724641730 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78785 Kokoro: Kokoro Reviewed-by: James Price Commit-Queue: Ben Clayton --- docs/origin-trial-changes.md | 2 +- src/intrinsic_table.inl | 3091 ++++++++--------- src/intrinsics.def | 1 - .../type_constructor_validation_test.cc | 12 +- src/sem/intrinsic_type.cc | 5 - src/sem/intrinsic_type.h | 1 - .../array_length_from_uniform_test.cc | 2 +- src/transform/decompose_memory_access.cc | 13 - src/transform/loop_to_for_loop_test.cc | 30 +- src/transform/renamer_test.cc | 4 +- .../zero_init_workgroup_memory_test.cc | 116 +- src/writer/glsl/generator_impl.cc | 3 - .../glsl/generator_impl_intrinsic_test.cc | 25 - src/writer/hlsl/generator_impl.cc | 3 - .../hlsl/generator_impl_intrinsic_test.cc | 25 - src/writer/msl/generator_impl.cc | 7 - src/writer/spirv/builder.cc | 8 - src/writer/spirv/builder_intrinsic_test.cc | 39 - test/intrinsics/gen/ignore/2a6ac2.wgsl | 46 - .../gen/ignore/2a6ac2.wgsl.expected.glsl | 87 - .../gen/ignore/2a6ac2.wgsl.expected.hlsl | 36 - .../gen/ignore/2a6ac2.wgsl.expected.msl | 37 - .../gen/ignore/2a6ac2.wgsl.expected.spvasm | 69 - .../gen/ignore/2a6ac2.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/5016e5.wgsl | 46 - .../gen/ignore/5016e5.wgsl.expected.glsl | 87 - .../gen/ignore/5016e5.wgsl.expected.hlsl | 36 - .../gen/ignore/5016e5.wgsl.expected.msl | 37 - .../gen/ignore/5016e5.wgsl.expected.spvasm | 69 - .../gen/ignore/5016e5.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/509355.wgsl | 46 - .../gen/ignore/509355.wgsl.expected.glsl | 87 - .../gen/ignore/509355.wgsl.expected.hlsl | 36 - .../gen/ignore/509355.wgsl.expected.msl | 37 - .../gen/ignore/509355.wgsl.expected.spvasm | 69 - .../gen/ignore/509355.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/51aeb7.wgsl | 45 - .../gen/ignore/51aeb7.wgsl.expected.glsl | 54 - .../gen/ignore/51aeb7.wgsl.expected.hlsl | 34 - .../gen/ignore/51aeb7.wgsl.expected.msl | 37 - .../gen/ignore/51aeb7.wgsl.expected.spvasm | 65 - .../gen/ignore/51aeb7.wgsl.expected.wgsl | 23 - test/intrinsics/gen/ignore/5c9edf.wgsl | 46 - .../gen/ignore/5c9edf.wgsl.expected.glsl | 87 - .../gen/ignore/5c9edf.wgsl.expected.hlsl | 36 - .../gen/ignore/5c9edf.wgsl.expected.msl | 37 - .../gen/ignore/5c9edf.wgsl.expected.spvasm | 69 - .../gen/ignore/5c9edf.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/6698df.wgsl | 45 - .../gen/ignore/6698df.wgsl.expected.glsl | 54 - .../gen/ignore/6698df.wgsl.expected.hlsl | 34 - .../gen/ignore/6698df.wgsl.expected.msl | 37 - .../gen/ignore/6698df.wgsl.expected.spvasm | 65 - .../gen/ignore/6698df.wgsl.expected.wgsl | 23 - test/intrinsics/gen/ignore/ad88be.wgsl | 46 - .../gen/ignore/ad88be.wgsl.expected.glsl | 87 - .../gen/ignore/ad88be.wgsl.expected.hlsl | 36 - .../gen/ignore/ad88be.wgsl.expected.msl | 37 - .../gen/ignore/ad88be.wgsl.expected.spvasm | 70 - .../gen/ignore/ad88be.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/b469af.wgsl | 46 - .../gen/ignore/b469af.wgsl.expected.glsl | 87 - .../gen/ignore/b469af.wgsl.expected.hlsl | 36 - .../gen/ignore/b469af.wgsl.expected.msl | 37 - .../gen/ignore/b469af.wgsl.expected.spvasm | 69 - .../gen/ignore/b469af.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/c8a0ee.wgsl | 46 - .../gen/ignore/c8a0ee.wgsl.expected.glsl | 87 - .../gen/ignore/c8a0ee.wgsl.expected.hlsl | 36 - .../gen/ignore/c8a0ee.wgsl.expected.msl | 37 - .../gen/ignore/c8a0ee.wgsl.expected.spvasm | 69 - .../gen/ignore/c8a0ee.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/d91a2f.wgsl | 45 - .../gen/ignore/d91a2f.wgsl.expected.glsl | 54 - .../gen/ignore/d91a2f.wgsl.expected.hlsl | 34 - .../gen/ignore/d91a2f.wgsl.expected.msl | 37 - .../gen/ignore/d91a2f.wgsl.expected.spvasm | 63 - .../gen/ignore/d91a2f.wgsl.expected.wgsl | 23 - test/intrinsics/gen/ignore/e0187b.wgsl | 46 - .../gen/ignore/e0187b.wgsl.expected.glsl | 87 - .../gen/ignore/e0187b.wgsl.expected.hlsl | 36 - .../gen/ignore/e0187b.wgsl.expected.msl | 37 - .../gen/ignore/e0187b.wgsl.expected.spvasm | 69 - .../gen/ignore/e0187b.wgsl.expected.wgsl | 25 - test/intrinsics/gen/ignore/f414a6.wgsl | 45 - .../gen/ignore/f414a6.wgsl.expected.glsl | 54 - .../gen/ignore/f414a6.wgsl.expected.hlsl | 34 - .../gen/ignore/f414a6.wgsl.expected.msl | 37 - .../gen/ignore/f414a6.wgsl.expected.spvasm | 65 - .../gen/ignore/f414a6.wgsl.expected.wgsl | 23 - test/intrinsics/ignore/call.wgsl | 8 - .../intrinsics/ignore/call.wgsl.expected.glsl | 20 - .../intrinsics/ignore/call.wgsl.expected.hlsl | 13 - test/intrinsics/ignore/call.wgsl.expected.msl | 16 - .../ignore/call.wgsl.expected.spvasm | 39 - .../intrinsics/ignore/call.wgsl.expected.wgsl | 12 - test/intrinsics/ignore/runtime_array.wgsl | 10 - .../ignore/runtime_array.wgsl.expected.glsl | 19 - .../ignore/runtime_array.wgsl.expected.hlsl | 11 - .../ignore/runtime_array.wgsl.expected.msl | 16 - .../ignore/runtime_array.wgsl.expected.spvasm | 37 - .../ignore/runtime_array.wgsl.expected.wgsl | 14 - test/intrinsics/ignore/storage_buffer.wgsl | 11 - .../ignore/storage_buffer.wgsl.expected.glsl | 28 - .../ignore/storage_buffer.wgsl.expected.hlsl | 16 - .../ignore/storage_buffer.wgsl.expected.msl | 21 - .../storage_buffer.wgsl.expected.spvasm | 39 - .../ignore/storage_buffer.wgsl.expected.wgsl | 19 - test/intrinsics/ignore/uniform_buffer.wgsl | 11 - .../ignore/uniform_buffer.wgsl.expected.glsl | 29 - .../ignore/uniform_buffer.wgsl.expected.hlsl | 18 - .../ignore/uniform_buffer.wgsl.expected.msl | 21 - .../uniform_buffer.wgsl.expected.spvasm | 40 - .../ignore/uniform_buffer.wgsl.expected.wgsl | 19 - 114 files changed, 1617 insertions(+), 5688 deletions(-) delete mode 100644 test/intrinsics/gen/ignore/2a6ac2.wgsl delete mode 100644 test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/5016e5.wgsl delete mode 100644 test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/5016e5.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/5016e5.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/5016e5.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/509355.wgsl delete mode 100644 test/intrinsics/gen/ignore/509355.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/509355.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/509355.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/509355.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/51aeb7.wgsl delete mode 100644 test/intrinsics/gen/ignore/51aeb7.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/51aeb7.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/51aeb7.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/51aeb7.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/5c9edf.wgsl delete mode 100644 test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/5c9edf.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/5c9edf.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/5c9edf.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/6698df.wgsl delete mode 100644 test/intrinsics/gen/ignore/6698df.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/6698df.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/6698df.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/6698df.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/ad88be.wgsl delete mode 100644 test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/ad88be.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/ad88be.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/ad88be.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/b469af.wgsl delete mode 100644 test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/b469af.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/b469af.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/b469af.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/c8a0ee.wgsl delete mode 100644 test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/d91a2f.wgsl delete mode 100644 test/intrinsics/gen/ignore/d91a2f.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/d91a2f.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/d91a2f.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/d91a2f.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/e0187b.wgsl delete mode 100644 test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/e0187b.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/e0187b.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/e0187b.wgsl.expected.wgsl delete mode 100644 test/intrinsics/gen/ignore/f414a6.wgsl delete mode 100644 test/intrinsics/gen/ignore/f414a6.wgsl.expected.glsl delete mode 100644 test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl delete mode 100644 test/intrinsics/gen/ignore/f414a6.wgsl.expected.msl delete mode 100644 test/intrinsics/gen/ignore/f414a6.wgsl.expected.spvasm delete mode 100644 test/intrinsics/gen/ignore/f414a6.wgsl.expected.wgsl delete mode 100644 test/intrinsics/ignore/call.wgsl delete mode 100644 test/intrinsics/ignore/call.wgsl.expected.glsl delete mode 100644 test/intrinsics/ignore/call.wgsl.expected.hlsl delete mode 100644 test/intrinsics/ignore/call.wgsl.expected.msl delete mode 100644 test/intrinsics/ignore/call.wgsl.expected.spvasm delete mode 100644 test/intrinsics/ignore/call.wgsl.expected.wgsl delete mode 100644 test/intrinsics/ignore/runtime_array.wgsl delete mode 100644 test/intrinsics/ignore/runtime_array.wgsl.expected.glsl delete mode 100644 test/intrinsics/ignore/runtime_array.wgsl.expected.hlsl delete mode 100644 test/intrinsics/ignore/runtime_array.wgsl.expected.msl delete mode 100644 test/intrinsics/ignore/runtime_array.wgsl.expected.spvasm delete mode 100644 test/intrinsics/ignore/runtime_array.wgsl.expected.wgsl delete mode 100644 test/intrinsics/ignore/storage_buffer.wgsl delete mode 100644 test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl delete mode 100644 test/intrinsics/ignore/storage_buffer.wgsl.expected.hlsl delete mode 100644 test/intrinsics/ignore/storage_buffer.wgsl.expected.msl delete mode 100644 test/intrinsics/ignore/storage_buffer.wgsl.expected.spvasm delete mode 100644 test/intrinsics/ignore/storage_buffer.wgsl.expected.wgsl delete mode 100644 test/intrinsics/ignore/uniform_buffer.wgsl delete mode 100644 test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl delete mode 100644 test/intrinsics/ignore/uniform_buffer.wgsl.expected.hlsl delete mode 100644 test/intrinsics/ignore/uniform_buffer.wgsl.expected.msl delete mode 100644 test/intrinsics/ignore/uniform_buffer.wgsl.expected.spvasm delete mode 100644 test/intrinsics/ignore/uniform_buffer.wgsl.expected.wgsl diff --git a/docs/origin-trial-changes.md b/docs/origin-trial-changes.md index 92c7a22df2..8fd00ece0c 100644 --- a/docs/origin-trial-changes.md +++ b/docs/origin-trial-changes.md @@ -5,7 +5,7 @@ ### Breaking changes * The `@interpolate(flat)` attribute must now be specified on integral user-defined IO. [tint:1224](crbug.com/tint/1224) - +* The `ignore()` intrinsic has been removed. Use phoney-assignment instead: `ignore(expr);` -> `_ = expr;`. ## Changes for M99 diff --git a/src/intrinsic_table.inl b/src/intrinsic_table.inl index 8e4e00086e..a876cb0353 100644 --- a/src/intrinsic_table.inl +++ b/src/intrinsic_table.inl @@ -1726,10 +1726,10 @@ constexpr MatcherIndex kMatcherIndices[] = { /* [84] */ 2, /* [85] */ 7, /* [86] */ 2, - /* [87] */ 5, - /* [88] */ 3, - /* [89] */ 6, - /* [90] */ 2, + /* [87] */ 6, + /* [88] */ 2, + /* [89] */ 5, + /* [90] */ 3, /* [91] */ 5, /* [92] */ 2, /* [93] */ 17, @@ -1768,10 +1768,10 @@ constexpr MatcherIndex kMatcherIndices[] = { /* [126] */ 0, /* [127] */ 15, /* [128] */ 2, - /* [129] */ 24, - /* [130] */ 25, - /* [131] */ 23, - /* [132] */ 22, + /* [129] */ 25, + /* [130] */ 23, + /* [131] */ 22, + /* [132] */ 24, /* [133] */ 26, /* [134] */ 13, /* [135] */ 14, @@ -1820,12 +1820,12 @@ constexpr ParameterInfo kParameters[] = { { /* [6] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [7] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [8] */ @@ -1850,7 +1850,7 @@ constexpr ParameterInfo kParameters[] = { { /* [12] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [13] */ @@ -1865,7 +1865,7 @@ constexpr ParameterInfo kParameters[] = { { /* [15] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [16] */ @@ -1875,12 +1875,12 @@ constexpr ParameterInfo kParameters[] = { { /* [17] */ /* usage */ ParameterUsage::kDdx, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [18] */ /* usage */ ParameterUsage::kDdy, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [19] */ @@ -1910,7 +1910,7 @@ constexpr ParameterInfo kParameters[] = { { /* [24] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [25] */ @@ -1940,7 +1940,7 @@ constexpr ParameterInfo kParameters[] = { { /* [30] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [31] */ @@ -2000,12 +2000,12 @@ constexpr ParameterInfo kParameters[] = { { /* [42] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [43] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [44] */ @@ -2030,7 +2030,7 @@ constexpr ParameterInfo kParameters[] = { { /* [48] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [49] */ @@ -2060,12 +2060,12 @@ constexpr ParameterInfo kParameters[] = { { /* [54] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [55] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [56] */ @@ -2090,72 +2090,72 @@ constexpr ParameterInfo kParameters[] = { { /* [60] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [61] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[83], + /* matcher indices */ &kMatcherIndices[130], }, { /* [62] */ /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[134], + /* matcher indices */ &kMatcherIndices[135], }, { /* [63] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], - }, - { - /* [64] */ - /* usage */ ParameterUsage::kDdx, - /* matcher indices */ &kMatcherIndices[89], - }, - { - /* [65] */ - /* usage */ ParameterUsage::kDdy, - /* matcher indices */ &kMatcherIndices[89], - }, - { - /* [66] */ - /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[95], - }, - { - /* [67] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], - }, - { - /* [68] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[135], - }, - { - /* [69] */ - /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[91], }, { - /* [70] */ + /* [64] */ /* usage */ ParameterUsage::kArrayIndex, /* matcher indices */ &kMatcherIndices[55], }, { - /* [71] */ + /* [65] */ /* usage */ ParameterUsage::kDepthRef, /* matcher indices */ &kMatcherIndices[12], }, + { + /* [66] */ + /* usage */ ParameterUsage::kOffset, + /* matcher indices */ &kMatcherIndices[89], + }, + { + /* [67] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[83], + }, + { + /* [68] */ + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[134], + }, + { + /* [69] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[87], + }, + { + /* [70] */ + /* usage */ ParameterUsage::kDdx, + /* matcher indices */ &kMatcherIndices[87], + }, + { + /* [71] */ + /* usage */ ParameterUsage::kDdy, + /* matcher indices */ &kMatcherIndices[87], + }, { /* [72] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[95], }, { /* [73] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [74] */ @@ -2179,28 +2179,28 @@ constexpr ParameterInfo kParameters[] = { }, { /* [78] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* usage */ ParameterUsage::kComponent, + /* matcher indices */ &kMatcherIndices[55], }, { /* [79] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[135], + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[125], }, { /* [80] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[91], + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[134], }, { /* [81] */ - /* usage */ ParameterUsage::kDepthRef, - /* matcher indices */ &kMatcherIndices[12], + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[87], }, { /* [82] */ - /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* usage */ ParameterUsage::kArrayIndex, + /* matcher indices */ &kMatcherIndices[55], }, { /* [83] */ @@ -2219,43 +2219,43 @@ constexpr ParameterInfo kParameters[] = { }, { /* [86] */ - /* usage */ ParameterUsage::kArrayIndex, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [87] */ /* usage */ ParameterUsage::kDepthRef, /* matcher indices */ &kMatcherIndices[12], }, { - /* [88] */ - /* usage */ ParameterUsage::kComponent, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [89] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[125], - }, - { - /* [90] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[134], - }, - { - /* [91] */ - /* usage */ ParameterUsage::kCoords, + /* [87] */ + /* usage */ ParameterUsage::kOffset, /* matcher indices */ &kMatcherIndices[89], }, { - /* [92] */ + /* [88] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[129], + }, + { + /* [89] */ + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[135], + }, + { + /* [90] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[87], + }, + { + /* [91] */ /* usage */ ParameterUsage::kArrayIndex, /* matcher indices */ &kMatcherIndices[55], }, + { + /* [92] */ + /* usage */ ParameterUsage::kDepthRef, + /* matcher indices */ &kMatcherIndices[12], + }, { /* [93] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [94] */ @@ -2275,22 +2275,22 @@ constexpr ParameterInfo kParameters[] = { { /* [97] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [98] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], + /* matcher indices */ &kMatcherIndices[93], }, { /* [99] */ /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[135], + /* matcher indices */ &kMatcherIndices[134], }, { /* [100] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[91], }, { /* [101] */ @@ -2299,18 +2299,18 @@ constexpr ParameterInfo kParameters[] = { }, { /* [102] */ - /* usage */ ParameterUsage::kDepthRef, - /* matcher indices */ &kMatcherIndices[12], + /* usage */ ParameterUsage::kOffset, + /* matcher indices */ &kMatcherIndices[89], }, { /* [103] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[93], + /* matcher indices */ &kMatcherIndices[130], }, { /* [104] */ /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[134], + /* matcher indices */ &kMatcherIndices[135], }, { /* [105] */ @@ -2324,13 +2324,13 @@ constexpr ParameterInfo kParameters[] = { }, { /* [107] */ - /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* usage */ ParameterUsage::kDepthRef, + /* matcher indices */ &kMatcherIndices[12], }, { /* [108] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [109] */ @@ -2350,7 +2350,7 @@ constexpr ParameterInfo kParameters[] = { { /* [112] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [113] */ @@ -2365,7 +2365,7 @@ constexpr ParameterInfo kParameters[] = { { /* [115] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [116] */ @@ -2380,7 +2380,7 @@ constexpr ParameterInfo kParameters[] = { { /* [118] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [119] */ @@ -2404,58 +2404,58 @@ constexpr ParameterInfo kParameters[] = { }, { /* [123] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], - }, - { - /* [124] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[134], - }, - { - /* [125] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[91], - }, - { - /* [126] */ - /* usage */ ParameterUsage::kArrayIndex, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [127] */ - /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], - }, - { - /* [128] */ /* usage */ ParameterUsage::kComponent, /* matcher indices */ &kMatcherIndices[55], }, { - /* [129] */ + /* [124] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[117], }, { - /* [130] */ + /* [125] */ /* usage */ ParameterUsage::kSampler, /* matcher indices */ &kMatcherIndices[134], }, { - /* [131] */ + /* [126] */ /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[91], }, { - /* [132] */ + /* [127] */ /* usage */ ParameterUsage::kArrayIndex, /* matcher indices */ &kMatcherIndices[55], }, + { + /* [128] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[129], + }, + { + /* [129] */ + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[135], + }, + { + /* [130] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[87], + }, + { + /* [131] */ + /* usage */ ParameterUsage::kArrayIndex, + /* matcher indices */ &kMatcherIndices[55], + }, + { + /* [132] */ + /* usage */ ParameterUsage::kDepthRef, + /* matcher indices */ &kMatcherIndices[12], + }, { /* [133] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], + /* matcher indices */ &kMatcherIndices[129], }, { /* [134] */ @@ -2465,7 +2465,7 @@ constexpr ParameterInfo kParameters[] = { { /* [135] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [136] */ @@ -2480,7 +2480,7 @@ constexpr ParameterInfo kParameters[] = { { /* [138] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], + /* matcher indices */ &kMatcherIndices[129], }, { /* [139] */ @@ -2490,7 +2490,7 @@ constexpr ParameterInfo kParameters[] = { { /* [140] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [141] */ @@ -2530,7 +2530,7 @@ constexpr ParameterInfo kParameters[] = { { /* [148] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [149] */ @@ -2555,7 +2555,7 @@ constexpr ParameterInfo kParameters[] = { { /* [153] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [154] */ @@ -2575,12 +2575,12 @@ constexpr ParameterInfo kParameters[] = { { /* [157] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [158] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[83], + /* matcher indices */ &kMatcherIndices[130], }, { /* [159] */ @@ -2590,17 +2590,17 @@ constexpr ParameterInfo kParameters[] = { { /* [160] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[91], }, { /* [161] */ - /* usage */ ParameterUsage::kBias, - /* matcher indices */ &kMatcherIndices[12], + /* usage */ ParameterUsage::kArrayIndex, + /* matcher indices */ &kMatcherIndices[55], }, { /* [162] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[95], + /* matcher indices */ &kMatcherIndices[89], }, { /* [163] */ @@ -2615,7 +2615,7 @@ constexpr ParameterInfo kParameters[] = { { /* [165] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [166] */ @@ -2650,7 +2650,7 @@ constexpr ParameterInfo kParameters[] = { { /* [172] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [173] */ @@ -2665,7 +2665,7 @@ constexpr ParameterInfo kParameters[] = { { /* [175] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [176] */ @@ -2680,7 +2680,7 @@ constexpr ParameterInfo kParameters[] = { { /* [178] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[93], + /* matcher indices */ &kMatcherIndices[83], }, { /* [179] */ @@ -2690,22 +2690,22 @@ constexpr ParameterInfo kParameters[] = { { /* [180] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[91], + /* matcher indices */ &kMatcherIndices[87], }, { /* [181] */ - /* usage */ ParameterUsage::kArrayIndex, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [182] */ /* usage */ ParameterUsage::kBias, /* matcher indices */ &kMatcherIndices[12], }, + { + /* [182] */ + /* usage */ ParameterUsage::kOffset, + /* matcher indices */ &kMatcherIndices[95], + }, { /* [183] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[99], + /* matcher indices */ &kMatcherIndices[93], }, { /* [184] */ @@ -2719,13 +2719,13 @@ constexpr ParameterInfo kParameters[] = { }, { /* [186] */ - /* usage */ ParameterUsage::kBias, - /* matcher indices */ &kMatcherIndices[12], + /* usage */ ParameterUsage::kArrayIndex, + /* matcher indices */ &kMatcherIndices[55], }, { /* [187] */ - /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* usage */ ParameterUsage::kBias, + /* matcher indices */ &kMatcherIndices[12], }, { /* [188] */ @@ -2775,7 +2775,7 @@ constexpr ParameterInfo kParameters[] = { { /* [197] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [198] */ @@ -2790,42 +2790,42 @@ constexpr ParameterInfo kParameters[] = { { /* [200] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [201] */ /* usage */ ParameterUsage::kDdx, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [202] */ /* usage */ ParameterUsage::kDdy, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [203] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], + /* matcher indices */ &kMatcherIndices[99], }, { /* [204] */ /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[135], + /* matcher indices */ &kMatcherIndices[134], }, { /* [205] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[91], }, { /* [206] */ - /* usage */ ParameterUsage::kArrayIndex, - /* matcher indices */ &kMatcherIndices[55], + /* usage */ ParameterUsage::kBias, + /* matcher indices */ &kMatcherIndices[12], }, { /* [207] */ - /* usage */ ParameterUsage::kDepthRef, - /* matcher indices */ &kMatcherIndices[12], + /* usage */ ParameterUsage::kOffset, + /* matcher indices */ &kMatcherIndices[89], }, { /* [208] */ @@ -2840,22 +2840,22 @@ constexpr ParameterInfo kParameters[] = { { /* [210] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [211] */ /* usage */ ParameterUsage::kDdx, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [212] */ /* usage */ ParameterUsage::kDdy, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [213] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [214] */ @@ -2875,7 +2875,7 @@ constexpr ParameterInfo kParameters[] = { { /* [217] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [218] */ @@ -2910,7 +2910,7 @@ constexpr ParameterInfo kParameters[] = { { /* [224] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [225] */ @@ -2930,7 +2930,7 @@ constexpr ParameterInfo kParameters[] = { { /* [228] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [229] */ @@ -2940,7 +2940,7 @@ constexpr ParameterInfo kParameters[] = { { /* [230] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [231] */ @@ -2975,12 +2975,12 @@ constexpr ParameterInfo kParameters[] = { { /* [237] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [238] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[132], }, { /* [239] */ @@ -2990,7 +2990,7 @@ constexpr ParameterInfo kParameters[] = { { /* [240] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [241] */ @@ -3000,7 +3000,7 @@ constexpr ParameterInfo kParameters[] = { { /* [242] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[132], }, { /* [243] */ @@ -3010,7 +3010,7 @@ constexpr ParameterInfo kParameters[] = { { /* [244] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [245] */ @@ -3040,63 +3040,63 @@ constexpr ParameterInfo kParameters[] = { { /* [250] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[69], }, { /* [251] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[135], - }, - { - /* [252] */ /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[89], }, { - /* [253] */ - /* usage */ ParameterUsage::kDepthRef, - /* matcher indices */ &kMatcherIndices[12], - }, - { - /* [254] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[69], - }, - { - /* [255] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], - }, - { - /* [256] */ + /* [252] */ /* usage */ ParameterUsage::kArrayIndex, /* matcher indices */ &kMatcherIndices[55], }, { - /* [257] */ + /* [253] */ /* usage */ ParameterUsage::kValue, /* matcher indices */ &kMatcherIndices[85], }, { - /* [258] */ + /* [254] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { - /* [259] */ + /* [255] */ /* usage */ ParameterUsage::kSampler, /* matcher indices */ &kMatcherIndices[135], }, { - /* [260] */ + /* [256] */ /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[91], }, { - /* [261] */ + /* [257] */ /* usage */ ParameterUsage::kDepthRef, /* matcher indices */ &kMatcherIndices[12], }, + { + /* [258] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[129], + }, + { + /* [259] */ + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[134], + }, + { + /* [260] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[87], + }, + { + /* [261] */ + /* usage */ ParameterUsage::kArrayIndex, + /* matcher indices */ &kMatcherIndices[55], + }, { /* [262] */ /* usage */ ParameterUsage::kTexture, @@ -3110,7 +3110,7 @@ constexpr ParameterInfo kParameters[] = { { /* [264] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [265] */ @@ -3130,7 +3130,7 @@ constexpr ParameterInfo kParameters[] = { { /* [268] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [269] */ @@ -3140,7 +3140,7 @@ constexpr ParameterInfo kParameters[] = { { /* [270] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [271] */ @@ -3170,7 +3170,7 @@ constexpr ParameterInfo kParameters[] = { { /* [276] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[91], }, { /* [277] */ @@ -3180,7 +3180,7 @@ constexpr ParameterInfo kParameters[] = { { /* [278] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[132], }, { /* [279] */ @@ -3190,7 +3190,7 @@ constexpr ParameterInfo kParameters[] = { { /* [280] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [281] */ @@ -3200,67 +3200,67 @@ constexpr ParameterInfo kParameters[] = { { /* [282] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], - }, - { - /* [283] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[134], - }, - { - /* [284] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[91], - }, - { - /* [285] */ - /* usage */ ParameterUsage::kArrayIndex, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [286] */ - /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[57], }, { - /* [287] */ + /* [283] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { - /* [288] */ + /* [284] */ /* usage */ ParameterUsage::kArrayIndex, /* matcher indices */ &kMatcherIndices[55], }, { - /* [289] */ + /* [285] */ /* usage */ ParameterUsage::kValue, /* matcher indices */ &kMatcherIndices[111], }, { - /* [290] */ + /* [286] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { - /* [291] */ + /* [287] */ /* usage */ ParameterUsage::kSampler, /* matcher indices */ &kMatcherIndices[134], }, { - /* [292] */ + /* [288] */ /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[91], }, { - /* [293] */ + /* [289] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], + }, + { + /* [290] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[45], + }, + { + /* [291] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[89], + }, + { + /* [292] */ + /* usage */ ParameterUsage::kArrayIndex, + /* matcher indices */ &kMatcherIndices[55], + }, + { + /* [293] */ + /* usage */ ParameterUsage::kValue, + /* matcher indices */ &kMatcherIndices[81], }, { /* [294] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [295] */ @@ -3279,68 +3279,68 @@ constexpr ParameterInfo kParameters[] = { }, { /* [298] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[45], - }, - { - /* [299] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], - }, - { - /* [300] */ - /* usage */ ParameterUsage::kArrayIndex, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [301] */ - /* usage */ ParameterUsage::kValue, - /* matcher indices */ &kMatcherIndices[81], - }, - { - /* [302] */ /* usage */ ParameterUsage::kComponent, /* matcher indices */ &kMatcherIndices[55], }, { - /* [303] */ + /* [299] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[123], }, { - /* [304] */ + /* [300] */ /* usage */ ParameterUsage::kSampler, /* matcher indices */ &kMatcherIndices[134], }, { - /* [305] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], - }, - { - /* [306] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[117], - }, - { - /* [307] */ + /* [301] */ /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[87], }, { - /* [308] */ + /* [302] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[117], + }, + { + /* [303] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[89], + }, + { + /* [304] */ /* usage */ ParameterUsage::kArrayIndex, /* matcher indices */ &kMatcherIndices[55], }, { - /* [309] */ + /* [305] */ /* usage */ ParameterUsage::kLevel, /* matcher indices */ &kMatcherIndices[55], }, + { + /* [306] */ + /* usage */ ParameterUsage::kComponent, + /* matcher indices */ &kMatcherIndices[55], + }, + { + /* [307] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[115], + }, + { + /* [308] */ + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[134], + }, + { + /* [309] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[91], + }, { /* [310] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[83], + /* matcher indices */ &kMatcherIndices[101], }, { /* [311] */ @@ -3350,72 +3350,72 @@ constexpr ParameterInfo kParameters[] = { { /* [312] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [313] */ + /* usage */ ParameterUsage::kArrayIndex, + /* matcher indices */ &kMatcherIndices[55], + }, + { + /* [314] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[83], + }, + { + /* [315] */ + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[134], + }, + { + /* [316] */ + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[87], + }, + { + /* [317] */ /* usage */ ParameterUsage::kBias, /* matcher indices */ &kMatcherIndices[12], }, - { - /* [314] */ - /* usage */ ParameterUsage::kComponent, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [315] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[115], - }, - { - /* [316] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[134], - }, - { - /* [317] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[91], - }, { /* [318] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[101], + /* matcher indices */ &kMatcherIndices[130], }, { /* [319] */ - /* usage */ ParameterUsage::kSampler, - /* matcher indices */ &kMatcherIndices[134], - }, - { - /* [320] */ /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[89], }, { - /* [321] */ + /* [320] */ /* usage */ ParameterUsage::kArrayIndex, /* matcher indices */ &kMatcherIndices[55], }, + { + /* [321] */ + /* usage */ ParameterUsage::kLevel, + /* matcher indices */ &kMatcherIndices[55], + }, { /* [322] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[132], }, { /* [323] */ + /* usage */ ParameterUsage::kSampler, + /* matcher indices */ &kMatcherIndices[135], + }, + { + /* [324] */ /* usage */ ParameterUsage::kCoords, /* matcher indices */ &kMatcherIndices[87], }, - { - /* [324] */ - /* usage */ ParameterUsage::kArrayIndex, - /* matcher indices */ &kMatcherIndices[55], - }, { /* [325] */ - /* usage */ ParameterUsage::kLevel, - /* matcher indices */ &kMatcherIndices[55], + /* usage */ ParameterUsage::kDepthRef, + /* matcher indices */ &kMatcherIndices[12], }, { /* [326] */ @@ -3440,7 +3440,7 @@ constexpr ParameterInfo kParameters[] = { { /* [330] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], + /* matcher indices */ &kMatcherIndices[129], }, { /* [331] */ @@ -3450,7 +3450,7 @@ constexpr ParameterInfo kParameters[] = { { /* [332] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [333] */ @@ -3460,7 +3460,7 @@ constexpr ParameterInfo kParameters[] = { { /* [334] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [335] */ @@ -3475,12 +3475,12 @@ constexpr ParameterInfo kParameters[] = { { /* [337] */ /* usage */ ParameterUsage::kOffset, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [338] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[130], }, { /* [339] */ @@ -3515,7 +3515,7 @@ constexpr ParameterInfo kParameters[] = { { /* [345] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[132], }, { /* [346] */ @@ -3525,12 +3525,12 @@ constexpr ParameterInfo kParameters[] = { { /* [347] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [348] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [349] */ @@ -3570,7 +3570,7 @@ constexpr ParameterInfo kParameters[] = { { /* [356] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [357] */ @@ -3600,7 +3600,7 @@ constexpr ParameterInfo kParameters[] = { { /* [362] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [363] */ @@ -3694,33 +3694,33 @@ constexpr ParameterInfo kParameters[] = { }, { /* [381] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[75], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], }, { /* [382] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[55], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], }, { /* [383] */ - /* usage */ ParameterUsage::kValue, - /* matcher indices */ &kMatcherIndices[85], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], }, { /* [384] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [385] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [386] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [387] */ @@ -3735,22 +3735,22 @@ constexpr ParameterInfo kParameters[] = { { /* [389] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [390] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[75], }, { /* [391] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[55], }, { /* [392] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* usage */ ParameterUsage::kValue, + /* matcher indices */ &kMatcherIndices[85], }, { /* [393] */ @@ -3760,7 +3760,7 @@ constexpr ParameterInfo kParameters[] = { { /* [394] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [395] */ @@ -3815,7 +3815,7 @@ constexpr ParameterInfo kParameters[] = { { /* [405] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[132], }, { /* [406] */ @@ -3825,7 +3825,7 @@ constexpr ParameterInfo kParameters[] = { { /* [407] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [408] */ @@ -3850,7 +3850,7 @@ constexpr ParameterInfo kParameters[] = { { /* [412] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [413] */ @@ -3875,7 +3875,7 @@ constexpr ParameterInfo kParameters[] = { { /* [417] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [418] */ @@ -3895,7 +3895,7 @@ constexpr ParameterInfo kParameters[] = { { /* [421] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [422] */ @@ -3934,33 +3934,33 @@ constexpr ParameterInfo kParameters[] = { }, { /* [429] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[21], + }, + { + /* [430] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[21], + }, + { + /* [431] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], + }, + { + /* [432] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[115], }, - { - /* [430] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], - }, - { - /* [431] */ - /* usage */ ParameterUsage::kLevel, - /* matcher indices */ &kMatcherIndices[55], - }, - { - /* [432] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], - }, { /* [433] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[89], }, { /* [434] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* usage */ ParameterUsage::kLevel, + /* matcher indices */ &kMatcherIndices[55], }, { /* [435] */ @@ -3985,7 +3985,7 @@ constexpr ParameterInfo kParameters[] = { { /* [439] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [440] */ @@ -3995,12 +3995,12 @@ constexpr ParameterInfo kParameters[] = { { /* [441] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [442] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [443] */ @@ -4010,27 +4010,27 @@ constexpr ParameterInfo kParameters[] = { { /* [444] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[1], }, { /* [445] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[1], }, { /* [446] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[10], }, { /* [447] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[1], + /* matcher indices */ &kMatcherIndices[39], }, { /* [448] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[1], + /* matcher indices */ &kMatcherIndices[39], }, { /* [449] */ @@ -4045,7 +4045,7 @@ constexpr ParameterInfo kParameters[] = { { /* [451] */ /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* matcher indices */ &kMatcherIndices[89], }, { /* [452] */ @@ -4055,17 +4055,17 @@ constexpr ParameterInfo kParameters[] = { { /* [453] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[39], + /* matcher indices */ &kMatcherIndices[21], }, { /* [454] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[39], + /* matcher indices */ &kMatcherIndices[21], }, { /* [455] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[24], + /* matcher indices */ &kMatcherIndices[21], }, { /* [456] */ @@ -4080,12 +4080,12 @@ constexpr ParameterInfo kParameters[] = { { /* [458] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[10], + /* matcher indices */ &kMatcherIndices[24], }, { /* [459] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [460] */ @@ -4164,43 +4164,43 @@ constexpr ParameterInfo kParameters[] = { }, { /* [475] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[136], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], }, { /* [476] */ - /* usage */ ParameterUsage::kCoords, - /* matcher indices */ &kMatcherIndices[87], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], }, { /* [477] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [478] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [479] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[0], }, { /* [480] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[1], }, { /* [481] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[0], + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[136], }, { /* [482] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[1], + /* usage */ ParameterUsage::kCoords, + /* matcher indices */ &kMatcherIndices[89], }, { /* [483] */ @@ -4225,12 +4225,12 @@ constexpr ParameterInfo kParameters[] = { { /* [487] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [488] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[89], + /* matcher indices */ &kMatcherIndices[87], }, { /* [489] */ @@ -4304,18 +4304,18 @@ constexpr ParameterInfo kParameters[] = { }, { /* [503] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[39], + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[129], }, { /* [504] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[39], + /* usage */ ParameterUsage::kLevel, + /* matcher indices */ &kMatcherIndices[55], }, { /* [505] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[1], + /* matcher indices */ &kMatcherIndices[0], }, { /* [506] */ @@ -4325,77 +4325,77 @@ constexpr ParameterInfo kParameters[] = { { /* [507] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[0], + /* matcher indices */ &kMatcherIndices[39], }, { /* [508] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[1], + /* matcher indices */ &kMatcherIndices[39], }, { /* [509] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], - }, - { - /* [510] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], - }, - { - /* [511] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[109], }, { - /* [512] */ + /* [510] */ /* usage */ ParameterUsage::kLevel, /* matcher indices */ &kMatcherIndices[55], }, + { + /* [511] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[1], + }, + { + /* [512] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[1], + }, { /* [513] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], - }, - { - /* [514] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], - }, - { - /* [515] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[115], }, { - /* [516] */ + /* [514] */ /* usage */ ParameterUsage::kLevel, /* matcher indices */ &kMatcherIndices[55], }, + { + /* [515] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], + }, + { + /* [516] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], + }, { /* [517] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], - }, - { - /* [518] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], - }, - { - /* [519] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[117], }, { - /* [520] */ + /* [518] */ /* usage */ ParameterUsage::kLevel, /* matcher indices */ &kMatcherIndices[55], }, + { + /* [519] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[21], + }, + { + /* [520] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[21], + }, { /* [521] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], + /* matcher indices */ &kMatcherIndices[119], }, { /* [522] */ @@ -4404,18 +4404,18 @@ constexpr ParameterInfo kParameters[] = { }, { /* [523] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[119], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[21], }, { /* [524] */ - /* usage */ ParameterUsage::kLevel, - /* matcher indices */ &kMatcherIndices[55], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[21], }, { /* [525] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[123], }, { /* [526] */ @@ -4425,7 +4425,7 @@ constexpr ParameterInfo kParameters[] = { { /* [527] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[123], + /* matcher indices */ &kMatcherIndices[132], }, { /* [528] */ @@ -4435,7 +4435,7 @@ constexpr ParameterInfo kParameters[] = { { /* [529] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[125], }, { /* [530] */ @@ -4445,7 +4445,7 @@ constexpr ParameterInfo kParameters[] = { { /* [531] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[125], + /* matcher indices */ &kMatcherIndices[130], }, { /* [532] */ @@ -4455,78 +4455,78 @@ constexpr ParameterInfo kParameters[] = { { /* [533] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[43], }, { /* [534] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[131], }, { /* [535] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[121], + /* matcher indices */ &kMatcherIndices[130], }, { /* [536] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[121], }, { /* [537] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[125], + /* matcher indices */ &kMatcherIndices[132], }, { /* [538] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[129], + /* matcher indices */ &kMatcherIndices[125], }, { /* [539] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[129], + }, + { + /* [540] */ /* usage */ ParameterUsage::kNone, /* matcher indices */ &kMatcherIndices[12], }, - { - /* [540] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], - }, { /* [541] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[119], - }, - { - /* [542] */ - /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[133], }, { - /* [543] */ + /* [542] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[36], }, { - /* [544] */ + /* [543] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[33], }, { - /* [545] */ + /* [544] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[27], }, { - /* [546] */ + /* [545] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[30], }, { - /* [547] */ + /* [546] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[136], }, + { + /* [547] */ + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[12], + }, { /* [548] */ /* usage */ ParameterUsage::kNone, @@ -4539,8 +4539,8 @@ constexpr ParameterInfo kParameters[] = { }, { /* [550] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[117], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[21], }, { /* [551] */ @@ -4555,12 +4555,12 @@ constexpr ParameterInfo kParameters[] = { { /* [553] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[115], + /* matcher indices */ &kMatcherIndices[119], }, { /* [554] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[109], + /* matcher indices */ &kMatcherIndices[117], }, { /* [555] */ @@ -4599,88 +4599,88 @@ constexpr ParameterInfo kParameters[] = { }, { /* [562] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[43], - }, - { - /* [563] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[43], - }, - { - /* [564] */ - /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[43], - }, - { - /* [565] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[123], - }, - { - /* [566] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[117], - }, - { - /* [567] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[125], - }, - { - /* [568] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], - }, - { - /* [569] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], - }, - { - /* [570] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[27], - }, - { - /* [571] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[109], - }, - { - /* [572] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[115], }, { - /* [573] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[117], - }, - { - /* [574] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[119], - }, - { - /* [575] */ + /* [563] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[123], }, { - /* [576] */ + /* [564] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[109], + }, + { + /* [565] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[117], + }, + { + /* [566] */ /* usage */ ParameterUsage::kTexture, /* matcher indices */ &kMatcherIndices[125], }, + { + /* [567] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[130], + }, + { + /* [568] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[129], + }, + { + /* [569] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[27], + }, + { + /* [570] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[109], + }, + { + /* [571] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[115], + }, + { + /* [572] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[117], + }, + { + /* [573] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[119], + }, + { + /* [574] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[123], + }, + { + /* [575] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[125], + }, + { + /* [576] */ + /* usage */ ParameterUsage::kTexture, + /* matcher indices */ &kMatcherIndices[131], + }, { /* [577] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[132], + /* matcher indices */ &kMatcherIndices[130], }, { /* [578] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[131], + /* matcher indices */ &kMatcherIndices[132], }, { /* [579] */ @@ -4690,17 +4690,17 @@ constexpr ParameterInfo kParameters[] = { { /* [580] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[130], + /* matcher indices */ &kMatcherIndices[121], }, { /* [581] */ /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[121], + /* matcher indices */ &kMatcherIndices[133], }, { /* [582] */ - /* usage */ ParameterUsage::kTexture, - /* matcher indices */ &kMatcherIndices[133], + /* usage */ ParameterUsage::kNone, + /* matcher indices */ &kMatcherIndices[43], }, { /* [583] */ @@ -4750,7 +4750,7 @@ constexpr ParameterInfo kParameters[] = { { /* [592] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[43], }, { /* [593] */ @@ -4805,147 +4805,147 @@ constexpr ParameterInfo kParameters[] = { { /* [603] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[1], + /* matcher indices */ &kMatcherIndices[21], }, { /* [604] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [605] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [606] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [607] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [608] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [609] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [610] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [611] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [612] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [613] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [614] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [615] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [616] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [617] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [618] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [619] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [620] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [621] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [622] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [623] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [624] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [625] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [626] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [627] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [628] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [629] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [630] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [631] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [632] */ @@ -4960,62 +4960,62 @@ constexpr ParameterInfo kParameters[] = { { /* [634] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[17], }, { /* [635] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[17], + /* matcher indices */ &kMatcherIndices[21], }, { /* [636] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [637] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [638] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[39], }, { /* [639] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[39], + /* matcher indices */ &kMatcherIndices[1], }, { /* [640] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[1], + /* matcher indices */ &kMatcherIndices[21], }, { /* [641] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [642] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [643] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [644] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [645] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [646] */ @@ -5030,77 +5030,77 @@ constexpr ParameterInfo kParameters[] = { { /* [648] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [649] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [650] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [651] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [652] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[4], }, { /* [653] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[4], + /* matcher indices */ &kMatcherIndices[24], }, { /* [654] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[24], + /* matcher indices */ &kMatcherIndices[10], }, { /* [655] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[10], + /* matcher indices */ &kMatcherIndices[24], }, { /* [656] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[24], + /* matcher indices */ &kMatcherIndices[10], }, { /* [657] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[10], + /* matcher indices */ &kMatcherIndices[21], }, { /* [658] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [659] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[39], }, { /* [660] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[39], + /* matcher indices */ &kMatcherIndices[12], }, { /* [661] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[0], }, { /* [662] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[0], + /* matcher indices */ &kMatcherIndices[21], }, { /* [663] */ @@ -5110,12 +5110,12 @@ constexpr ParameterInfo kParameters[] = { { /* [664] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[21], + /* matcher indices */ &kMatcherIndices[12], }, { /* [665] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], + /* matcher indices */ &kMatcherIndices[21], }, { /* [666] */ @@ -5135,11 +5135,6 @@ constexpr ParameterInfo kParameters[] = { { /* [669] */ /* usage */ ParameterUsage::kNone, - /* matcher indices */ &kMatcherIndices[12], - }, - { - /* [670] */ - /* usage */ ParameterUsage::kNone, /* matcher indices */ &kMatcherIndices[1], }, }; @@ -5148,17 +5143,17 @@ constexpr OpenTypeInfo kOpenTypes[] = { { /* [0] */ /* name */ "T", - /* matcher index */ kNoMatcher, + /* matcher index */ 36, }, { /* [1] */ /* name */ "T", - /* matcher index */ 36, + /* matcher index */ 37, }, { /* [2] */ /* name */ "T", - /* matcher index */ 37, + /* matcher index */ kNoMatcher, }, { /* [3] */ @@ -5206,9 +5201,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[554], + /* parameters */ &kParameters[564], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5218,9 +5213,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[511], + /* parameters */ &kParameters[509], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5230,10 +5225,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[553], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[562], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5242,10 +5237,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[515], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[513], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5254,10 +5249,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[550], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[554], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5266,10 +5261,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[519], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[517], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5278,9 +5273,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[541], + /* parameters */ &kParameters[553], /* return matcher indices */ &kMatcherIndices[95], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5290,9 +5285,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[523], + /* parameters */ &kParameters[521], /* return matcher indices */ &kMatcherIndices[95], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5302,10 +5297,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[565], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[563], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5314,10 +5309,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[527], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[525], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5326,10 +5321,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[537], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[538], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5338,10 +5333,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[531], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[529], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5350,10 +5345,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[535], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[536], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5365,7 +5360,7 @@ constexpr OverloadInfo kOverloads[] = { /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[534], - /* return matcher indices */ &kMatcherIndices[87], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5377,7 +5372,7 @@ constexpr OverloadInfo kOverloads[] = { /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[459], - /* return matcher indices */ &kMatcherIndices[87], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5388,8 +5383,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[536], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[535], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5400,8 +5395,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[529], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[531], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5412,8 +5407,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[538], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[537], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5424,8 +5419,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[525], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[527], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5436,8 +5431,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[540], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[539], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5448,8 +5443,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[521], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[503], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5460,8 +5455,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[542], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[541], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5472,7 +5467,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 2, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[0], - /* parameters */ &kParameters[543], + /* parameters */ &kParameters[542], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5484,8 +5479,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 2, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[0], - /* parameters */ &kParameters[544], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[543], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5496,8 +5491,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 2, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[0], - /* parameters */ &kParameters[545], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[544], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -5508,7 +5503,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 2, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[0], - /* parameters */ &kParameters[546], + /* parameters */ &kParameters[545], /* return matcher indices */ &kMatcherIndices[95], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5520,193 +5515,13 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[547], - /* return matcher indices */ &kMatcherIndices[87], + /* parameters */ &kParameters[546], + /* return matcher indices */ &kMatcherIndices[89], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [27] */ - /* num parameters */ 4, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[218], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [28] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[193], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [29] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[188], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [30] */ - /* num parameters */ 6, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[19], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [31] */ - /* num parameters */ 4, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[222], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [32] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[173], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [33] */ - /* num parameters */ 4, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[226], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [34] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[163], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [35] */ - /* num parameters */ 4, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[230], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [36] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[153], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [37] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[148], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [38] */ - /* num parameters */ 6, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[7], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [39] */ - /* num parameters */ 4, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[238], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [40] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[133], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [41] */ - /* num parameters */ 3, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[378], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [42] */ /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 0, @@ -5718,7 +5533,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [43] */ + /* [28] */ /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 0, @@ -5730,7 +5545,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [44] */ + /* [29] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -5742,7 +5557,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [45] */ + /* [30] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -5754,19 +5569,19 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [46] */ + /* [31] */ /* num parameters */ 5, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[103], + /* parameters */ &kParameters[98], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, }, { - /* [47] */ + /* [32] */ /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 0, @@ -5778,7 +5593,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [48] */ + /* [33] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -5790,7 +5605,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [49] */ + /* [34] */ /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 0, @@ -5802,19 +5617,19 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [50] */ + /* [35] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[318], + /* parameters */ &kParameters[310], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, }, { - /* [51] */ + /* [36] */ /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 0, @@ -5826,7 +5641,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [52] */ + /* [37] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -5838,7 +5653,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [53] */ + /* [38] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -5850,19 +5665,19 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [54] */ + /* [39] */ /* num parameters */ 5, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[123], + /* parameters */ &kParameters[158], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, }, { - /* [55] */ + /* [40] */ /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 0, @@ -5874,7 +5689,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [56] */ + /* [41] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -5885,6 +5700,186 @@ constexpr OverloadInfo kOverloads[] = { /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, }, + { + /* [42] */ + /* num parameters */ 4, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[218], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [43] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[193], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [44] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[188], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [45] */ + /* num parameters */ 6, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[19], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [46] */ + /* num parameters */ 4, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[222], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [47] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[173], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [48] */ + /* num parameters */ 4, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[226], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [49] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[163], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [50] */ + /* num parameters */ 4, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[230], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [51] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[153], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [52] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[148], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [53] */ + /* num parameters */ 6, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[7], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [54] */ + /* num parameters */ 4, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[238], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [55] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[133], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [56] */ + /* num parameters */ 3, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[378], + /* return matcher indices */ &kMatcherIndices[85], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, { /* [57] */ /* num parameters */ 3, @@ -5892,7 +5887,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[381], + /* parameters */ &kParameters[390], /* return matcher indices */ nullptr, /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5916,7 +5911,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[254], + /* parameters */ &kParameters[250], /* return matcher indices */ nullptr, /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -5964,7 +5959,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[286], + /* parameters */ &kParameters[282], /* return matcher indices */ nullptr, /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6012,7 +6007,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[298], + /* parameters */ &kParameters[290], /* return matcher indices */ nullptr, /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6034,9 +6029,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 4, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[314], + /* parameters */ &kParameters[306], /* return matcher indices */ &kMatcherIndices[113], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6046,7 +6041,7 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 5, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[168], /* return matcher indices */ &kMatcherIndices[113], @@ -6058,9 +6053,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 5, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[128], + /* parameters */ &kParameters[123], /* return matcher indices */ &kMatcherIndices[113], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6070,7 +6065,7 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 6, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[49], /* return matcher indices */ &kMatcherIndices[113], @@ -6082,9 +6077,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 4, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[302], + /* parameters */ &kParameters[298], /* return matcher indices */ &kMatcherIndices[113], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6094,9 +6089,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 5, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[88], + /* parameters */ &kParameters[78], /* return matcher indices */ &kMatcherIndices[113], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6120,7 +6115,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[290], + /* parameters */ &kParameters[286], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6132,7 +6127,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[282], + /* parameters */ &kParameters[274], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6168,7 +6163,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[274], + /* parameters */ &kParameters[258], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6178,9 +6173,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[571], + /* parameters */ &kParameters[570], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6190,9 +6185,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[572], + /* parameters */ &kParameters[571], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6202,9 +6197,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[573], + /* parameters */ &kParameters[572], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6214,9 +6209,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[574], + /* parameters */ &kParameters[573], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6226,9 +6221,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[575], + /* parameters */ &kParameters[574], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6238,9 +6233,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[576], + /* parameters */ &kParameters[575], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6252,7 +6247,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[577], + /* parameters */ &kParameters[576], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6264,7 +6259,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[578], + /* parameters */ &kParameters[577], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6276,7 +6271,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[579], + /* parameters */ &kParameters[578], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6288,7 +6283,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[580], + /* parameters */ &kParameters[579], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6298,7 +6293,7 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 3, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[426], /* return matcher indices */ &kMatcherIndices[113], @@ -6310,9 +6305,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 3, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[429], + /* parameters */ &kParameters[432], /* return matcher indices */ &kMatcherIndices[113], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6322,9 +6317,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 4, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[306], + /* parameters */ &kParameters[302], /* return matcher indices */ &kMatcherIndices[113], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6334,7 +6329,7 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 3, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[435], /* return matcher indices */ &kMatcherIndices[113], @@ -6346,7 +6341,7 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 3, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[438], /* return matcher indices */ &kMatcherIndices[113], @@ -6372,7 +6367,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[322], + /* parameters */ &kParameters[318], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6396,7 +6391,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[475], + /* parameters */ &kParameters[481], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6420,7 +6415,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[183], + /* parameters */ &kParameters[203], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -6432,7 +6427,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[178], + /* parameters */ &kParameters[183], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -6456,7 +6451,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[310], + /* parameters */ &kParameters[314], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -6468,7 +6463,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[158], + /* parameters */ &kParameters[178], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -6564,7 +6559,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[61], + /* parameters */ &kParameters[67], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6600,85 +6595,13 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[270], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [117] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[213], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [118] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[73], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [119] */ - /* num parameters */ 6, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[43], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [120] */ - /* num parameters */ 4, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[242], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [121] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[138], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [122] */ - /* num parameters */ 4, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[258], + /* parameters */ &kParameters[254], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [123] */ + /* [117] */ /* num parameters */ 5, /* num open types */ 0, /* num open numbers */ 0, @@ -6690,7 +6613,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [124] */ + /* [118] */ /* num parameters */ 5, /* num open types */ 0, /* num open numbers */ 0, @@ -6702,43 +6625,43 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [125] */ + /* [119] */ /* num parameters */ 6, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[55], + /* parameters */ &kParameters[43], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [126] */ + /* [120] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[250], + /* parameters */ &kParameters[322], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [127] */ + /* [121] */ /* num parameters */ 5, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[203], + /* parameters */ &kParameters[128], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [128] */ + /* [122] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -6750,19 +6673,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [129] */ - /* num parameters */ 5, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[78], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), - /* is_deprecated */ false, - }, - { - /* [130] */ + /* [123] */ /* num parameters */ 5, /* num open types */ 0, /* num open numbers */ 0, @@ -6774,19 +6685,31 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [131] */ - /* num parameters */ 6, + /* [124] */ + /* num parameters */ 5, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[67], + /* parameters */ &kParameters[73], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, }, { - /* [132] */ + /* [125] */ + /* num parameters */ 6, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[61], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), + /* is_deprecated */ false, + }, + { + /* [126] */ /* num parameters */ 4, /* num open types */ 0, /* num open numbers */ 0, @@ -6797,6 +6720,78 @@ constexpr OverloadInfo kOverloads[] = { /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, }, + { + /* [127] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[88], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), + /* is_deprecated */ false, + }, + { + /* [128] */ + /* num parameters */ 4, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[270], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [129] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[213], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [130] */ + /* num parameters */ 5, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[103], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [131] */ + /* num parameters */ 6, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[55], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [132] */ + /* num parameters */ 4, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[242], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, { /* [133] */ /* num parameters */ 5, @@ -6804,9 +6799,9 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[98], + /* parameters */ &kParameters[138], /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { @@ -6814,9 +6809,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[566], + /* parameters */ &kParameters[565], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6826,9 +6821,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[567], + /* parameters */ &kParameters[566], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6840,7 +6835,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[568], + /* parameters */ &kParameters[567], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6852,7 +6847,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[569], + /* parameters */ &kParameters[568], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6864,7 +6859,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 2, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[0], - /* parameters */ &kParameters[570], + /* parameters */ &kParameters[569], /* return matcher indices */ &kMatcherIndices[55], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6876,7 +6871,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[384], + /* parameters */ &kParameters[381], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6888,7 +6883,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[387], + /* parameters */ &kParameters[384], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6900,7 +6895,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[390], + /* parameters */ &kParameters[387], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6912,7 +6907,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[3], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[447], + /* parameters */ &kParameters[444], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6924,7 +6919,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[3], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[456], + /* parameters */ &kParameters[447], /* return matcher indices */ &kMatcherIndices[39], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6936,7 +6931,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[3], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[453], + /* parameters */ &kParameters[456], /* return matcher indices */ &kMatcherIndices[39], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6948,7 +6943,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[648], + /* parameters */ &kParameters[602], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6960,7 +6955,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[647], + /* parameters */ &kParameters[601], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -6996,7 +6991,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[637], + /* parameters */ &kParameters[636], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7008,7 +7003,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[636], + /* parameters */ &kParameters[635], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7020,7 +7015,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[631], + /* parameters */ &kParameters[630], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7032,7 +7027,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[630], + /* parameters */ &kParameters[629], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7044,7 +7039,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[629], + /* parameters */ &kParameters[628], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7056,7 +7051,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[628], + /* parameters */ &kParameters[627], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7068,7 +7063,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[627], + /* parameters */ &kParameters[626], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7080,7 +7075,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[626], + /* parameters */ &kParameters[625], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7092,7 +7087,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[625], + /* parameters */ &kParameters[624], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7104,7 +7099,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[624], + /* parameters */ &kParameters[623], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7116,7 +7111,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[623], + /* parameters */ &kParameters[622], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7128,7 +7123,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[622], + /* parameters */ &kParameters[621], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7140,7 +7135,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[621], + /* parameters */ &kParameters[620], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7152,7 +7147,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[620], + /* parameters */ &kParameters[619], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7164,7 +7159,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[619], + /* parameters */ &kParameters[618], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7176,7 +7171,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[618], + /* parameters */ &kParameters[617], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7188,7 +7183,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[617], + /* parameters */ &kParameters[616], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7200,7 +7195,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[616], + /* parameters */ &kParameters[615], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7210,9 +7205,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[640], + /* parameters */ &kParameters[639], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7222,9 +7217,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[639], + /* parameters */ &kParameters[638], /* return matcher indices */ &kMatcherIndices[39], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7236,7 +7231,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[615], + /* parameters */ &kParameters[614], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7248,7 +7243,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[614], + /* parameters */ &kParameters[613], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7284,7 +7279,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[613], + /* parameters */ &kParameters[612], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7296,7 +7291,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[612], + /* parameters */ &kParameters[611], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7308,7 +7303,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[611], + /* parameters */ &kParameters[610], /* return matcher indices */ &kMatcherIndices[138], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7320,7 +7315,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[610], + /* parameters */ &kParameters[609], /* return matcher indices */ &kMatcherIndices[107], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7332,7 +7327,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[609], + /* parameters */ &kParameters[608], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7344,7 +7339,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[608], + /* parameters */ &kParameters[607], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7356,7 +7351,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[607], + /* parameters */ &kParameters[606], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7368,7 +7363,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[606], + /* parameters */ &kParameters[605], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7380,7 +7375,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[605], + /* parameters */ &kParameters[604], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7392,7 +7387,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[604], + /* parameters */ &kParameters[603], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment), /* is_deprecated */ false, @@ -7404,7 +7399,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[642], + /* parameters */ &kParameters[641], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7416,7 +7411,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[641], + /* parameters */ &kParameters[640], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7428,37 +7423,13 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[602], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [186] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 1, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[601], - /* return matcher indices */ &kMatcherIndices[21], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [187] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[600], /* return matcher indices */ &kMatcherIndices[10], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ true, }, { - /* [188] */ + /* [186] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7470,7 +7441,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ true, }, { - /* [189] */ + /* [187] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7482,7 +7453,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ true, }, { - /* [190] */ + /* [188] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7494,7 +7465,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ true, }, { - /* [191] */ + /* [189] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7506,7 +7477,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ true, }, { - /* [192] */ + /* [190] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7518,7 +7489,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ true, }, { - /* [193] */ + /* [191] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7530,7 +7501,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ true, }, { - /* [194] */ + /* [192] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7542,7 +7513,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ true, }, { - /* [195] */ + /* [193] */ /* num parameters */ 2, /* num open types */ 0, /* num open numbers */ 0, @@ -7554,7 +7525,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [196] */ + /* [194] */ /* num parameters */ 2, /* num open types */ 0, /* num open numbers */ 1, @@ -7566,7 +7537,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [197] */ + /* [195] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7578,7 +7549,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [198] */ + /* [196] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7590,7 +7561,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [199] */ + /* [197] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7602,7 +7573,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [200] */ + /* [198] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7614,7 +7585,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [201] */ + /* [199] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7626,7 +7597,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [202] */ + /* [200] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7637,14 +7608,38 @@ constexpr OverloadInfo kOverloads[] = { /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, + { + /* [201] */ + /* num parameters */ 2, + /* num open types */ 1, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[0], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[511], + /* return matcher indices */ &kMatcherIndices[1], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [202] */ + /* num parameters */ 2, + /* num open types */ 1, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[0], + /* open numbers */ &kOpenNumbers[3], + /* parameters */ &kParameters[499], + /* return matcher indices */ &kMatcherIndices[39], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, { /* [203] */ /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[505], + /* parameters */ &kParameters[501], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -7654,63 +7649,39 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[499], + /* parameters */ &kParameters[507], /* return matcher indices */ &kMatcherIndices[39], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [205] */ - /* num parameters */ 2, - /* num open types */ 1, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[501], - /* return matcher indices */ &kMatcherIndices[1], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [206] */ - /* num parameters */ 2, - /* num open types */ 1, - /* num open numbers */ 1, - /* open types */ &kOpenTypes[1], - /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[503], - /* return matcher indices */ &kMatcherIndices[39], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [207] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[644], + /* parameters */ &kParameters[643], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [208] */ + /* [206] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[643], + /* parameters */ &kParameters[642], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [209] */ + /* [207] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7722,7 +7693,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [210] */ + /* [208] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7734,11 +7705,11 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [211] */ + /* [209] */ /* num parameters */ 3, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[402], /* return matcher indices */ &kMatcherIndices[1], @@ -7746,11 +7717,11 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [212] */ + /* [210] */ /* num parameters */ 3, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[3], /* parameters */ &kParameters[399], /* return matcher indices */ &kMatcherIndices[39], @@ -7758,79 +7729,31 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [213] */ + /* [211] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[646], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [214] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 1, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[3], /* parameters */ &kParameters[645], - /* return matcher indices */ &kMatcherIndices[21], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [215] */ - /* num parameters */ 1, - /* num open types */ 1, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[581], - /* return matcher indices */ &kMatcherIndices[55], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [216] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[582], - /* return matcher indices */ &kMatcherIndices[55], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [217] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[638], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [218] */ + /* [212] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[634], + /* parameters */ &kParameters[644], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [219] */ + /* [213] */ /* num parameters */ 2, /* num open types */ 0, /* num open numbers */ 0, @@ -7842,7 +7765,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [220] */ + /* [214] */ /* num parameters */ 2, /* num open types */ 0, /* num open numbers */ 1, @@ -7854,55 +7777,103 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [221] */ + /* [215] */ + /* num parameters */ 1, + /* num open types */ 1, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[0], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[580], + /* return matcher indices */ &kMatcherIndices[55], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [216] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[650], + /* parameters */ &kParameters[581], + /* return matcher indices */ &kMatcherIndices[55], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [217] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[660], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [218] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[3], + /* parameters */ &kParameters[647], + /* return matcher indices */ &kMatcherIndices[21], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [219] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[649], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [220] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[3], + /* parameters */ &kParameters[648], + /* return matcher indices */ &kMatcherIndices[21], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [221] */ + /* num parameters */ 2, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[515], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [222] */ - /* num parameters */ 1, + /* num parameters */ 2, /* num open types */ 0, /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[649], + /* parameters */ &kParameters[519], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [223] */ - /* num parameters */ 2, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[509], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [224] */ - /* num parameters */ 2, - /* num open types */ 0, - /* num open numbers */ 1, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[513], - /* return matcher indices */ &kMatcherIndices[21], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [225] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -7914,7 +7885,7 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [226] */ + /* [224] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, @@ -7925,6 +7896,30 @@ constexpr OverloadInfo kOverloads[] = { /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, + { + /* [225] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[651], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [226] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[3], + /* parameters */ &kParameters[650], + /* return matcher indices */ &kMatcherIndices[21], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, { /* [227] */ /* num parameters */ 1, @@ -7932,8 +7927,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[652], - /* return matcher indices */ &kMatcherIndices[12], + /* parameters */ &kParameters[654], + /* return matcher indices */ &kMatcherIndices[10], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -7944,41 +7939,17 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[651], - /* return matcher indices */ &kMatcherIndices[21], + /* parameters */ &kParameters[653], + /* return matcher indices */ &kMatcherIndices[10], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [229] */ /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[655], - /* return matcher indices */ &kMatcherIndices[10], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [230] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 1, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[654], - /* return matcher indices */ &kMatcherIndices[10], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [231] */ - /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[549], /* return matcher indices */ &kMatcherIndices[1], @@ -7986,17 +7957,41 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [232] */ + /* [230] */ /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[3], /* parameters */ &kParameters[548], /* return matcher indices */ &kMatcherIndices[39], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, + { + /* [231] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[547], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [232] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[3], + /* parameters */ &kParameters[550], + /* return matcher indices */ &kMatcherIndices[21], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, { /* [233] */ /* num parameters */ 1, @@ -8004,7 +7999,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[657], + /* parameters */ &kParameters[656], /* return matcher indices */ &kMatcherIndices[10], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8016,7 +8011,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[656], + /* parameters */ &kParameters[655], /* return matcher indices */ &kMatcherIndices[10], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8028,7 +8023,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[659], + /* parameters */ &kParameters[664], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8040,7 +8035,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[658], + /* parameters */ &kParameters[665], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8052,7 +8047,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[665], + /* parameters */ &kParameters[540], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8064,7 +8059,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[533], + /* parameters */ &kParameters[668], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8076,7 +8071,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[669], + /* parameters */ &kParameters[667], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8088,7 +8083,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[668], + /* parameters */ &kParameters[666], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8100,7 +8095,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[632], + /* parameters */ &kParameters[658], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8112,37 +8107,13 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[592], + /* parameters */ &kParameters[657], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [243] */ - /* num parameters */ 3, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[369], - /* return matcher indices */ &kMatcherIndices[12], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [244] */ - /* num parameters */ 3, - /* num open types */ 0, - /* num open numbers */ 1, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[444], - /* return matcher indices */ &kMatcherIndices[21], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [245] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, @@ -8154,37 +8125,61 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [246] */ + /* [244] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[661], + /* parameters */ &kParameters[662], + /* return matcher indices */ &kMatcherIndices[21], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [245] */ + /* num parameters */ 2, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[475], + /* return matcher indices */ &kMatcherIndices[12], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [246] */ + /* num parameters */ 2, + /* num open types */ 0, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[3], + /* parameters */ &kParameters[477], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [247] */ - /* num parameters */ 2, + /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[477], + /* parameters */ &kParameters[632], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [248] */ - /* num parameters */ 2, + /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[479], + /* parameters */ &kParameters[631], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8196,7 +8191,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[539], + /* parameters */ &kParameters[646], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8208,31 +8203,31 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[664], + /* parameters */ &kParameters[637], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [251] */ - /* num parameters */ 1, + /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[667], + /* parameters */ &kParameters[369], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [252] */ - /* num parameters */ 1, + /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[666], + /* parameters */ &kParameters[453], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8242,9 +8237,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 0, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[670], + /* parameters */ &kParameters[669], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8254,9 +8249,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[660], + /* parameters */ &kParameters[659], /* return matcher indices */ &kMatcherIndices[39], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8264,14 +8259,14 @@ constexpr OverloadInfo kOverloads[] = { { /* [255] */ /* num parameters */ 1, - /* num open types */ 1, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[0], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[603], - /* return matcher indices */ nullptr, + /* num open types */ 0, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[3], + /* parameters */ &kParameters[560], + /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ true, + /* is_deprecated */ false, }, { /* [256] */ @@ -8280,8 +8275,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[557], - /* return matcher indices */ &kMatcherIndices[43], + /* parameters */ &kParameters[592], + /* return matcher indices */ &kMatcherIndices[91], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -8316,8 +8311,8 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[564], - /* return matcher indices */ &kMatcherIndices[91], + /* parameters */ &kParameters[582], + /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -8328,47 +8323,47 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[563], + /* parameters */ &kParameters[533], /* return matcher indices */ &kMatcherIndices[85], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [261] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 0, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[562], - /* return matcher indices */ &kMatcherIndices[85], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [262] */ /* num parameters */ 0, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[671], + /* parameters */ &kParameters[670], /* return matcher indices */ nullptr, /* supported_stages */ PipelineStageSet(PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [263] */ + /* [262] */ /* num parameters */ 3, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], /* parameters */ &kParameters[351], /* return matcher indices */ &kMatcherIndices[105], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, + { + /* [263] */ + /* num parameters */ 1, + /* num open types */ 0, + /* num open numbers */ 0, + /* open types */ &kOpenTypes[4], + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[556], + /* return matcher indices */ &kMatcherIndices[43], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, { /* [264] */ /* num parameters */ 3, @@ -8376,7 +8371,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[432], + /* parameters */ &kParameters[429], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8388,7 +8383,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[517], + /* parameters */ &kParameters[523], /* return matcher indices */ &kMatcherIndices[21], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8412,7 +8407,7 @@ constexpr OverloadInfo kOverloads[] = { /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[556], + /* parameters */ &kParameters[557], /* return matcher indices */ &kMatcherIndices[43], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8443,30 +8438,18 @@ constexpr OverloadInfo kOverloads[] = { }, { /* [270] */ - /* num parameters */ 1, + /* num parameters */ 0, /* num open types */ 0, - /* num open numbers */ 1, + /* num open numbers */ 0, /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[560], - /* return matcher indices */ &kMatcherIndices[21], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* open numbers */ &kOpenNumbers[6], + /* parameters */ &kParameters[670], + /* return matcher indices */ nullptr, + /* supported_stages */ PipelineStageSet(PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [271] */ - /* num parameters */ 1, - /* num open types */ 0, - /* num open numbers */ 2, - /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[2], - /* parameters */ &kParameters[633], - /* return matcher indices */ &kMatcherIndices[9], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [272] */ /* num parameters */ 3, /* num open types */ 0, /* num open numbers */ 1, @@ -8478,11 +8461,11 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [273] */ + /* [272] */ /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[1], + /* open types */ &kOpenTypes[0], /* open numbers */ &kOpenNumbers[3], /* parameters */ &kParameters[493], /* return matcher indices */ &kMatcherIndices[1], @@ -8490,26 +8473,38 @@ constexpr OverloadInfo kOverloads[] = { /* is_deprecated */ false, }, { - /* [274] */ + /* [273] */ /* num parameters */ 1, /* num open types */ 0, /* num open numbers */ 1, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[3], - /* parameters */ &kParameters[635], + /* parameters */ &kParameters[634], /* return matcher indices */ &kMatcherIndices[12], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { - /* [275] */ + /* [274] */ /* num parameters */ 2, /* num open types */ 0, /* num open numbers */ 0, /* open types */ &kOpenTypes[4], /* open numbers */ &kOpenNumbers[6], /* parameters */ &kParameters[487], - /* return matcher indices */ &kMatcherIndices[89], + /* return matcher indices */ &kMatcherIndices[87], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* is_deprecated */ false, + }, + { + /* [275] */ + /* num parameters */ 1, + /* num open types */ 1, + /* num open numbers */ 1, + /* open types */ &kOpenTypes[2], + /* open numbers */ &kOpenNumbers[4], + /* parameters */ &kParameters[652], + /* return matcher indices */ &kMatcherIndices[43], /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -8518,22 +8513,22 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 1, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[0], - /* open numbers */ &kOpenNumbers[4], - /* parameters */ &kParameters[653], - /* return matcher indices */ &kMatcherIndices[43], - /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), + /* open types */ &kOpenTypes[1], + /* open numbers */ &kOpenNumbers[5], + /* parameters */ &kParameters[661], + /* return matcher indices */ &kMatcherIndices[1], + /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [277] */ - /* num parameters */ 1, + /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[662], - /* return matcher indices */ &kMatcherIndices[1], + /* parameters */ &kParameters[473], + /* return matcher indices */ nullptr, /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -8542,10 +8537,10 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[473], - /* return matcher indices */ nullptr, + /* parameters */ &kParameters[471], + /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, @@ -8554,9 +8549,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[471], + /* parameters */ &kParameters[469], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8566,9 +8561,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[469], + /* parameters */ &kParameters[467], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8578,9 +8573,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[467], + /* parameters */ &kParameters[465], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8590,9 +8585,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[465], + /* parameters */ &kParameters[463], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8602,9 +8597,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[463], + /* parameters */ &kParameters[461], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8614,9 +8609,9 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[461], + /* parameters */ &kParameters[505], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, @@ -8626,35 +8621,23 @@ constexpr OverloadInfo kOverloads[] = { /* num parameters */ 2, /* num open types */ 1, /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], + /* open types */ &kOpenTypes[1], /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[507], + /* parameters */ &kParameters[479], /* return matcher indices */ &kMatcherIndices[1], /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, { /* [286] */ - /* num parameters */ 2, - /* num open types */ 1, - /* num open numbers */ 1, - /* open types */ &kOpenTypes[2], - /* open numbers */ &kOpenNumbers[5], - /* parameters */ &kParameters[481], - /* return matcher indices */ &kMatcherIndices[1], - /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute), - /* is_deprecated */ false, - }, - { - /* [287] */ - /* num parameters */ 0, + /* num parameters */ 1, /* num open types */ 0, - /* num open numbers */ 0, + /* num open numbers */ 2, /* open types */ &kOpenTypes[4], - /* open numbers */ &kOpenNumbers[6], - /* parameters */ &kParameters[671], - /* return matcher indices */ nullptr, - /* supported_stages */ PipelineStageSet(PipelineStage::kCompute), + /* open numbers */ &kOpenNumbers[2], + /* parameters */ &kParameters[633], + /* return matcher indices */ &kMatcherIndices[9], + /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute), /* is_deprecated */ false, }, }; @@ -8672,7 +8655,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* fn acos(f32) -> f32 */ /* fn acos(vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[235], + /* overloads */ &kOverloads[241], }, { /* [2] */ @@ -8686,55 +8669,55 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* fn any(bool) -> bool */ /* fn any(vec) -> bool */ /* num overloads */ 2, - /* overloads */ &kOverloads[229], + /* overloads */ &kOverloads[227], }, { /* [4] */ /* fn arrayLength(ptr, A>) -> u32 */ /* num overloads */ 1, - /* overloads */ &kOverloads[276], + /* overloads */ &kOverloads[275], }, { /* [5] */ /* fn asin(f32) -> f32 */ /* fn asin(vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[227], + /* overloads */ &kOverloads[225], }, { /* [6] */ /* fn atan(f32) -> f32 */ /* fn atan(vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[221], + /* overloads */ &kOverloads[219], }, { /* [7] */ /* fn atan2(f32, f32) -> f32 */ /* fn atan2(vec, vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[219], + /* overloads */ &kOverloads[213], }, { /* [8] */ /* fn ceil(f32) -> f32 */ /* fn ceil(vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[213], + /* overloads */ &kOverloads[211], }, { /* [9] */ /* fn clamp(T, T, T) -> T */ /* fn clamp(vec, vec, vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[211], + /* overloads */ &kOverloads[209], }, { /* [10] */ /* fn cos(f32) -> f32 */ /* fn cos(vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[207], + /* overloads */ &kOverloads[205], }, { /* [11] */ @@ -8754,7 +8737,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* [13] */ /* fn cross(vec3, vec3) -> vec3 */ /* num overloads */ 1, - /* overloads */ &kOverloads[275], + /* overloads */ &kOverloads[274], }, { /* [14] */ @@ -8767,7 +8750,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* [15] */ /* fn determinant(mat) -> f32 */ /* num overloads */ 1, - /* overloads */ &kOverloads[274], + /* overloads */ &kOverloads[273], }, { /* [16] */ @@ -8780,7 +8763,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* [17] */ /* fn dot(vec, vec) -> T */ /* num overloads */ 1, - /* overloads */ &kOverloads[273], + /* overloads */ &kOverloads[272], }, { /* [18] */ @@ -8842,7 +8825,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* [26] */ /* fn faceForward(vec, vec, vec) -> vec */ /* num overloads */ 1, - /* overloads */ &kOverloads[272], + /* overloads */ &kOverloads[271], }, { /* [27] */ @@ -8895,89 +8878,83 @@ constexpr IntrinsicInfo kIntrinsics[] = { }, { /* [34] */ - /* fn ignore(T) */ - /* num overloads */ 1, - /* overloads */ &kOverloads[255], + /* fn inverseSqrt(f32) -> f32 */ + /* fn inverseSqrt(vec) -> vec */ + /* num overloads */ 2, + /* overloads */ &kOverloads[145], }, { /* [35] */ - /* fn inverseSqrt(f32) -> f32 */ - /* fn inverseSqrt(vec) -> vec */ + /* fn isFinite(f32) -> bool */ + /* fn isFinite(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[185], }, { /* [36] */ - /* fn isFinite(f32) -> bool */ - /* fn isFinite(vec) -> vec */ + /* fn isInf(f32) -> bool */ + /* fn isInf(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[187], }, { /* [37] */ - /* fn isInf(f32) -> bool */ - /* fn isInf(vec) -> vec */ + /* fn isNan(f32) -> bool */ + /* fn isNan(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[189], }, { /* [38] */ - /* fn isNan(f32) -> bool */ - /* fn isNan(vec) -> vec */ + /* fn isNormal(f32) -> bool */ + /* fn isNormal(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[191], }, { /* [39] */ - /* fn isNormal(f32) -> bool */ - /* fn isNormal(vec) -> vec */ + /* fn ldexp(f32, i32) -> f32 */ + /* fn ldexp(vec, vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[193], }, { /* [40] */ - /* fn ldexp(f32, i32) -> f32 */ - /* fn ldexp(vec, vec) -> vec */ + /* fn length(f32) -> f32 */ + /* fn length(vec) -> f32 */ /* num overloads */ 2, /* overloads */ &kOverloads[195], }, { /* [41] */ - /* fn length(f32) -> f32 */ - /* fn length(vec) -> f32 */ + /* fn log(f32) -> f32 */ + /* fn log(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[197], }, { /* [42] */ - /* fn log(f32) -> f32 */ - /* fn log(vec) -> vec */ + /* fn log2(f32) -> f32 */ + /* fn log2(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[199], }, { /* [43] */ - /* fn log2(f32) -> f32 */ - /* fn log2(vec) -> vec */ + /* fn max(T, T) -> T */ + /* fn max(vec, vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[201], }, { /* [44] */ - /* fn max(T, T) -> T */ - /* fn max(vec, vec) -> vec */ + /* fn min(T, T) -> T */ + /* fn min(vec, vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[203], }, { /* [45] */ - /* fn min(T, T) -> T */ - /* fn min(vec, vec) -> vec */ - /* num overloads */ 2, - /* overloads */ &kOverloads[205], - }, - { - /* [46] */ /* fn mix(f32, f32, f32) -> f32 */ /* fn mix(vec, vec, vec) -> vec */ /* fn mix(vec, vec, f32) -> vec */ @@ -8985,90 +8962,90 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[139], }, { - /* [47] */ + /* [46] */ /* fn modf(f32) -> __modf_result */ /* fn modf(vec) -> __modf_result_vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[209], + /* overloads */ &kOverloads[207], + }, + { + /* [47] */ + /* fn normalize(vec) -> vec */ + /* num overloads */ 1, + /* overloads */ &kOverloads[255], }, { /* [48] */ - /* fn normalize(vec) -> vec */ - /* num overloads */ 1, - /* overloads */ &kOverloads[270], - }, - { - /* [49] */ /* fn pack2x16float(vec2) -> u32 */ /* num overloads */ 1, /* overloads */ &kOverloads[269], }, { - /* [50] */ + /* [49] */ /* fn pack2x16snorm(vec2) -> u32 */ /* num overloads */ 1, /* overloads */ &kOverloads[268], }, { - /* [51] */ + /* [50] */ /* fn pack2x16unorm(vec2) -> u32 */ /* num overloads */ 1, - /* overloads */ &kOverloads[256], - }, - { - /* [52] */ - /* fn pack4x8snorm(vec4) -> u32 */ - /* num overloads */ 1, /* overloads */ &kOverloads[267], }, { - /* [53] */ + /* [51] */ + /* fn pack4x8snorm(vec4) -> u32 */ + /* num overloads */ 1, + /* overloads */ &kOverloads[263], + }, + { + /* [52] */ /* fn pack4x8unorm(vec4) -> u32 */ /* num overloads */ 1, /* overloads */ &kOverloads[266], }, { - /* [54] */ + /* [53] */ /* fn pow(f32, f32) -> f32 */ /* fn pow(vec, vec) -> vec */ /* num overloads */ 2, + /* overloads */ &kOverloads[221], + }, + { + /* [54] */ + /* fn radians(f32) -> f32 */ + /* fn radians(vec) -> vec */ + /* num overloads */ 2, /* overloads */ &kOverloads[223], }, { /* [55] */ - /* fn radians(f32) -> f32 */ - /* fn radians(vec) -> vec */ - /* num overloads */ 2, - /* overloads */ &kOverloads[225], - }, - { - /* [56] */ /* fn reflect(vec, vec) -> vec */ /* num overloads */ 1, /* overloads */ &kOverloads[265], }, { - /* [57] */ + /* [56] */ /* fn refract(vec, vec, f32) -> vec */ /* num overloads */ 1, /* overloads */ &kOverloads[264], }, { - /* [58] */ + /* [57] */ /* fn reverseBits(T) -> T */ /* fn reverseBits(vec) -> vec */ /* num overloads */ 2, + /* overloads */ &kOverloads[229], + }, + { + /* [58] */ + /* fn round(f32) -> f32 */ + /* fn round(vec) -> vec */ + /* num overloads */ 2, /* overloads */ &kOverloads[231], }, { /* [59] */ - /* fn round(f32) -> f32 */ - /* fn round(vec) -> vec */ - /* num overloads */ 2, - /* overloads */ &kOverloads[249], - }, - { - /* [60] */ /* fn select(T, T, bool) -> T */ /* fn select(vec, vec, bool) -> vec */ /* fn select(vec, vec, vec) -> vec */ @@ -9076,118 +9053,118 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[142], }, { - /* [61] */ + /* [60] */ /* fn sign(f32) -> f32 */ /* fn sign(vec) -> vec */ /* num overloads */ 2, + /* overloads */ &kOverloads[235], + }, + { + /* [61] */ + /* fn sin(f32) -> f32 */ + /* fn sin(vec) -> vec */ + /* num overloads */ 2, /* overloads */ &kOverloads[237], }, { /* [62] */ - /* fn sin(f32) -> f32 */ - /* fn sin(vec) -> vec */ + /* fn sinh(f32) -> f32 */ + /* fn sinh(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[239], }, { /* [63] */ - /* fn sinh(f32) -> f32 */ - /* fn sinh(vec) -> vec */ + /* fn smoothStep(f32, f32, f32) -> f32 */ + /* fn smoothStep(vec, vec, vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[251], }, { /* [64] */ - /* fn smoothStep(f32, f32, f32) -> f32 */ - /* fn smoothStep(vec, vec, vec) -> vec */ + /* fn sqrt(f32) -> f32 */ + /* fn sqrt(vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[243], }, { /* [65] */ - /* fn sqrt(f32) -> f32 */ - /* fn sqrt(vec) -> vec */ + /* fn step(f32, f32) -> f32 */ + /* fn step(vec, vec) -> vec */ /* num overloads */ 2, /* overloads */ &kOverloads[245], }, { /* [66] */ - /* fn step(f32, f32) -> f32 */ - /* fn step(vec, vec) -> vec */ - /* num overloads */ 2, - /* overloads */ &kOverloads[247], + /* fn storageBarrier() */ + /* num overloads */ 1, + /* overloads */ &kOverloads[270], }, { /* [67] */ - /* fn storageBarrier() */ - /* num overloads */ 1, - /* overloads */ &kOverloads[287], - }, - { - /* [68] */ /* fn tan(f32) -> f32 */ /* fn tan(vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[145], - }, - { - /* [69] */ - /* fn tanh(f32) -> f32 */ - /* fn tanh(vec) -> vec */ - /* num overloads */ 2, /* overloads */ &kOverloads[217], }, { - /* [70] */ - /* fn transpose(mat) -> mat */ - /* num overloads */ 1, - /* overloads */ &kOverloads[271], + /* [68] */ + /* fn tanh(f32) -> f32 */ + /* fn tanh(vec) -> vec */ + /* num overloads */ 2, + /* overloads */ &kOverloads[249], }, { - /* [71] */ + /* [69] */ + /* fn transpose(mat) -> mat */ + /* num overloads */ 1, + /* overloads */ &kOverloads[286], + }, + { + /* [70] */ /* fn trunc(f32) -> f32 */ /* fn trunc(vec) -> vec */ /* num overloads */ 2, - /* overloads */ &kOverloads[241], + /* overloads */ &kOverloads[247], + }, + { + /* [71] */ + /* fn unpack2x16float(u32) -> vec2 */ + /* num overloads */ 1, + /* overloads */ &kOverloads[256], }, { /* [72] */ - /* fn unpack2x16float(u32) -> vec2 */ + /* fn unpack2x16snorm(u32) -> vec2 */ /* num overloads */ 1, /* overloads */ &kOverloads[257], }, { /* [73] */ - /* fn unpack2x16snorm(u32) -> vec2 */ + /* fn unpack2x16unorm(u32) -> vec2 */ /* num overloads */ 1, /* overloads */ &kOverloads[258], }, { /* [74] */ - /* fn unpack2x16unorm(u32) -> vec2 */ + /* fn unpack4x8snorm(u32) -> vec4 */ /* num overloads */ 1, /* overloads */ &kOverloads[259], }, { /* [75] */ - /* fn unpack4x8snorm(u32) -> vec4 */ + /* fn unpack4x8unorm(u32) -> vec4 */ /* num overloads */ 1, /* overloads */ &kOverloads[260], }, { /* [76] */ - /* fn unpack4x8unorm(u32) -> vec4 */ + /* fn workgroupBarrier() */ /* num overloads */ 1, /* overloads */ &kOverloads[261], }, { /* [77] */ - /* fn workgroupBarrier() */ - /* num overloads */ 1, - /* overloads */ &kOverloads[262], - }, - { - /* [78] */ /* fn textureDimensions(texture: texture_1d) -> i32 */ /* fn textureDimensions(texture: texture_1d, level: i32) -> i32 */ /* fn textureDimensions(texture: texture_2d) -> vec2 */ @@ -9219,7 +9196,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[0], }, { - /* [79] */ + /* [78] */ /* fn textureGather(component: i32, texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 */ /* fn textureGather(component: i32, texture: texture_2d, sampler: sampler, coords: vec2, offset: vec2) -> vec4 */ /* fn textureGather(component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 */ @@ -9236,7 +9213,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[69], }, { - /* [80] */ + /* [79] */ /* fn textureGatherCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2, depth_ref: f32) -> vec4 */ /* fn textureGatherCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2, depth_ref: f32, offset: vec2) -> vec4 */ /* fn textureGatherCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> vec4 */ @@ -9244,10 +9221,10 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* fn textureGatherCompare(texture: texture_depth_cube, sampler: sampler_comparison, coords: vec3, depth_ref: f32) -> vec4 */ /* fn textureGatherCompare(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> vec4 */ /* num overloads */ 6, - /* overloads */ &kOverloads[122], + /* overloads */ &kOverloads[116], }, { - /* [81] */ + /* [80] */ /* fn textureNumLayers(texture: texture_2d_array) -> i32 */ /* fn textureNumLayers(texture: texture_cube_array) -> i32 */ /* fn textureNumLayers(texture: texture_depth_2d_array) -> i32 */ @@ -9257,7 +9234,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[134], }, { - /* [82] */ + /* [81] */ /* fn textureNumLevels(texture: texture_1d) -> i32 */ /* fn textureNumLevels(texture: texture_2d) -> i32 */ /* fn textureNumLevels(texture: texture_2d_array) -> i32 */ @@ -9272,14 +9249,14 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[81], }, { - /* [83] */ + /* [82] */ /* fn textureNumSamples(texture: texture_multisampled_2d) -> i32 */ /* fn textureNumSamples(texture: texture_depth_multisampled_2d) -> i32 */ /* num overloads */ 2, /* overloads */ &kOverloads[215], }, { - /* [84] */ + /* [83] */ /* fn textureSample(texture: texture_1d, sampler: sampler, coords: f32) -> vec4 */ /* fn textureSample(texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 */ /* fn textureSample(texture: texture_2d, sampler: sampler, coords: vec2, offset: vec2) -> vec4 */ @@ -9296,10 +9273,10 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* fn textureSample(texture: texture_depth_cube, sampler: sampler, coords: vec3) -> f32 */ /* fn textureSample(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> f32 */ /* num overloads */ 15, - /* overloads */ &kOverloads[42], + /* overloads */ &kOverloads[27], }, { - /* [85] */ + /* [84] */ /* fn textureSampleBias(texture: texture_2d, sampler: sampler, coords: vec2, bias: f32) -> vec4 */ /* fn textureSampleBias(texture: texture_2d, sampler: sampler, coords: vec2, bias: f32, offset: vec2) -> vec4 */ /* fn textureSampleBias(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, bias: f32) -> vec4 */ @@ -9312,7 +9289,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[100], }, { - /* [86] */ + /* [85] */ /* fn textureSampleCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2, depth_ref: f32) -> f32 */ /* fn textureSampleCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2, depth_ref: f32, offset: vec2) -> f32 */ /* fn textureSampleCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> f32 */ @@ -9320,10 +9297,10 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* fn textureSampleCompare(texture: texture_depth_cube, sampler: sampler_comparison, coords: vec3, depth_ref: f32) -> f32 */ /* fn textureSampleCompare(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> f32 */ /* num overloads */ 6, - /* overloads */ &kOverloads[128], + /* overloads */ &kOverloads[122], }, { - /* [87] */ + /* [86] */ /* fn textureSampleCompareLevel(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2, depth_ref: f32) -> f32 */ /* fn textureSampleCompareLevel(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2, depth_ref: f32, offset: vec2) -> f32 */ /* fn textureSampleCompareLevel(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> f32 */ @@ -9331,10 +9308,10 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* fn textureSampleCompareLevel(texture: texture_depth_cube, sampler: sampler_comparison, coords: vec3, depth_ref: f32) -> f32 */ /* fn textureSampleCompareLevel(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> f32 */ /* num overloads */ 6, - /* overloads */ &kOverloads[116], + /* overloads */ &kOverloads[128], }, { - /* [88] */ + /* [87] */ /* fn textureSampleGrad(texture: texture_2d, sampler: sampler, coords: vec2, ddx: vec2, ddy: vec2) -> vec4 */ /* fn textureSampleGrad(texture: texture_2d, sampler: sampler, coords: vec2, ddx: vec2, ddy: vec2, offset: vec2) -> vec4 */ /* fn textureSampleGrad(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, ddx: vec2, ddy: vec2) -> vec4 */ @@ -9347,7 +9324,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[108], }, { - /* [89] */ + /* [88] */ /* fn textureSampleLevel(texture: texture_2d, sampler: sampler, coords: vec2, level: f32) -> vec4 */ /* fn textureSampleLevel(texture: texture_2d, sampler: sampler, coords: vec2, level: f32, offset: vec2) -> vec4 */ /* fn textureSampleLevel(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: f32) -> vec4 */ @@ -9364,10 +9341,10 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* fn textureSampleLevel(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32, level: i32) -> f32 */ /* fn textureSampleLevel(texture: texture_external, sampler: sampler, coords: vec2) -> vec4 */ /* num overloads */ 15, - /* overloads */ &kOverloads[27], + /* overloads */ &kOverloads[42], }, { - /* [90] */ + /* [89] */ /* fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) */ /* fn textureStore(texture: texture_storage_2d, coords: vec2, value: vec4) */ /* fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) */ @@ -9384,7 +9361,7 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[57], }, { - /* [91] */ + /* [90] */ /* fn textureLoad(texture: texture_1d, coords: i32, level: i32) -> vec4 */ /* fn textureLoad(texture: texture_2d, coords: vec2, level: i32) -> vec4 */ /* fn textureLoad(texture: texture_2d_array, coords: vec2, array_index: i32, level: i32) -> vec4 */ @@ -9398,70 +9375,70 @@ constexpr IntrinsicInfo kIntrinsics[] = { /* overloads */ &kOverloads[91], }, { - /* [92] */ + /* [91] */ /* fn atomicLoad(ptr, read_write>) -> T */ /* num overloads */ 1, + /* overloads */ &kOverloads[276], + }, + { + /* [92] */ + /* fn atomicStore(ptr, read_write>, T) */ + /* num overloads */ 1, /* overloads */ &kOverloads[277], }, { /* [93] */ - /* fn atomicStore(ptr, read_write>, T) */ + /* fn atomicAdd(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[278], }, { /* [94] */ - /* fn atomicAdd(ptr, read_write>, T) -> T */ + /* fn atomicSub(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[279], }, { /* [95] */ - /* fn atomicSub(ptr, read_write>, T) -> T */ + /* fn atomicMax(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[280], }, { /* [96] */ - /* fn atomicMax(ptr, read_write>, T) -> T */ + /* fn atomicMin(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[281], }, { /* [97] */ - /* fn atomicMin(ptr, read_write>, T) -> T */ + /* fn atomicAnd(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[282], }, { /* [98] */ - /* fn atomicAnd(ptr, read_write>, T) -> T */ + /* fn atomicOr(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[283], }, { /* [99] */ - /* fn atomicOr(ptr, read_write>, T) -> T */ + /* fn atomicXor(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[284], }, { /* [100] */ - /* fn atomicXor(ptr, read_write>, T) -> T */ + /* fn atomicExchange(ptr, read_write>, T) -> T */ /* num overloads */ 1, /* overloads */ &kOverloads[285], }, { /* [101] */ - /* fn atomicExchange(ptr, read_write>, T) -> T */ - /* num overloads */ 1, - /* overloads */ &kOverloads[286], - }, - { - /* [102] */ /* fn atomicCompareExchangeWeak(ptr, read_write>, T, T) -> vec2 */ /* num overloads */ 1, - /* overloads */ &kOverloads[263], + /* overloads */ &kOverloads[262], }, }; diff --git a/src/intrinsics.def b/src/intrinsics.def index 7bcab1c956..02534c3ab9 100644 --- a/src/intrinsics.def +++ b/src/intrinsics.def @@ -326,7 +326,6 @@ fn frexp(vec) -> __frexp_result_vec [[stage("fragment")]] fn fwidthCoarse(vec) -> vec [[stage("fragment")]] fn fwidthFine(f32) -> f32 [[stage("fragment")]] fn fwidthFine(vec) -> vec -[[deprecated]] fn ignore(T) fn inverseSqrt(f32) -> f32 fn inverseSqrt(vec) -> vec [[deprecated]] fn isFinite(f32) -> bool diff --git a/src/resolver/type_constructor_validation_test.cc b/src/resolver/type_constructor_validation_test.cc index 1bd7775826..8394c2c7b2 100644 --- a/src/resolver/type_constructor_validation_test.cc +++ b/src/resolver/type_constructor_validation_test.cc @@ -2880,7 +2880,7 @@ TEST_F(ResolverTypeConstructorValidationTest, Expr_Constructor_Struct_Empty) { TEST_F(ResolverTypeConstructorValidationTest, NonConstructibleType_Atomic) { WrapInFunction( - Call("ignore", Construct(Source{{12, 34}}, ty.atomic(ty.i32())))); + Assign(Phony(), Construct(Source{{12, 34}}, ty.atomic(ty.i32())))); EXPECT_FALSE(r()->Resolve()); EXPECT_EQ(r()->error(), "12:34 error: type is not constructible"); @@ -2888,8 +2888,8 @@ TEST_F(ResolverTypeConstructorValidationTest, NonConstructibleType_Atomic) { TEST_F(ResolverTypeConstructorValidationTest, NonConstructibleType_AtomicArray) { - WrapInFunction(Call( - "ignore", Construct(Source{{12, 34}}, ty.array(ty.atomic(ty.i32()), 4)))); + WrapInFunction(Assign( + Phony(), Construct(Source{{12, 34}}, ty.array(ty.atomic(ty.i32()), 4)))); EXPECT_FALSE(r()->Resolve()); EXPECT_EQ( @@ -2900,7 +2900,7 @@ TEST_F(ResolverTypeConstructorValidationTest, TEST_F(ResolverTypeConstructorValidationTest, NonConstructibleType_AtomicStructMember) { auto* str = Structure("S", {Member("a", ty.atomic(ty.i32()))}); - WrapInFunction(Call("ignore", Construct(Source{{12, 34}}, ty.Of(str)))); + WrapInFunction(Assign(Phony(), Construct(Source{{12, 34}}, ty.Of(str)))); EXPECT_FALSE(r()->Resolve()); EXPECT_EQ(r()->error(), @@ -2908,8 +2908,8 @@ TEST_F(ResolverTypeConstructorValidationTest, } TEST_F(ResolverTypeConstructorValidationTest, NonConstructibleType_Sampler) { - WrapInFunction(Call( - "ignore", + WrapInFunction(Assign( + Phony(), Construct(Source{{12, 34}}, ty.sampler(ast::SamplerKind::kSampler)))); EXPECT_FALSE(r()->Resolve()); diff --git a/src/sem/intrinsic_type.cc b/src/sem/intrinsic_type.cc index 44faf1418e..8e4b5354f2 100644 --- a/src/sem/intrinsic_type.cc +++ b/src/sem/intrinsic_type.cc @@ -132,9 +132,6 @@ IntrinsicType ParseIntrinsicType(const std::string& name) { if (name == "fwidthFine") { return IntrinsicType::kFwidthFine; } - if (name == "ignore") { - return IntrinsicType::kIgnore; - } if (name == "inverseSqrt") { return IntrinsicType::kInverseSqrt; } @@ -414,8 +411,6 @@ const char* str(IntrinsicType i) { return "fwidthCoarse"; case IntrinsicType::kFwidthFine: return "fwidthFine"; - case IntrinsicType::kIgnore: - return "ignore"; case IntrinsicType::kInverseSqrt: return "inverseSqrt"; case IntrinsicType::kIsFinite: diff --git a/src/sem/intrinsic_type.h b/src/sem/intrinsic_type.h index 873a9eff72..64df9a4c13 100644 --- a/src/sem/intrinsic_type.h +++ b/src/sem/intrinsic_type.h @@ -68,7 +68,6 @@ enum class IntrinsicType { kFwidth, kFwidthCoarse, kFwidthFine, - kIgnore, kInverseSqrt, kIsFinite, kIsInf, diff --git a/src/transform/array_length_from_uniform_test.cc b/src/transform/array_length_from_uniform_test.cc index 01940c6acc..a4f2fa9a32 100644 --- a/src/transform/array_length_from_uniform_test.cc +++ b/src/transform/array_length_from_uniform_test.cc @@ -454,7 +454,7 @@ struct SB { @stage(compute) @workgroup_size(1) fn main() { - ignore(&(sb.arr)); + _ = &(sb.arr); } )"; diff --git a/src/transform/decompose_memory_access.cc b/src/transform/decompose_memory_access.cc index 99c5623c84..5ebef49470 100644 --- a/src/transform/decompose_memory_access.cc +++ b/src/transform/decompose_memory_access.cc @@ -922,19 +922,6 @@ void DecomposeMemoryAccess::Run(CloneContext& ctx, if (auto* call_expr = node->As()) { auto* call = sem.Get(call_expr); if (auto* intrinsic = call->Target()->As()) { - if (intrinsic->Type() == sem::IntrinsicType::kIgnore) { // [DEPRECATED] - // ignore(X) - // If X is an memory access, don't transform it into a load, as it - // may refer to a structure holding a runtime array, which cannot be - // loaded. Instead replace X with the underlying storage / uniform - // buffer variable. - if (auto access = state.TakeAccess(call_expr->args[0])) { - ctx.Replace(call_expr->args[0], [=, &ctx] { - return ctx.CloneWithoutTransform(access.var->Declaration()); - }); - } - continue; - } if (intrinsic->Type() == sem::IntrinsicType::kArrayLength) { // arrayLength(X) // Don't convert X into a load, this intrinsic actually requires the diff --git a/src/transform/loop_to_for_loop_test.cc b/src/transform/loop_to_for_loop_test.cc index 812150976e..5322b9f002 100644 --- a/src/transform/loop_to_for_loop_test.cc +++ b/src/transform/loop_to_for_loop_test.cc @@ -59,7 +59,7 @@ fn f() { break; } - ignore(123); + _ = 123; continuing { i = i + 1; @@ -73,7 +73,7 @@ fn f() { var i : i32; i = 0; for(; !((i > 15)); i = (i + 1)) { - ignore(123); + _ = 123; } } )"; @@ -94,7 +94,7 @@ fn f() { break; } - ignore(123); + _ = 123; continuing { i = i + 1; @@ -108,7 +108,7 @@ fn f() { var i : i32; i = 0; for(; (i < 15); i = (i + 1)) { - ignore(123); + _ = 123; } } )"; @@ -135,8 +135,8 @@ fn f() { break; } - ignore(i); - ignore(j); + _ = i; + _ = j; continuing { j = (j + 1u); @@ -160,8 +160,8 @@ fn f() { { var j : u32 = 0u; for(; !((j >= N)); j = (j + 1u)) { - ignore(i); - ignore(j); + _ = i; + _ = j; } } } @@ -180,10 +180,10 @@ fn f() { i = 0; loop { if ((i < 15)) { - ignore(i); + _ = i; break; } - ignore(123); + _ = 123; continuing { i = (i + 1); @@ -207,10 +207,10 @@ fn f() { loop { if ((i < 15)) { } else { - ignore(i); + _ = i; break; } - ignore(123); + _ = 123; continuing { i = (i + 1); @@ -235,7 +235,7 @@ fn f() { if ((i < 15)) { break; } - ignore(123); + _ = 123; continuing { if (false) { @@ -261,11 +261,11 @@ fn f() { if ((i < 15)) { break; } - ignore(123); + _ = 123; continuing { i = (i + 1); - ignore(i); + _ = i; } } } diff --git a/src/transform/renamer_test.cc b/src/transform/renamer_test.cc index 5ef8ee568c..21982fbb6d 100644 --- a/src/transform/renamer_test.cc +++ b/src/transform/renamer_test.cc @@ -49,7 +49,7 @@ fn test(vert_idx : u32) -> u32 { @stage(vertex) fn entry(@builtin(vertex_index) vert_idx : u32 ) -> @builtin(position) vec4 { - ignore(test(vert_idx)); + _ = test(vert_idx); return vec4(); } )"; @@ -61,7 +61,7 @@ fn tint_symbol(tint_symbol_1 : u32) -> u32 { @stage(vertex) fn tint_symbol_2(@builtin(vertex_index) tint_symbol_1 : u32) -> @builtin(position) vec4 { - ignore(tint_symbol(tint_symbol_1)); + _ = tint_symbol(tint_symbol_1); return vec4(); } )"; diff --git a/src/transform/zero_init_workgroup_memory_test.cc b/src/transform/zero_init_workgroup_memory_test.cc index e422b384b7..6cceb20012 100644 --- a/src/transform/zero_init_workgroup_memory_test.cc +++ b/src/transform/zero_init_workgroup_memory_test.cc @@ -99,7 +99,7 @@ var v : i32; @stage(compute) @workgroup_size(1) fn f(@builtin(local_invocation_index) local_idx : u32) { - ignore(v); // Initialization should be inserted above this statement + _ = v; // Initialization should be inserted above this statement } )"; auto* expect = R"( @@ -111,7 +111,7 @@ fn f(@builtin(local_invocation_index) local_idx : u32) { v = i32(); } workgroupBarrier(); - ignore(v); + _ = v; } )"; @@ -131,7 +131,7 @@ struct Params { @stage(compute) @workgroup_size(1) fn f(params : Params) { - ignore(v); // Initialization should be inserted above this statement + _ = v; // Initialization should be inserted above this statement } )"; auto* expect = R"( @@ -148,7 +148,7 @@ fn f(params : Params) { v = i32(); } workgroupBarrier(); - ignore(v); + _ = v; } )"; @@ -163,7 +163,7 @@ var v : i32; @stage(compute) @workgroup_size(1) fn f() { - ignore(v); // Initialization should be inserted above this statement + _ = v; // Initialization should be inserted above this statement } )"; auto* expect = R"( @@ -175,7 +175,7 @@ fn f(@builtin(local_invocation_index) local_invocation_index : u32) { v = i32(); } workgroupBarrier(); - ignore(v); + _ = v; } )"; @@ -200,9 +200,9 @@ var c : array; @stage(compute) @workgroup_size(1) fn f(@builtin(local_invocation_index) local_idx : u32) { - ignore(a); // Initialization should be inserted above this statement - ignore(b); - ignore(c); + _ = a; // Initialization should be inserted above this statement + _ = b; + _ = c; } )"; auto* expect = R"( @@ -237,9 +237,9 @@ fn f(@builtin(local_invocation_index) local_idx : u32) { c[i_2].y[i] = i32(); } workgroupBarrier(); - ignore(a); - ignore(b); - ignore(c); + _ = a; + _ = b; + _ = c; } )"; @@ -264,9 +264,9 @@ var c : array; @stage(compute) @workgroup_size(2, 3) fn f(@builtin(local_invocation_index) local_idx : u32) { - ignore(a); // Initialization should be inserted above this statement - ignore(b); - ignore(c); + _ = a; // Initialization should be inserted above this statement + _ = b; + _ = c; } )"; auto* expect = R"( @@ -301,9 +301,9 @@ fn f(@builtin(local_invocation_index) local_idx : u32) { c[i_2].y[i] = i32(); } workgroupBarrier(); - ignore(a); - ignore(b); - ignore(c); + _ = a; + _ = b; + _ = c; } )"; @@ -330,9 +330,9 @@ var c : array; @stage(compute) @workgroup_size(2, 3, X) fn f(@builtin(local_invocation_index) local_idx : u32) { - ignore(a); // Initialization should be inserted above this statement - ignore(b); - ignore(c); + _ = a; // Initialization should be inserted above this statement + _ = b; + _ = c; } )"; auto* expect = @@ -370,9 +370,9 @@ fn f(@builtin(local_invocation_index) local_idx : u32) { c[i_2].y[i] = i32(); } workgroupBarrier(); - ignore(a); - ignore(b); - ignore(c); + _ = a; + _ = b; + _ = c; } )"; @@ -400,9 +400,9 @@ var c : array; @stage(compute) @workgroup_size(5u, X, 10u) fn f(@builtin(local_invocation_index) local_idx : u32) { - ignore(a); // Initialization should be inserted above this statement - ignore(b); - ignore(c); + _ = a; // Initialization should be inserted above this statement + _ = b; + _ = c; } )"; auto* expect = @@ -460,9 +460,9 @@ fn f(@builtin(local_invocation_index) local_idx : u32) { c[i_5].z[i_2][i][i_1] = i32(); } workgroupBarrier(); - ignore(a); - ignore(b); - ignore(c); + _ = a; + _ = b; + _ = c; } )"; @@ -486,9 +486,9 @@ var c : array; @stage(compute) @workgroup_size(1) fn f(@builtin(local_invocation_id) local_invocation_id : vec3) { - ignore(a); // Initialization should be inserted above this statement - ignore(b); - ignore(c); + _ = a; // Initialization should be inserted above this statement + _ = b; + _ = c; } )"; auto* expect = R"( @@ -523,9 +523,9 @@ fn f(@builtin(local_invocation_id) local_invocation_id : vec3, @builtin(loc c[i_2].y[i] = i32(); } workgroupBarrier(); - ignore(a); - ignore(b); - ignore(c); + _ = a; + _ = b; + _ = c; } )"; @@ -549,19 +549,19 @@ var c : array; @stage(compute) @workgroup_size(1) fn f1() { - ignore(a); // Initialization should be inserted above this statement - ignore(c); + _ = a; // Initialization should be inserted above this statement + _ = c; } @stage(compute) @workgroup_size(1, 2, 3) fn f2(@builtin(local_invocation_id) local_invocation_id : vec3) { - ignore(b); // Initialization should be inserted above this statement + _ = b; // Initialization should be inserted above this statement } @stage(compute) @workgroup_size(4, 5, 6) fn f3() { - ignore(c); // Initialization should be inserted above this statement - ignore(a); + _ = c; // Initialization should be inserted above this statement + _ = a; } )"; auto* expect = R"( @@ -591,8 +591,8 @@ fn f1(@builtin(local_invocation_index) local_invocation_index : u32) { c[i_1].y[i_2] = i32(); } workgroupBarrier(); - ignore(a); - ignore(c); + _ = a; + _ = c; } @stage(compute) @workgroup_size(1, 2, 3) @@ -605,7 +605,7 @@ fn f2(@builtin(local_invocation_id) local_invocation_id : vec3, @builtin(lo b.y[i_3] = i32(); } workgroupBarrier(); - ignore(b); + _ = b; } @stage(compute) @workgroup_size(4, 5, 6) @@ -623,8 +623,8 @@ fn f3(@builtin(local_invocation_index) local_invocation_index_2 : u32) { c[i_5].y[i_6] = i32(); } workgroupBarrier(); - ignore(c); - ignore(a); + _ = c; + _ = a; } )"; @@ -638,7 +638,7 @@ TEST_F(ZeroInitWorkgroupMemoryTest, TransitiveUsage) { var v : i32; fn use_v() { - ignore(v); + _ = v; } fn call_use_v() { @@ -654,7 +654,7 @@ fn f(@builtin(local_invocation_index) local_idx : u32) { var v : i32; fn use_v() { - ignore(v); + _ = v; } fn call_use_v() { @@ -683,8 +683,8 @@ var u : atomic; @stage(compute) @workgroup_size(1) fn f() { - ignore(i); // Initialization should be inserted above this statement - ignore(u); + atomicLoad(&(i)); // Initialization should be inserted above this statement + atomicLoad(&(u)); } )"; auto* expect = R"( @@ -699,8 +699,8 @@ fn f(@builtin(local_invocation_index) local_invocation_index : u32) { atomicStore(&(u), u32()); } workgroupBarrier(); - ignore(i); - ignore(u); + atomicLoad(&(i)); + atomicLoad(&(u)); } )"; @@ -723,7 +723,7 @@ var w : S; @stage(compute) @workgroup_size(1) fn f() { - ignore(w); // Initialization should be inserted above this statement + _ = w.a; // Initialization should be inserted above this statement } )"; auto* expect = R"( @@ -747,7 +747,7 @@ fn f(@builtin(local_invocation_index) local_invocation_index : u32) { w.c = u32(); } workgroupBarrier(); - ignore(w); + _ = w.a; } )"; @@ -762,7 +762,7 @@ var w : array, 4>; @stage(compute) @workgroup_size(1) fn f() { - ignore(w); // Initialization should be inserted above this statement + atomicLoad(&w[0]); // Initialization should be inserted above this statement } )"; auto* expect = R"( @@ -775,7 +775,7 @@ fn f(@builtin(local_invocation_index) local_invocation_index : u32) { atomicStore(&(w[i]), u32()); } workgroupBarrier(); - ignore(w); + atomicLoad(&(w[0])); } )"; @@ -798,7 +798,7 @@ var w : array; @stage(compute) @workgroup_size(1) fn f() { - ignore(w); // Initialization should be inserted above this statement + _ = w[0].a; // Initialization should be inserted above this statement } )"; auto* expect = R"( @@ -823,7 +823,7 @@ fn f(@builtin(local_invocation_index) local_invocation_index : u32) { w[i_1].c = u32(); } workgroupBarrier(); - ignore(w); + _ = w[0].a; } )"; diff --git a/src/writer/glsl/generator_impl.cc b/src/writer/glsl/generator_impl.cc index d9a9126840..100464d5e9 100644 --- a/src/writer/glsl/generator_impl.cc +++ b/src/writer/glsl/generator_impl.cc @@ -529,9 +529,6 @@ bool GeneratorImpl::EmitIntrinsicCall(std::ostream& out, if (intrinsic->Type() == sem::IntrinsicType::kRadians) { return EmitRadiansCall(out, expr, intrinsic); } - if (intrinsic->Type() == sem::IntrinsicType::kIgnore) { - return EmitExpression(out, expr->args[0]); // [DEPRECATED] - } if (intrinsic->IsDataPacking()) { return EmitDataPackingCall(out, expr, intrinsic); } diff --git a/src/writer/glsl/generator_impl_intrinsic_test.cc b/src/writer/glsl/generator_impl_intrinsic_test.cc index 68f4561aad..2705e158c7 100644 --- a/src/writer/glsl/generator_impl_intrinsic_test.cc +++ b/src/writer/glsl/generator_impl_intrinsic_test.cc @@ -690,31 +690,6 @@ void main() { )"); } -TEST_F(GlslGeneratorImplTest_Intrinsic, Ignore) { - Func("f", {Param("a", ty.i32()), Param("b", ty.i32()), Param("c", ty.i32())}, - ty.i32(), {Return(Mul(Add("a", "b"), "c"))}); - - Func("main", {}, ty.void_(), - {CallStmt(Call("ignore", Call("f", 1, 2, 3)))}, - { - Stage(ast::PipelineStage::kCompute), - WorkgroupSize(1), - }); - - GeneratorImpl& gen = Build(); - - ASSERT_TRUE(gen.Generate()) << gen.error(); - EXPECT_EQ(gen.result(), R"(int f(int a, int b, int c) { - return ((a + b) * c); -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - f(1, 2, 3); - return; -} -)"); -} #endif TEST_F(GlslGeneratorImplTest_Intrinsic, DotI32) { diff --git a/src/writer/hlsl/generator_impl.cc b/src/writer/hlsl/generator_impl.cc index 6b15ba6bca..d748dc9cdf 100644 --- a/src/writer/hlsl/generator_impl.cc +++ b/src/writer/hlsl/generator_impl.cc @@ -1026,9 +1026,6 @@ bool GeneratorImpl::EmitIntrinsicCall(std::ostream& out, if (intrinsic->Type() == sem::IntrinsicType::kRadians) { return EmitRadiansCall(out, expr, intrinsic); } - if (intrinsic->Type() == sem::IntrinsicType::kIgnore) { - return EmitExpression(out, expr->args[0]); // [DEPRECATED] - } if (intrinsic->IsDataPacking()) { return EmitDataPackingCall(out, expr, intrinsic); } diff --git a/src/writer/hlsl/generator_impl_intrinsic_test.cc b/src/writer/hlsl/generator_impl_intrinsic_test.cc index 6e901dadd3..a00a4e19fa 100644 --- a/src/writer/hlsl/generator_impl_intrinsic_test.cc +++ b/src/writer/hlsl/generator_impl_intrinsic_test.cc @@ -791,31 +791,6 @@ void main() { )"); } -TEST_F(HlslGeneratorImplTest_Intrinsic, Ignore) { - Func("f", {Param("a", ty.i32()), Param("b", ty.i32()), Param("c", ty.i32())}, - ty.i32(), {Return(Mul(Add("a", "b"), "c"))}); - - Func("main", {}, ty.void_(), {CallStmt(Call("ignore", Call("f", 1, 2, 3)))}, - { - Stage(ast::PipelineStage::kCompute), - WorkgroupSize(1), - }); - - GeneratorImpl& gen = Build(); - - ASSERT_TRUE(gen.Generate()) << gen.error(); - EXPECT_EQ(gen.result(), R"(int f(int a, int b, int c) { - return ((a + b) * c); -} - -[numthreads(1, 1, 1)] -void main() { - f(1, 2, 3); - return; -} -)"); -} - } // namespace } // namespace hlsl } // namespace writer diff --git a/src/writer/msl/generator_impl.cc b/src/writer/msl/generator_impl.cc index 3b09b62def..cce08b169e 100644 --- a/src/writer/msl/generator_impl.cc +++ b/src/writer/msl/generator_impl.cc @@ -627,13 +627,6 @@ bool GeneratorImpl::EmitIntrinsicCall(std::ostream& out, out << "threadgroup_barrier(mem_flags::mem_threadgroup)"; return true; } - case sem::IntrinsicType::kIgnore: { // [DEPRECATED] - out << "(void) "; - if (!EmitExpression(out, expr->args[0])) { - return false; - } - return true; - } case sem::IntrinsicType::kLength: { auto* sem = builder_.Sem().Get(expr->args[0]); diff --git a/src/writer/spirv/builder.cc b/src/writer/spirv/builder.cc index 9c37b47925..f405143c8b 100644 --- a/src/writer/spirv/builder.cc +++ b/src/writer/spirv/builder.cc @@ -2460,14 +2460,6 @@ uint32_t Builder::GenerateIntrinsicCall(const sem::Call* call, case IntrinsicType::kFwidthFine: op = spv::Op::OpFwidthFine; break; - case IntrinsicType::kIgnore: // [DEPRECATED] - // Evaluate the single argument, return the non-zero result_id which isn't - // associated with any op (ignore returns void, so this cannot be used in - // an expression). - if (!get_arg_as_value_id(0, false)) { - return 0; - } - return result_id; case IntrinsicType::kIsInf: op = spv::Op::OpIsInf; break; diff --git a/src/writer/spirv/builder_intrinsic_test.cc b/src/writer/spirv/builder_intrinsic_test.cc index 114885b06a..5205ceceea 100644 --- a/src/writer/spirv/builder_intrinsic_test.cc +++ b/src/writer/spirv/builder_intrinsic_test.cc @@ -2556,45 +2556,6 @@ OpReturn Validate(b); } -TEST_F(IntrinsicBuilderTest, Call_Ignore) { - Func("f", {Param("a", ty.i32()), Param("b", ty.i32()), Param("c", ty.i32())}, - ty.i32(), {Return(Mul(Add("a", "b"), "c"))}); - - Func("main", {}, ty.void_(), - { - CallStmt(Call("ignore", Call("f", 1, 2, 3))), - }, - { - Stage(ast::PipelineStage::kCompute), - WorkgroupSize(1), - }); - - spirv::Builder& b = Build(); - - ASSERT_TRUE(b.Build()) << b.error(); - - ASSERT_EQ(b.functions().size(), 2u); - - auto* expected_types = R"(%2 = OpTypeInt 32 1 -%1 = OpTypeFunction %2 %2 %2 %2 -%11 = OpTypeVoid -%10 = OpTypeFunction %11 -%16 = OpConstant %2 1 -%17 = OpConstant %2 2 -%18 = OpConstant %2 3 -)"; - auto got_types = DumpInstructions(b.types()); - EXPECT_EQ(expected_types, got_types); - - auto* expected_instructions = R"(%15 = OpFunctionCall %2 %3 %16 %17 %18 -OpReturn -)"; - auto got_instructions = DumpInstructions(b.functions()[1].instructions()); - EXPECT_EQ(expected_instructions, got_instructions); - - Validate(b); -} - } // namespace } // namespace spirv } // namespace writer diff --git a/test/intrinsics/gen/ignore/2a6ac2.wgsl b/test/intrinsics/gen/ignore/2a6ac2.wgsl deleted file mode 100644 index b7543077e6..0000000000 --- a/test/intrinsics/gen/ignore/2a6ac2.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: texture_depth_multisampled_2d; - -// fn ignore(texture_depth_multisampled_2d) -fn ignore_2a6ac2() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_2a6ac2(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_2a6ac2(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_2a6ac2(); -} diff --git a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl b/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl deleted file mode 100644 index 54535770b3..0000000000 --- a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d; - -fn ignore_2a6ac2() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_2a6ac2(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_2a6ac2(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_2a6ac2(); -} - -Failed to generate: intrinsics/gen/ignore/2a6ac2.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d; - -fn ignore_2a6ac2() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_2a6ac2(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_2a6ac2(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_2a6ac2(); -} - -Failed to generate: intrinsics/gen/ignore/2a6ac2.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d; - -fn ignore_2a6ac2() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_2a6ac2(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_2a6ac2(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_2a6ac2(); -} - -Failed to generate: intrinsics/gen/ignore/2a6ac2.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.hlsl deleted file mode 100644 index 47af8a9aa1..0000000000 --- a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -Texture2DMS arg_0 : register(t0, space1); - -void ignore_2a6ac2() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_2a6ac2(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_2a6ac2(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_2a6ac2(); - return; -} diff --git a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.msl b/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.msl deleted file mode 100644 index 9a20adfbbe..0000000000 --- a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_2a6ac2(depth2d_ms tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(depth2d_ms tint_symbol_2) { - ignore_2a6ac2(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(depth2d_ms tint_symbol_3 [[texture(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(depth2d_ms tint_symbol_4 [[texture(0)]]) { - ignore_2a6ac2(tint_symbol_4); - return; -} - -kernel void compute_main(depth2d_ms tint_symbol_5 [[texture(0)]]) { - ignore_2a6ac2(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.spvasm deleted file mode 100644 index eb692dbcc5..0000000000 --- a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.spvasm +++ /dev/null @@ -1,69 +0,0 @@ -intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_2a6ac2 "ignore_2a6ac2" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeImage %float 2D 1 0 1 1 Unknown -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_2a6ac2 = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_2a6ac2 - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_2a6ac2 - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_2a6ac2 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.wgsl deleted file mode 100644 index c6a214563e..0000000000 --- a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d; - -fn ignore_2a6ac2() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_2a6ac2(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_2a6ac2(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_2a6ac2(); -} diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl b/test/intrinsics/gen/ignore/5016e5.wgsl deleted file mode 100644 index 0e49fb6dae..0000000000 --- a/test/intrinsics/gen/ignore/5016e5.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: sampler; - -// fn ignore(sampler) -fn ignore_5016e5() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5016e5(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5016e5(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5016e5(); -} diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl deleted file mode 100644 index 735832311f..0000000000 --- a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : sampler; - -fn ignore_5016e5() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5016e5(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5016e5(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5016e5(); -} - -Failed to generate: intrinsics/gen/ignore/5016e5.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : sampler; - -fn ignore_5016e5() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5016e5(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5016e5(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5016e5(); -} - -Failed to generate: intrinsics/gen/ignore/5016e5.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : sampler; - -fn ignore_5016e5() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5016e5(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5016e5(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5016e5(); -} - -Failed to generate: intrinsics/gen/ignore/5016e5.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl deleted file mode 100644 index de7b9a26ed..0000000000 --- a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -SamplerState arg_0 : register(s0, space1); - -void ignore_5016e5() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_5016e5(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_5016e5(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_5016e5(); - return; -} diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.msl b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.msl deleted file mode 100644 index 23334434bb..0000000000 --- a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_5016e5(sampler tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(sampler tint_symbol_2) { - ignore_5016e5(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(sampler tint_symbol_3 [[sampler(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(sampler tint_symbol_4 [[sampler(0)]]) { - ignore_5016e5(tint_symbol_4); - return; -} - -kernel void compute_main(sampler tint_symbol_5 [[sampler(0)]]) { - ignore_5016e5(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.spvasm deleted file mode 100644 index 756cb3a575..0000000000 --- a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.spvasm +++ /dev/null @@ -1,69 +0,0 @@ -intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_5016e5 "ignore_5016e5" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeSampler -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_5016e5 = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_5016e5 - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_5016e5 - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_5016e5 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.wgsl deleted file mode 100644 index 2d1c7b668f..0000000000 --- a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : sampler; - -fn ignore_5016e5() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5016e5(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5016e5(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5016e5(); -} diff --git a/test/intrinsics/gen/ignore/509355.wgsl b/test/intrinsics/gen/ignore/509355.wgsl deleted file mode 100644 index 30557aad62..0000000000 --- a/test/intrinsics/gen/ignore/509355.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: texture_depth_cube; - -// fn ignore(texture_depth_cube) -fn ignore_509355() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_509355(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_509355(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_509355(); -} diff --git a/test/intrinsics/gen/ignore/509355.wgsl.expected.glsl b/test/intrinsics/gen/ignore/509355.wgsl.expected.glsl deleted file mode 100644 index 82ea1102b5..0000000000 --- a/test/intrinsics/gen/ignore/509355.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_cube; - -fn ignore_509355() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_509355(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_509355(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_509355(); -} - -Failed to generate: intrinsics/gen/ignore/509355.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_cube; - -fn ignore_509355() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_509355(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_509355(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_509355(); -} - -Failed to generate: intrinsics/gen/ignore/509355.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_cube; - -fn ignore_509355() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_509355(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_509355(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_509355(); -} - -Failed to generate: intrinsics/gen/ignore/509355.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl deleted file mode 100644 index bb7be67d38..0000000000 --- a/test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -TextureCube arg_0 : register(t0, space1); - -void ignore_509355() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_509355(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_509355(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_509355(); - return; -} diff --git a/test/intrinsics/gen/ignore/509355.wgsl.expected.msl b/test/intrinsics/gen/ignore/509355.wgsl.expected.msl deleted file mode 100644 index 2ce8ae4e2a..0000000000 --- a/test/intrinsics/gen/ignore/509355.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_509355(depthcube tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(depthcube tint_symbol_2) { - ignore_509355(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(depthcube tint_symbol_3 [[texture(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(depthcube tint_symbol_4 [[texture(0)]]) { - ignore_509355(tint_symbol_4); - return; -} - -kernel void compute_main(depthcube tint_symbol_5 [[texture(0)]]) { - ignore_509355(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/509355.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/509355.wgsl.expected.spvasm deleted file mode 100644 index 62f678d724..0000000000 --- a/test/intrinsics/gen/ignore/509355.wgsl.expected.spvasm +++ /dev/null @@ -1,69 +0,0 @@ -intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_509355 "ignore_509355" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeImage %float Cube 1 0 0 1 Unknown -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_509355 = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_509355 - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_509355 - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_509355 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/509355.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/509355.wgsl.expected.wgsl deleted file mode 100644 index 39d4815b53..0000000000 --- a/test/intrinsics/gen/ignore/509355.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : texture_depth_cube; - -fn ignore_509355() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_509355(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_509355(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_509355(); -} diff --git a/test/intrinsics/gen/ignore/51aeb7.wgsl b/test/intrinsics/gen/ignore/51aeb7.wgsl deleted file mode 100644 index 1f986d2a68..0000000000 --- a/test/intrinsics/gen/ignore/51aeb7.wgsl +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - - -// fn ignore(i32) -fn ignore_51aeb7() { - ignore(1); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_51aeb7(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_51aeb7(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_51aeb7(); -} diff --git a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.glsl b/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.glsl deleted file mode 100644 index 8f90b5221e..0000000000 --- a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.glsl +++ /dev/null @@ -1,54 +0,0 @@ -intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1); - ^^^^^^ - -#version 310 es -precision mediump float; - -void ignore_51aeb7() { - 1; -} - -vec4 vertex_main() { - ignore_51aeb7(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); -} - -void main() { - vec4 inner_result = vertex_main(); - gl_Position = inner_result; - gl_Position.y = -(gl_Position.y); - gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); - return; -} -#version 310 es -precision mediump float; - -void ignore_51aeb7() { - 1; -} - -void fragment_main() { - ignore_51aeb7(); -} - -void main() { - fragment_main(); - return; -} -#version 310 es -precision mediump float; - -void ignore_51aeb7() { - 1; -} - -void compute_main() { - ignore_51aeb7(); -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - compute_main(); - return; -} diff --git a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl deleted file mode 100644 index 4ddef13f8c..0000000000 --- a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl +++ /dev/null @@ -1,34 +0,0 @@ -intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1); - ^^^^^^ - -void ignore_51aeb7() { - 1; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_51aeb7(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_51aeb7(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_51aeb7(); - return; -} diff --git a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.msl b/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.msl deleted file mode 100644 index 73ce8fb238..0000000000 --- a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_51aeb7() { - (void) 1; -} - -float4 vertex_main_inner() { - ignore_51aeb7(); - return float4(); -} - -vertex tint_symbol vertex_main() { - float4 const inner_result = vertex_main_inner(); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main() { - ignore_51aeb7(); - return; -} - -kernel void compute_main() { - ignore_51aeb7(); - return; -} - diff --git a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.spvasm deleted file mode 100644 index 0ea7b823b9..0000000000 --- a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.spvasm +++ /dev/null @@ -1,65 +0,0 @@ -intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 30 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %ignore_51aeb7 "ignore_51aeb7" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %void = OpTypeVoid - %9 = OpTypeFunction %void - %int = OpTypeInt 32 1 - %int_1 = OpConstant %int 1 - %16 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_51aeb7 = OpFunction %void None %9 - %12 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %16 - %18 = OpLabel - %19 = OpFunctionCall %void %ignore_51aeb7 - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %9 - %21 = OpLabel - %22 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %22 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %9 - %25 = OpLabel - %26 = OpFunctionCall %void %ignore_51aeb7 - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %9 - %28 = OpLabel - %29 = OpFunctionCall %void %ignore_51aeb7 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.wgsl deleted file mode 100644 index 9ecccc7b42..0000000000 --- a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.wgsl +++ /dev/null @@ -1,23 +0,0 @@ -intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1); - ^^^^^^ - -fn ignore_51aeb7() { - ignore(1); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_51aeb7(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_51aeb7(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_51aeb7(); -} diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl b/test/intrinsics/gen/ignore/5c9edf.wgsl deleted file mode 100644 index e53a664577..0000000000 --- a/test/intrinsics/gen/ignore/5c9edf.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: texture_external; - -// fn ignore(texture_external) -fn ignore_5c9edf() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5c9edf(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5c9edf(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5c9edf(); -} diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl deleted file mode 100644 index 26c1686433..0000000000 --- a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_external; - -fn ignore_5c9edf() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5c9edf(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5c9edf(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5c9edf(); -} - -Failed to generate: intrinsics/gen/ignore/5c9edf.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_external; - -fn ignore_5c9edf() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5c9edf(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5c9edf(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5c9edf(); -} - -Failed to generate: intrinsics/gen/ignore/5c9edf.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_external; - -fn ignore_5c9edf() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5c9edf(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5c9edf(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5c9edf(); -} - -Failed to generate: intrinsics/gen/ignore/5c9edf.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl deleted file mode 100644 index 2672489696..0000000000 --- a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -Texture2D arg_0 : register(t0, space1); - -void ignore_5c9edf() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_5c9edf(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_5c9edf(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_5c9edf(); - return; -} diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.msl b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.msl deleted file mode 100644 index f7f3fd0fee..0000000000 --- a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_5c9edf(texture2d tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(texture2d tint_symbol_2) { - ignore_5c9edf(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(texture2d tint_symbol_3 [[texture(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(texture2d tint_symbol_4 [[texture(0)]]) { - ignore_5c9edf(tint_symbol_4); - return; -} - -kernel void compute_main(texture2d tint_symbol_5 [[texture(0)]]) { - ignore_5c9edf(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.spvasm deleted file mode 100644 index d2e6dce29c..0000000000 --- a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.spvasm +++ /dev/null @@ -1,69 +0,0 @@ -intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_5c9edf "ignore_5c9edf" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeImage %float 2D 0 0 0 1 Unknown -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_5c9edf = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_5c9edf - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_5c9edf - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_5c9edf - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.wgsl deleted file mode 100644 index 8249e9ab38..0000000000 --- a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : texture_external; - -fn ignore_5c9edf() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_5c9edf(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_5c9edf(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_5c9edf(); -} diff --git a/test/intrinsics/gen/ignore/6698df.wgsl b/test/intrinsics/gen/ignore/6698df.wgsl deleted file mode 100644 index b14856c6ce..0000000000 --- a/test/intrinsics/gen/ignore/6698df.wgsl +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - - -// fn ignore(u32) -fn ignore_6698df() { - ignore(1u); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_6698df(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_6698df(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_6698df(); -} diff --git a/test/intrinsics/gen/ignore/6698df.wgsl.expected.glsl b/test/intrinsics/gen/ignore/6698df.wgsl.expected.glsl deleted file mode 100644 index 1806507634..0000000000 --- a/test/intrinsics/gen/ignore/6698df.wgsl.expected.glsl +++ /dev/null @@ -1,54 +0,0 @@ -intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1u); - ^^^^^^ - -#version 310 es -precision mediump float; - -void ignore_6698df() { - 1u; -} - -vec4 vertex_main() { - ignore_6698df(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); -} - -void main() { - vec4 inner_result = vertex_main(); - gl_Position = inner_result; - gl_Position.y = -(gl_Position.y); - gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); - return; -} -#version 310 es -precision mediump float; - -void ignore_6698df() { - 1u; -} - -void fragment_main() { - ignore_6698df(); -} - -void main() { - fragment_main(); - return; -} -#version 310 es -precision mediump float; - -void ignore_6698df() { - 1u; -} - -void compute_main() { - ignore_6698df(); -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - compute_main(); - return; -} diff --git a/test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl deleted file mode 100644 index 1e6df5ec11..0000000000 --- a/test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl +++ /dev/null @@ -1,34 +0,0 @@ -intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1u); - ^^^^^^ - -void ignore_6698df() { - 1u; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_6698df(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_6698df(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_6698df(); - return; -} diff --git a/test/intrinsics/gen/ignore/6698df.wgsl.expected.msl b/test/intrinsics/gen/ignore/6698df.wgsl.expected.msl deleted file mode 100644 index adb2f8439a..0000000000 --- a/test/intrinsics/gen/ignore/6698df.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1u); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_6698df() { - (void) 1u; -} - -float4 vertex_main_inner() { - ignore_6698df(); - return float4(); -} - -vertex tint_symbol vertex_main() { - float4 const inner_result = vertex_main_inner(); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main() { - ignore_6698df(); - return; -} - -kernel void compute_main() { - ignore_6698df(); - return; -} - diff --git a/test/intrinsics/gen/ignore/6698df.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/6698df.wgsl.expected.spvasm deleted file mode 100644 index 41705ca063..0000000000 --- a/test/intrinsics/gen/ignore/6698df.wgsl.expected.spvasm +++ /dev/null @@ -1,65 +0,0 @@ -intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1u); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 30 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %ignore_6698df "ignore_6698df" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %void = OpTypeVoid - %9 = OpTypeFunction %void - %uint = OpTypeInt 32 0 - %uint_1 = OpConstant %uint 1 - %16 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_6698df = OpFunction %void None %9 - %12 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %16 - %18 = OpLabel - %19 = OpFunctionCall %void %ignore_6698df - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %9 - %21 = OpLabel - %22 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %22 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %9 - %25 = OpLabel - %26 = OpFunctionCall %void %ignore_6698df - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %9 - %28 = OpLabel - %29 = OpFunctionCall %void %ignore_6698df - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/6698df.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/6698df.wgsl.expected.wgsl deleted file mode 100644 index 17542767eb..0000000000 --- a/test/intrinsics/gen/ignore/6698df.wgsl.expected.wgsl +++ /dev/null @@ -1,23 +0,0 @@ -intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1u); - ^^^^^^ - -fn ignore_6698df() { - ignore(1u); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_6698df(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_6698df(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_6698df(); -} diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl b/test/intrinsics/gen/ignore/ad88be.wgsl deleted file mode 100644 index 3812ea10c9..0000000000 --- a/test/intrinsics/gen/ignore/ad88be.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: texture_depth_cube_array; - -// fn ignore(texture_depth_cube_array) -fn ignore_ad88be() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_ad88be(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_ad88be(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_ad88be(); -} diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl deleted file mode 100644 index c780680546..0000000000 --- a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_cube_array; - -fn ignore_ad88be() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_ad88be(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_ad88be(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_ad88be(); -} - -Failed to generate: intrinsics/gen/ignore/ad88be.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_cube_array; - -fn ignore_ad88be() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_ad88be(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_ad88be(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_ad88be(); -} - -Failed to generate: intrinsics/gen/ignore/ad88be.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_cube_array; - -fn ignore_ad88be() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_ad88be(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_ad88be(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_ad88be(); -} - -Failed to generate: intrinsics/gen/ignore/ad88be.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl deleted file mode 100644 index 1d14d76f03..0000000000 --- a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -TextureCubeArray arg_0 : register(t0, space1); - -void ignore_ad88be() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_ad88be(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_ad88be(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_ad88be(); - return; -} diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.msl b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.msl deleted file mode 100644 index 44aa6663d1..0000000000 --- a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_ad88be(depthcube_array tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(depthcube_array tint_symbol_2) { - ignore_ad88be(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(depthcube_array tint_symbol_3 [[texture(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(depthcube_array tint_symbol_4 [[texture(0)]]) { - ignore_ad88be(tint_symbol_4); - return; -} - -kernel void compute_main(depthcube_array tint_symbol_5 [[texture(0)]]) { - ignore_ad88be(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.spvasm deleted file mode 100644 index 0a90072c03..0000000000 --- a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.spvasm +++ /dev/null @@ -1,70 +0,0 @@ -intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpCapability SampledCubeArray - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_ad88be "ignore_ad88be" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeImage %float Cube 1 1 0 1 Unknown -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_ad88be = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_ad88be - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_ad88be - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_ad88be - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.wgsl deleted file mode 100644 index 08fa4ead5c..0000000000 --- a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : texture_depth_cube_array; - -fn ignore_ad88be() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_ad88be(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_ad88be(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_ad88be(); -} diff --git a/test/intrinsics/gen/ignore/b469af.wgsl b/test/intrinsics/gen/ignore/b469af.wgsl deleted file mode 100644 index a640d8b871..0000000000 --- a/test/intrinsics/gen/ignore/b469af.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: sampler_comparison; - -// fn ignore(sampler_comparison) -fn ignore_b469af() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_b469af(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_b469af(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_b469af(); -} diff --git a/test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl b/test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl deleted file mode 100644 index b2b81de036..0000000000 --- a/test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : sampler_comparison; - -fn ignore_b469af() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_b469af(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_b469af(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_b469af(); -} - -Failed to generate: intrinsics/gen/ignore/b469af.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : sampler_comparison; - -fn ignore_b469af() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_b469af(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_b469af(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_b469af(); -} - -Failed to generate: intrinsics/gen/ignore/b469af.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : sampler_comparison; - -fn ignore_b469af() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_b469af(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_b469af(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_b469af(); -} - -Failed to generate: intrinsics/gen/ignore/b469af.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl deleted file mode 100644 index 94f74f81ca..0000000000 --- a/test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -SamplerComparisonState arg_0 : register(s0, space1); - -void ignore_b469af() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_b469af(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_b469af(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_b469af(); - return; -} diff --git a/test/intrinsics/gen/ignore/b469af.wgsl.expected.msl b/test/intrinsics/gen/ignore/b469af.wgsl.expected.msl deleted file mode 100644 index 8b5c563fe3..0000000000 --- a/test/intrinsics/gen/ignore/b469af.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_b469af(sampler tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(sampler tint_symbol_2) { - ignore_b469af(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(sampler tint_symbol_3 [[sampler(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(sampler tint_symbol_4 [[sampler(0)]]) { - ignore_b469af(tint_symbol_4); - return; -} - -kernel void compute_main(sampler tint_symbol_5 [[sampler(0)]]) { - ignore_b469af(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/b469af.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/b469af.wgsl.expected.spvasm deleted file mode 100644 index 55b665a2b6..0000000000 --- a/test/intrinsics/gen/ignore/b469af.wgsl.expected.spvasm +++ /dev/null @@ -1,69 +0,0 @@ -intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_b469af "ignore_b469af" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeSampler -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_b469af = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_b469af - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_b469af - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_b469af - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/b469af.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/b469af.wgsl.expected.wgsl deleted file mode 100644 index 0c42c5c4ed..0000000000 --- a/test/intrinsics/gen/ignore/b469af.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : sampler_comparison; - -fn ignore_b469af() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_b469af(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_b469af(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_b469af(); -} diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl b/test/intrinsics/gen/ignore/c8a0ee.wgsl deleted file mode 100644 index 773996bf9a..0000000000 --- a/test/intrinsics/gen/ignore/c8a0ee.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: texture_depth_2d_array; - -// fn ignore(texture_depth_2d_array) -fn ignore_c8a0ee() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_c8a0ee(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_c8a0ee(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_c8a0ee(); -} diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl deleted file mode 100644 index e6999350ba..0000000000 --- a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_2d_array; - -fn ignore_c8a0ee() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_c8a0ee(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_c8a0ee(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_c8a0ee(); -} - -Failed to generate: intrinsics/gen/ignore/c8a0ee.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_2d_array; - -fn ignore_c8a0ee() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_c8a0ee(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_c8a0ee(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_c8a0ee(); -} - -Failed to generate: intrinsics/gen/ignore/c8a0ee.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_2d_array; - -fn ignore_c8a0ee() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_c8a0ee(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_c8a0ee(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_c8a0ee(); -} - -Failed to generate: intrinsics/gen/ignore/c8a0ee.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl deleted file mode 100644 index 15c8874b3d..0000000000 --- a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -Texture2DArray arg_0 : register(t0, space1); - -void ignore_c8a0ee() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_c8a0ee(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_c8a0ee(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_c8a0ee(); - return; -} diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.msl b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.msl deleted file mode 100644 index 82003942ef..0000000000 --- a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_c8a0ee(depth2d_array tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(depth2d_array tint_symbol_2) { - ignore_c8a0ee(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(depth2d_array tint_symbol_3 [[texture(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(depth2d_array tint_symbol_4 [[texture(0)]]) { - ignore_c8a0ee(tint_symbol_4); - return; -} - -kernel void compute_main(depth2d_array tint_symbol_5 [[texture(0)]]) { - ignore_c8a0ee(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.spvasm deleted file mode 100644 index df6bb4ed30..0000000000 --- a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.spvasm +++ /dev/null @@ -1,69 +0,0 @@ -intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_c8a0ee "ignore_c8a0ee" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeImage %float 2D 1 1 0 1 Unknown -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_c8a0ee = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_c8a0ee - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_c8a0ee - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_c8a0ee - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.wgsl deleted file mode 100644 index 6b3aa114cc..0000000000 --- a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : texture_depth_2d_array; - -fn ignore_c8a0ee() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_c8a0ee(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_c8a0ee(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_c8a0ee(); -} diff --git a/test/intrinsics/gen/ignore/d91a2f.wgsl b/test/intrinsics/gen/ignore/d91a2f.wgsl deleted file mode 100644 index 5bda0fbb97..0000000000 --- a/test/intrinsics/gen/ignore/d91a2f.wgsl +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - - -// fn ignore(f32) -fn ignore_d91a2f() { - ignore(1.0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_d91a2f(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_d91a2f(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_d91a2f(); -} diff --git a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.glsl b/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.glsl deleted file mode 100644 index 77c9713c84..0000000000 --- a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.glsl +++ /dev/null @@ -1,54 +0,0 @@ -intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1.0); - ^^^^^^ - -#version 310 es -precision mediump float; - -void ignore_d91a2f() { - 1.0f; -} - -vec4 vertex_main() { - ignore_d91a2f(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); -} - -void main() { - vec4 inner_result = vertex_main(); - gl_Position = inner_result; - gl_Position.y = -(gl_Position.y); - gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); - return; -} -#version 310 es -precision mediump float; - -void ignore_d91a2f() { - 1.0f; -} - -void fragment_main() { - ignore_d91a2f(); -} - -void main() { - fragment_main(); - return; -} -#version 310 es -precision mediump float; - -void ignore_d91a2f() { - 1.0f; -} - -void compute_main() { - ignore_d91a2f(); -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - compute_main(); - return; -} diff --git a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl deleted file mode 100644 index 8e83bc0e7a..0000000000 --- a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl +++ /dev/null @@ -1,34 +0,0 @@ -intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1.0); - ^^^^^^ - -void ignore_d91a2f() { - 1.0f; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_d91a2f(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_d91a2f(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_d91a2f(); - return; -} diff --git a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.msl b/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.msl deleted file mode 100644 index 4e1cb504c6..0000000000 --- a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1.0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_d91a2f() { - (void) 1.0f; -} - -float4 vertex_main_inner() { - ignore_d91a2f(); - return float4(); -} - -vertex tint_symbol vertex_main() { - float4 const inner_result = vertex_main_inner(); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main() { - ignore_d91a2f(); - return; -} - -kernel void compute_main() { - ignore_d91a2f(); - return; -} - diff --git a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.spvasm deleted file mode 100644 index 10b65e229a..0000000000 --- a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.spvasm +++ /dev/null @@ -1,63 +0,0 @@ -intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1.0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 28 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %ignore_d91a2f "ignore_d91a2f" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %void = OpTypeVoid - %9 = OpTypeFunction %void - %float_1 = OpConstant %float 1 - %15 = OpTypeFunction %v4float -%ignore_d91a2f = OpFunction %void None %9 - %12 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %15 - %17 = OpLabel - %18 = OpFunctionCall %void %ignore_d91a2f - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %9 - %20 = OpLabel - %21 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %21 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %9 - %23 = OpLabel - %24 = OpFunctionCall %void %ignore_d91a2f - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %9 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_d91a2f - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.wgsl deleted file mode 100644 index b877665b8e..0000000000 --- a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.wgsl +++ /dev/null @@ -1,23 +0,0 @@ -intrinsics/gen/ignore/d91a2f.wgsl:28:3 warning: use of deprecated intrinsic - ignore(1.0); - ^^^^^^ - -fn ignore_d91a2f() { - ignore(1.0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_d91a2f(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_d91a2f(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_d91a2f(); -} diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl b/test/intrinsics/gen/ignore/e0187b.wgsl deleted file mode 100644 index 0a7b36d913..0000000000 --- a/test/intrinsics/gen/ignore/e0187b.wgsl +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - -@group(1) @binding(0) var arg_0: texture_depth_2d; - -// fn ignore(texture_depth_2d) -fn ignore_e0187b() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_e0187b(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_e0187b(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_e0187b(); -} diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl deleted file mode 100644 index c07186c1f5..0000000000 --- a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl +++ /dev/null @@ -1,87 +0,0 @@ -SKIP: FAILED - -intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_2d; - -fn ignore_e0187b() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_e0187b(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_e0187b(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_e0187b(); -} - -Failed to generate: intrinsics/gen/ignore/e0187b.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_2d; - -fn ignore_e0187b() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_e0187b(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_e0187b(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_e0187b(); -} - -Failed to generate: intrinsics/gen/ignore/e0187b.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - - -@group(1) @binding(0) var arg_0 : texture_depth_2d; - -fn ignore_e0187b() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_e0187b(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_e0187b(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_e0187b(); -} - -Failed to generate: intrinsics/gen/ignore/e0187b.wgsl:29:10 error: unknown identifier: 'arg_0' - ignore(arg_0); - ^^^^^ - diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl deleted file mode 100644 index c9a27c42e8..0000000000 --- a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl +++ /dev/null @@ -1,36 +0,0 @@ -intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -Texture2D arg_0 : register(t0, space1); - -void ignore_e0187b() { - arg_0; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_e0187b(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_e0187b(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_e0187b(); - return; -} diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.msl b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.msl deleted file mode 100644 index 9783c87bf2..0000000000 --- a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_e0187b(depth2d tint_symbol_1) { - (void) tint_symbol_1; -} - -float4 vertex_main_inner(depth2d tint_symbol_2) { - ignore_e0187b(tint_symbol_2); - return float4(); -} - -vertex tint_symbol vertex_main(depth2d tint_symbol_3 [[texture(0)]]) { - float4 const inner_result = vertex_main_inner(tint_symbol_3); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main(depth2d tint_symbol_4 [[texture(0)]]) { - ignore_e0187b(tint_symbol_4); - return; -} - -kernel void compute_main(depth2d tint_symbol_5 [[texture(0)]]) { - ignore_e0187b(tint_symbol_5); - return; -} - diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.spvasm deleted file mode 100644 index 83b961656a..0000000000 --- a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.spvasm +++ /dev/null @@ -1,69 +0,0 @@ -intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 31 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %arg_0 "arg_0" - OpName %ignore_e0187b "ignore_e0187b" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - OpDecorate %arg_0 DescriptorSet 1 - OpDecorate %arg_0 Binding 0 - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %11 = OpTypeImage %float 2D 1 0 0 1 Unknown -%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 - %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant - %void = OpTypeVoid - %12 = OpTypeFunction %void - %17 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_e0187b = OpFunction %void None %12 - %15 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %17 - %19 = OpLabel - %20 = OpFunctionCall %void %ignore_e0187b - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %12 - %22 = OpLabel - %23 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %23 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %12 - %26 = OpLabel - %27 = OpFunctionCall %void %ignore_e0187b - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %12 - %29 = OpLabel - %30 = OpFunctionCall %void %ignore_e0187b - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.wgsl deleted file mode 100644 index 0c3eb9d41f..0000000000 --- a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.wgsl +++ /dev/null @@ -1,25 +0,0 @@ -intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic - ignore(arg_0); - ^^^^^^ - -@group(1) @binding(0) var arg_0 : texture_depth_2d; - -fn ignore_e0187b() { - ignore(arg_0); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_e0187b(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_e0187b(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_e0187b(); -} diff --git a/test/intrinsics/gen/ignore/f414a6.wgsl b/test/intrinsics/gen/ignore/f414a6.wgsl deleted file mode 100644 index a0323925bc..0000000000 --- a/test/intrinsics/gen/ignore/f414a6.wgsl +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2021 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//////////////////////////////////////////////////////////////////////////////// -// File generated by tools/intrinsic-gen -// using the template: -// test/intrinsics/intrinsics.wgsl.tmpl -// and the intrinsic defintion file: -// src/intrinsics.def -// -// Do not modify this file directly -//////////////////////////////////////////////////////////////////////////////// - - -// fn ignore(bool) -fn ignore_f414a6() { - ignore(bool()); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_f414a6(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_f414a6(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_f414a6(); -} diff --git a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.glsl b/test/intrinsics/gen/ignore/f414a6.wgsl.expected.glsl deleted file mode 100644 index 0a47e1e2d0..0000000000 --- a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.glsl +++ /dev/null @@ -1,54 +0,0 @@ -intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic - ignore(bool()); - ^^^^^^ - -#version 310 es -precision mediump float; - -void ignore_f414a6() { - false; -} - -vec4 vertex_main() { - ignore_f414a6(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); -} - -void main() { - vec4 inner_result = vertex_main(); - gl_Position = inner_result; - gl_Position.y = -(gl_Position.y); - gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); - return; -} -#version 310 es -precision mediump float; - -void ignore_f414a6() { - false; -} - -void fragment_main() { - ignore_f414a6(); -} - -void main() { - fragment_main(); - return; -} -#version 310 es -precision mediump float; - -void ignore_f414a6() { - false; -} - -void compute_main() { - ignore_f414a6(); -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - compute_main(); - return; -} diff --git a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl deleted file mode 100644 index 53d8986d13..0000000000 --- a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl +++ /dev/null @@ -1,34 +0,0 @@ -intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic - ignore(bool()); - ^^^^^^ - -void ignore_f414a6() { - false; -} - -struct tint_symbol { - float4 value : SV_Position; -}; - -float4 vertex_main_inner() { - ignore_f414a6(); - return float4(0.0f, 0.0f, 0.0f, 0.0f); -} - -tint_symbol vertex_main() { - const float4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = (tint_symbol)0; - wrapper_result.value = inner_result; - return wrapper_result; -} - -void fragment_main() { - ignore_f414a6(); - return; -} - -[numthreads(1, 1, 1)] -void compute_main() { - ignore_f414a6(); - return; -} diff --git a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.msl b/test/intrinsics/gen/ignore/f414a6.wgsl.expected.msl deleted file mode 100644 index 9f5a5bcee8..0000000000 --- a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.msl +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic - ignore(bool()); - ^^^^^^ - -#include - -using namespace metal; -struct tint_symbol { - float4 value [[position]]; -}; - -void ignore_f414a6() { - (void) bool(); -} - -float4 vertex_main_inner() { - ignore_f414a6(); - return float4(); -} - -vertex tint_symbol vertex_main() { - float4 const inner_result = vertex_main_inner(); - tint_symbol wrapper_result = {}; - wrapper_result.value = inner_result; - return wrapper_result; -} - -fragment void fragment_main() { - ignore_f414a6(); - return; -} - -kernel void compute_main() { - ignore_f414a6(); - return; -} - diff --git a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.spvasm b/test/intrinsics/gen/ignore/f414a6.wgsl.expected.spvasm deleted file mode 100644 index 478b04c7b6..0000000000 --- a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.spvasm +++ /dev/null @@ -1,65 +0,0 @@ -intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic - ignore(bool()); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 30 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size - OpEntryPoint Fragment %fragment_main "fragment_main" - OpEntryPoint GLCompute %compute_main "compute_main" - OpExecutionMode %fragment_main OriginUpperLeft - OpExecutionMode %compute_main LocalSize 1 1 1 - OpName %value "value" - OpName %vertex_point_size "vertex_point_size" - OpName %ignore_f414a6 "ignore_f414a6" - OpName %vertex_main_inner "vertex_main_inner" - OpName %vertex_main "vertex_main" - OpName %fragment_main "fragment_main" - OpName %compute_main "compute_main" - OpDecorate %value BuiltIn Position - OpDecorate %vertex_point_size BuiltIn PointSize - %float = OpTypeFloat 32 - %v4float = OpTypeVector %float 4 -%_ptr_Output_v4float = OpTypePointer Output %v4float - %5 = OpConstantNull %v4float - %value = OpVariable %_ptr_Output_v4float Output %5 -%_ptr_Output_float = OpTypePointer Output %float - %8 = OpConstantNull %float -%vertex_point_size = OpVariable %_ptr_Output_float Output %8 - %void = OpTypeVoid - %9 = OpTypeFunction %void - %bool = OpTypeBool - %15 = OpConstantNull %bool - %16 = OpTypeFunction %v4float - %float_1 = OpConstant %float 1 -%ignore_f414a6 = OpFunction %void None %9 - %12 = OpLabel - OpReturn - OpFunctionEnd -%vertex_main_inner = OpFunction %v4float None %16 - %18 = OpLabel - %19 = OpFunctionCall %void %ignore_f414a6 - OpReturnValue %5 - OpFunctionEnd -%vertex_main = OpFunction %void None %9 - %21 = OpLabel - %22 = OpFunctionCall %v4float %vertex_main_inner - OpStore %value %22 - OpStore %vertex_point_size %float_1 - OpReturn - OpFunctionEnd -%fragment_main = OpFunction %void None %9 - %25 = OpLabel - %26 = OpFunctionCall %void %ignore_f414a6 - OpReturn - OpFunctionEnd -%compute_main = OpFunction %void None %9 - %28 = OpLabel - %29 = OpFunctionCall %void %ignore_f414a6 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.wgsl b/test/intrinsics/gen/ignore/f414a6.wgsl.expected.wgsl deleted file mode 100644 index bf60901c3c..0000000000 --- a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.wgsl +++ /dev/null @@ -1,23 +0,0 @@ -intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic - ignore(bool()); - ^^^^^^ - -fn ignore_f414a6() { - ignore(bool()); -} - -@stage(vertex) -fn vertex_main() -> @builtin(position) vec4 { - ignore_f414a6(); - return vec4(); -} - -@stage(fragment) -fn fragment_main() { - ignore_f414a6(); -} - -@stage(compute) @workgroup_size(1) -fn compute_main() { - ignore_f414a6(); -} diff --git a/test/intrinsics/ignore/call.wgsl b/test/intrinsics/ignore/call.wgsl deleted file mode 100644 index f7c03df686..0000000000 --- a/test/intrinsics/ignore/call.wgsl +++ /dev/null @@ -1,8 +0,0 @@ -fn f(a: i32, b: i32, c: i32) -> i32 { - return a * b + c; -} - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(f(1, 2, 3)); -} diff --git a/test/intrinsics/ignore/call.wgsl.expected.glsl b/test/intrinsics/ignore/call.wgsl.expected.glsl deleted file mode 100644 index e86c541afa..0000000000 --- a/test/intrinsics/ignore/call.wgsl.expected.glsl +++ /dev/null @@ -1,20 +0,0 @@ -intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic - ignore(f(1, 2, 3)); - ^^^^^^ - -#version 310 es -precision mediump float; - -int f(int a, int b, int c) { - return ((a * b) + c); -} - -void tint_symbol() { - f(1, 2, 3); -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - tint_symbol(); - return; -} diff --git a/test/intrinsics/ignore/call.wgsl.expected.hlsl b/test/intrinsics/ignore/call.wgsl.expected.hlsl deleted file mode 100644 index 7bec8e1d91..0000000000 --- a/test/intrinsics/ignore/call.wgsl.expected.hlsl +++ /dev/null @@ -1,13 +0,0 @@ -intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic - ignore(f(1, 2, 3)); - ^^^^^^ - -int f(int a, int b, int c) { - return ((a * b) + c); -} - -[numthreads(1, 1, 1)] -void main() { - f(1, 2, 3); - return; -} diff --git a/test/intrinsics/ignore/call.wgsl.expected.msl b/test/intrinsics/ignore/call.wgsl.expected.msl deleted file mode 100644 index f4a6280cd7..0000000000 --- a/test/intrinsics/ignore/call.wgsl.expected.msl +++ /dev/null @@ -1,16 +0,0 @@ -intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic - ignore(f(1, 2, 3)); - ^^^^^^ - -#include - -using namespace metal; -int f(int a, int b, int c) { - return as_type((as_type(as_type((as_type(a) * as_type(b)))) + as_type(c))); -} - -kernel void tint_symbol() { - (void) f(1, 2, 3); - return; -} - diff --git a/test/intrinsics/ignore/call.wgsl.expected.spvasm b/test/intrinsics/ignore/call.wgsl.expected.spvasm deleted file mode 100644 index 34b55c260e..0000000000 --- a/test/intrinsics/ignore/call.wgsl.expected.spvasm +++ /dev/null @@ -1,39 +0,0 @@ -intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic - ignore(f(1, 2, 3)); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 19 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint GLCompute %main "main" - OpExecutionMode %main LocalSize 1 1 1 - OpName %f "f" - OpName %a "a" - OpName %b "b" - OpName %c "c" - OpName %main "main" - %int = OpTypeInt 32 1 - %1 = OpTypeFunction %int %int %int %int - %void = OpTypeVoid - %10 = OpTypeFunction %void - %int_1 = OpConstant %int 1 - %int_2 = OpConstant %int 2 - %int_3 = OpConstant %int 3 - %f = OpFunction %int None %1 - %a = OpFunctionParameter %int - %b = OpFunctionParameter %int - %c = OpFunctionParameter %int - %7 = OpLabel - %8 = OpIMul %int %a %b - %9 = OpIAdd %int %8 %c - OpReturnValue %9 - OpFunctionEnd - %main = OpFunction %void None %10 - %13 = OpLabel - %15 = OpFunctionCall %int %f %int_1 %int_2 %int_3 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/ignore/call.wgsl.expected.wgsl b/test/intrinsics/ignore/call.wgsl.expected.wgsl deleted file mode 100644 index 49c50c7b12..0000000000 --- a/test/intrinsics/ignore/call.wgsl.expected.wgsl +++ /dev/null @@ -1,12 +0,0 @@ -intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic - ignore(f(1, 2, 3)); - ^^^^^^ - -fn f(a : i32, b : i32, c : i32) -> i32 { - return ((a * b) + c); -} - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(f(1, 2, 3)); -} diff --git a/test/intrinsics/ignore/runtime_array.wgsl b/test/intrinsics/ignore/runtime_array.wgsl deleted file mode 100644 index c76ba03379..0000000000 --- a/test/intrinsics/ignore/runtime_array.wgsl +++ /dev/null @@ -1,10 +0,0 @@ -struct S { - arr : array; -}; - -@binding(0) @group(0) var s : S; - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(s.arr); -} diff --git a/test/intrinsics/ignore/runtime_array.wgsl.expected.glsl b/test/intrinsics/ignore/runtime_array.wgsl.expected.glsl deleted file mode 100644 index 8061643dc9..0000000000 --- a/test/intrinsics/ignore/runtime_array.wgsl.expected.glsl +++ /dev/null @@ -1,19 +0,0 @@ -intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s.arr); - ^^^^^^ - -#version 310 es -precision mediump float; - -layout(binding = 0) buffer S_1 { - int arr[]; -} s; -void tint_symbol() { - s.arr; -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - tint_symbol(); - return; -} diff --git a/test/intrinsics/ignore/runtime_array.wgsl.expected.hlsl b/test/intrinsics/ignore/runtime_array.wgsl.expected.hlsl deleted file mode 100644 index dcbeba58a5..0000000000 --- a/test/intrinsics/ignore/runtime_array.wgsl.expected.hlsl +++ /dev/null @@ -1,11 +0,0 @@ -intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s.arr); - ^^^^^^ - -RWByteAddressBuffer s : register(u0, space0); - -[numthreads(1, 1, 1)] -void main() { - s; - return; -} diff --git a/test/intrinsics/ignore/runtime_array.wgsl.expected.msl b/test/intrinsics/ignore/runtime_array.wgsl.expected.msl deleted file mode 100644 index 47ea3dd9f1..0000000000 --- a/test/intrinsics/ignore/runtime_array.wgsl.expected.msl +++ /dev/null @@ -1,16 +0,0 @@ -intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s.arr); - ^^^^^^ - -#include - -using namespace metal; -struct S { - /* 0x0000 */ int arr[1]; -}; - -kernel void tint_symbol(device S* tint_symbol_1 [[buffer(0)]]) { - (void) (*(tint_symbol_1)).arr; - return; -} - diff --git a/test/intrinsics/ignore/runtime_array.wgsl.expected.spvasm b/test/intrinsics/ignore/runtime_array.wgsl.expected.spvasm deleted file mode 100644 index 925192687a..0000000000 --- a/test/intrinsics/ignore/runtime_array.wgsl.expected.spvasm +++ /dev/null @@ -1,37 +0,0 @@ -intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s.arr); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 15 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint GLCompute %main "main" - OpExecutionMode %main LocalSize 1 1 1 - OpName %S "S" - OpMemberName %S 0 "arr" - OpName %s "s" - OpName %main "main" - OpDecorate %S Block - OpMemberDecorate %S 0 Offset 0 - OpDecorate %_runtimearr_int ArrayStride 4 - OpDecorate %s Binding 0 - OpDecorate %s DescriptorSet 0 - %int = OpTypeInt 32 1 -%_runtimearr_int = OpTypeRuntimeArray %int - %S = OpTypeStruct %_runtimearr_int -%_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S - %s = OpVariable %_ptr_StorageBuffer_S StorageBuffer - %void = OpTypeVoid - %6 = OpTypeFunction %void - %uint = OpTypeInt 32 0 - %uint_0 = OpConstant %uint 0 -%_ptr_StorageBuffer__runtimearr_int = OpTypePointer StorageBuffer %_runtimearr_int - %main = OpFunction %void None %6 - %9 = OpLabel - %14 = OpAccessChain %_ptr_StorageBuffer__runtimearr_int %s %uint_0 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/ignore/runtime_array.wgsl.expected.wgsl b/test/intrinsics/ignore/runtime_array.wgsl.expected.wgsl deleted file mode 100644 index 310405a5f1..0000000000 --- a/test/intrinsics/ignore/runtime_array.wgsl.expected.wgsl +++ /dev/null @@ -1,14 +0,0 @@ -intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s.arr); - ^^^^^^ - -struct S { - arr : array; -} - -@binding(0) @group(0) var s : S; - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(s.arr); -} diff --git a/test/intrinsics/ignore/storage_buffer.wgsl b/test/intrinsics/ignore/storage_buffer.wgsl deleted file mode 100644 index 7243c04bc3..0000000000 --- a/test/intrinsics/ignore/storage_buffer.wgsl +++ /dev/null @@ -1,11 +0,0 @@ -struct S { - i : i32; -}; - -@binding(0) @group(0) var s : S; - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(s); - ignore(s.i); -} diff --git a/test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl b/test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl deleted file mode 100644 index 1504315161..0000000000 --- a/test/intrinsics/ignore/storage_buffer.wgsl.expected.glsl +++ /dev/null @@ -1,28 +0,0 @@ -intrinsics/ignore/storage_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s); - ^^^^^^ - -intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(s.i); - ^^^^^^ - -#version 310 es -precision mediump float; - -struct S { - int i; -}; - -layout(binding = 0) buffer S_1 { - int i; -} s; -void tint_symbol() { - s; - s.i; -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - tint_symbol(); - return; -} diff --git a/test/intrinsics/ignore/storage_buffer.wgsl.expected.hlsl b/test/intrinsics/ignore/storage_buffer.wgsl.expected.hlsl deleted file mode 100644 index f98fdf6adf..0000000000 --- a/test/intrinsics/ignore/storage_buffer.wgsl.expected.hlsl +++ /dev/null @@ -1,16 +0,0 @@ -intrinsics/ignore/storage_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s); - ^^^^^^ - -intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(s.i); - ^^^^^^ - -RWByteAddressBuffer s : register(u0, space0); - -[numthreads(1, 1, 1)] -void main() { - s; - s; - return; -} diff --git a/test/intrinsics/ignore/storage_buffer.wgsl.expected.msl b/test/intrinsics/ignore/storage_buffer.wgsl.expected.msl deleted file mode 100644 index 4db9c852a1..0000000000 --- a/test/intrinsics/ignore/storage_buffer.wgsl.expected.msl +++ /dev/null @@ -1,21 +0,0 @@ -intrinsics/ignore/storage_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s); - ^^^^^^ - -intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(s.i); - ^^^^^^ - -#include - -using namespace metal; -struct S { - /* 0x0000 */ int i; -}; - -kernel void tint_symbol(device S* tint_symbol_1 [[buffer(0)]]) { - (void) *(tint_symbol_1); - (void) (*(tint_symbol_1)).i; - return; -} - diff --git a/test/intrinsics/ignore/storage_buffer.wgsl.expected.spvasm b/test/intrinsics/ignore/storage_buffer.wgsl.expected.spvasm deleted file mode 100644 index ad1ba5b46b..0000000000 --- a/test/intrinsics/ignore/storage_buffer.wgsl.expected.spvasm +++ /dev/null @@ -1,39 +0,0 @@ -intrinsics/ignore/storage_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s); - ^^^^^^ - -intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(s.i); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 15 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint GLCompute %main "main" - OpExecutionMode %main LocalSize 1 1 1 - OpName %S "S" - OpMemberName %S 0 "i" - OpName %s "s" - OpName %main "main" - OpDecorate %S Block - OpMemberDecorate %S 0 Offset 0 - OpDecorate %s Binding 0 - OpDecorate %s DescriptorSet 0 - %int = OpTypeInt 32 1 - %S = OpTypeStruct %int -%_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S - %s = OpVariable %_ptr_StorageBuffer_S StorageBuffer - %void = OpTypeVoid - %5 = OpTypeFunction %void - %uint = OpTypeInt 32 0 - %uint_0 = OpConstant %uint 0 -%_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int - %main = OpFunction %void None %5 - %8 = OpLabel - %14 = OpAccessChain %_ptr_StorageBuffer_int %s %uint_0 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/ignore/storage_buffer.wgsl.expected.wgsl b/test/intrinsics/ignore/storage_buffer.wgsl.expected.wgsl deleted file mode 100644 index 4e69a8d5b3..0000000000 --- a/test/intrinsics/ignore/storage_buffer.wgsl.expected.wgsl +++ /dev/null @@ -1,19 +0,0 @@ -intrinsics/ignore/storage_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(s); - ^^^^^^ - -intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(s.i); - ^^^^^^ - -struct S { - i : i32; -} - -@binding(0) @group(0) var s : S; - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(s); - ignore(s.i); -} diff --git a/test/intrinsics/ignore/uniform_buffer.wgsl b/test/intrinsics/ignore/uniform_buffer.wgsl deleted file mode 100644 index 860867a504..0000000000 --- a/test/intrinsics/ignore/uniform_buffer.wgsl +++ /dev/null @@ -1,11 +0,0 @@ -struct S { - i : i32; -}; - -@binding(0) @group(0) var u : S; - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(u); - ignore(u.i); -} diff --git a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl b/test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl deleted file mode 100644 index 91b43696b8..0000000000 --- a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.glsl +++ /dev/null @@ -1,29 +0,0 @@ -intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(u); - ^^^^^^ - -intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(u.i); - ^^^^^^ - -#version 310 es -precision mediump float; - -struct S { - int i; -}; - -layout(binding = 0) uniform S_1 { - int i; -} u; - -void tint_symbol() { - u; - u.i; -} - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void main() { - tint_symbol(); - return; -} diff --git a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.hlsl b/test/intrinsics/ignore/uniform_buffer.wgsl.expected.hlsl deleted file mode 100644 index 96e0cb89b3..0000000000 --- a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.hlsl +++ /dev/null @@ -1,18 +0,0 @@ -intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(u); - ^^^^^^ - -intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(u.i); - ^^^^^^ - -cbuffer cbuffer_u : register(b0, space0) { - uint4 u[1]; -}; - -[numthreads(1, 1, 1)] -void main() { - u; - u; - return; -} diff --git a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.msl b/test/intrinsics/ignore/uniform_buffer.wgsl.expected.msl deleted file mode 100644 index bde29d348b..0000000000 --- a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.msl +++ /dev/null @@ -1,21 +0,0 @@ -intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(u); - ^^^^^^ - -intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(u.i); - ^^^^^^ - -#include - -using namespace metal; -struct S { - /* 0x0000 */ int i; -}; - -kernel void tint_symbol(const constant S* tint_symbol_1 [[buffer(0)]]) { - (void) *(tint_symbol_1); - (void) (*(tint_symbol_1)).i; - return; -} - diff --git a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.spvasm b/test/intrinsics/ignore/uniform_buffer.wgsl.expected.spvasm deleted file mode 100644 index a675c40073..0000000000 --- a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.spvasm +++ /dev/null @@ -1,40 +0,0 @@ -intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(u); - ^^^^^^ - -intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(u.i); - ^^^^^^ - -; SPIR-V -; Version: 1.3 -; Generator: Google Tint Compiler; 0 -; Bound: 15 -; Schema: 0 - OpCapability Shader - OpMemoryModel Logical GLSL450 - OpEntryPoint GLCompute %main "main" - OpExecutionMode %main LocalSize 1 1 1 - OpName %S "S" - OpMemberName %S 0 "i" - OpName %u "u" - OpName %main "main" - OpDecorate %S Block - OpMemberDecorate %S 0 Offset 0 - OpDecorate %u NonWritable - OpDecorate %u Binding 0 - OpDecorate %u DescriptorSet 0 - %int = OpTypeInt 32 1 - %S = OpTypeStruct %int -%_ptr_Uniform_S = OpTypePointer Uniform %S - %u = OpVariable %_ptr_Uniform_S Uniform - %void = OpTypeVoid - %5 = OpTypeFunction %void - %uint = OpTypeInt 32 0 - %uint_0 = OpConstant %uint 0 -%_ptr_Uniform_int = OpTypePointer Uniform %int - %main = OpFunction %void None %5 - %8 = OpLabel - %14 = OpAccessChain %_ptr_Uniform_int %u %uint_0 - OpReturn - OpFunctionEnd diff --git a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.wgsl b/test/intrinsics/ignore/uniform_buffer.wgsl.expected.wgsl deleted file mode 100644 index 7a256746e3..0000000000 --- a/test/intrinsics/ignore/uniform_buffer.wgsl.expected.wgsl +++ /dev/null @@ -1,19 +0,0 @@ -intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic - ignore(u); - ^^^^^^ - -intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic - ignore(u.i); - ^^^^^^ - -struct S { - i : i32; -} - -@binding(0) @group(0) var u : S; - -@stage(compute) @workgroup_size(1) -fn main() { - ignore(u); - ignore(u.i); -}