builtins: Add firstTrailingBit
Currently polyfilled for all backends.
HLSL should be able to map this to 'firstbitlow', but there might need
to be some special case handling for 0 (undocumented behavior). For now
just polyfill.
CTS tests: https://github.com/gpuweb/cts/pull/1003
Bug: tint:1367
Bug: tint:1449
Change-Id: I8125b32687196678906e5a9d056b4f2efd885073
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/81502
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
diff --git a/src/tint/builtin_table.inl b/src/tint/builtin_table.inl
index dd7120d..595866c 100644
--- a/src/tint/builtin_table.inl
+++ b/src/tint/builtin_table.inl
@@ -1720,31 +1720,31 @@
/* [78] */ 8,
/* [79] */ 0,
/* [80] */ 3,
- /* [81] */ 7,
+ /* [81] */ 5,
/* [82] */ 2,
/* [83] */ 5,
/* [84] */ 3,
- /* [85] */ 5,
+ /* [85] */ 17,
/* [86] */ 2,
- /* [87] */ 18,
+ /* [87] */ 7,
/* [88] */ 2,
- /* [89] */ 6,
+ /* [89] */ 18,
/* [90] */ 2,
- /* [91] */ 17,
+ /* [91] */ 6,
/* [92] */ 2,
- /* [93] */ 6,
- /* [94] */ 3,
- /* [95] */ 16,
- /* [96] */ 2,
+ /* [93] */ 16,
+ /* [94] */ 2,
+ /* [95] */ 6,
+ /* [96] */ 3,
/* [97] */ 19,
/* [98] */ 2,
/* [99] */ 20,
/* [100] */ 2,
/* [101] */ 33,
/* [102] */ 0,
- /* [103] */ 5,
+ /* [103] */ 35,
/* [104] */ 0,
- /* [105] */ 35,
+ /* [105] */ 5,
/* [106] */ 0,
/* [107] */ 7,
/* [108] */ 3,
@@ -1770,9 +1770,9 @@
/* [128] */ 2,
/* [129] */ 25,
/* [130] */ 23,
- /* [131] */ 22,
- /* [132] */ 24,
- /* [133] */ 14,
+ /* [131] */ 14,
+ /* [132] */ 22,
+ /* [133] */ 24,
/* [134] */ 26,
/* [135] */ 13,
/* [136] */ 31,
@@ -1790,7 +1790,7 @@
{
/* [0] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[91],
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [1] */
@@ -1800,7 +1800,7 @@
{
/* [2] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [3] */
@@ -1810,12 +1810,12 @@
{
/* [4] */
/* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [5] */
/* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [6] */
@@ -1825,7 +1825,7 @@
{
/* [7] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [8] */
@@ -1835,17 +1835,17 @@
{
/* [9] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [10] */
- /* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[85],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [11] */
- /* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[85],
+ /* usage */ ParameterUsage::kBias,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [12] */
@@ -1855,7 +1855,7 @@
{
/* [13] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[91],
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [14] */
@@ -1865,7 +1865,7 @@
{
/* [15] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [16] */
@@ -1885,7 +1885,7 @@
{
/* [19] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[91],
+ /* matcher indices */ &kMatcherIndices[99],
},
{
/* [20] */
@@ -1895,7 +1895,7 @@
{
/* [21] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [22] */
@@ -1904,38 +1904,38 @@
},
{
/* [23] */
- /* usage */ ParameterUsage::kBias,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kDdx,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [24] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kDdy,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [25] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
- },
- {
- /* [26] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
- },
- {
- /* [27] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [28] */
- /* usage */ ParameterUsage::kArrayIndex,
+ /* usage */ ParameterUsage::kComponent,
/* matcher indices */ &kMatcherIndices[55],
},
{
+ /* [26] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[117],
+ },
+ {
+ /* [27] */
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
+ },
+ {
+ /* [28] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[81],
+ },
+ {
/* [29] */
- /* usage */ ParameterUsage::kDepthRef,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [30] */
@@ -1944,38 +1944,38 @@
},
{
/* [31] */
- /* usage */ ParameterUsage::kComponent,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[89],
},
{
/* [32] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[117],
- },
- {
- /* [33] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [34] */
+ /* [33] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [34] */
+ /* usage */ ParameterUsage::kDdx,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [35] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kDdy,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [36] */
/* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [37] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [38] */
@@ -1985,37 +1985,37 @@
{
/* [39] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [40] */
- /* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [41] */
- /* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kDdx,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [42] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[93],
+ /* usage */ ParameterUsage::kDdy,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [43] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[99],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [44] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [45] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [46] */
@@ -2024,38 +2024,38 @@
},
{
/* [47] */
- /* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kDepthRef,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [48] */
- /* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [49] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* matcher indices */ &kMatcherIndices[93],
},
{
/* [50] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [51] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [52] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kDdx,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [53] */
- /* usage */ ParameterUsage::kDepthRef,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kDdy,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [54] */
@@ -2065,17 +2065,17 @@
{
/* [55] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[91],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [56] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [57] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [58] */
@@ -2084,13 +2084,13 @@
},
{
/* [59] */
- /* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[85],
+ /* usage */ ParameterUsage::kDepthRef,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [60] */
- /* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[85],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [61] */
@@ -2100,12 +2100,12 @@
{
/* [62] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [63] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [64] */
@@ -2114,8 +2114,8 @@
},
{
/* [65] */
- /* usage */ ParameterUsage::kDepthRef,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [66] */
@@ -2130,12 +2130,12 @@
{
/* [68] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [69] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [70] */
@@ -2144,8 +2144,8 @@
},
{
/* [71] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kDepthRef,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [72] */
@@ -2155,57 +2155,57 @@
{
/* [73] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [74] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [75] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [76] */
- /* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [77] */
- /* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [78] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
- },
- {
- /* [79] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
- },
- {
- /* [80] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
- },
- {
- /* [81] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [82] */
/* usage */ ParameterUsage::kDepthRef,
/* matcher indices */ &kMatcherIndices[12],
},
{
+ /* [77] */
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
+ },
+ {
+ /* [78] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[93],
+ },
+ {
+ /* [79] */
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
+ },
+ {
+ /* [80] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[81],
+ },
+ {
+ /* [81] */
+ /* usage */ ParameterUsage::kBias,
+ /* matcher indices */ &kMatcherIndices[12],
+ },
+ {
+ /* [82] */
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
+ },
+ {
/* [83] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[91],
+ /* matcher indices */ &kMatcherIndices[89],
},
{
/* [84] */
@@ -2215,67 +2215,67 @@
{
/* [85] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [86] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kBias,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [87] */
/* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [88] */
- /* usage */ ParameterUsage::kComponent,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[99],
},
{
/* [89] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[125],
- },
- {
- /* [90] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [91] */
+ /* [90] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
- /* [92] */
+ /* [91] */
/* usage */ ParameterUsage::kArrayIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
+ /* [92] */
+ /* usage */ ParameterUsage::kBias,
+ /* matcher indices */ &kMatcherIndices[12],
+ },
+ {
/* [93] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [94] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [95] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [96] */
- /* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kDepthRef,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [97] */
- /* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [98] */
@@ -2285,12 +2285,12 @@
{
/* [99] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [100] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [101] */
@@ -2315,7 +2315,7 @@
{
/* [105] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [106] */
@@ -2335,12 +2335,12 @@
{
/* [109] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [110] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [111] */
@@ -2354,28 +2354,28 @@
},
{
/* [113] */
- /* usage */ ParameterUsage::kComponent,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [114] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[117],
- },
- {
- /* [115] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [116] */
+ /* [115] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
+ },
+ {
+ /* [116] */
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [117] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [118] */
@@ -2385,12 +2385,12 @@
{
/* [119] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [120] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [121] */
@@ -2405,27 +2405,27 @@
{
/* [123] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[97],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [124] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [125] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [126] */
- /* usage */ ParameterUsage::kDdx,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [127] */
- /* usage */ ParameterUsage::kDdy,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kDepthRef,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [128] */
@@ -2435,12 +2435,12 @@
{
/* [129] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [130] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [131] */
@@ -2455,7 +2455,7 @@
{
/* [133] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
+ /* matcher indices */ &kMatcherIndices[93],
},
{
/* [134] */
@@ -2465,72 +2465,72 @@
{
/* [135] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [136] */
- /* usage */ ParameterUsage::kBias,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kDdx,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [137] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kDdy,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [138] */
- /* usage */ ParameterUsage::kComponent,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [139] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[115],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [140] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [141] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [142] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
- },
- {
- /* [143] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
- },
- {
- /* [144] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
- },
- {
- /* [145] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [146] */
/* usage */ ParameterUsage::kArrayIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
- /* [147] */
+ /* [142] */
/* usage */ ParameterUsage::kDepthRef,
/* matcher indices */ &kMatcherIndices[12],
},
{
+ /* [143] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[132],
+ },
+ {
+ /* [144] */
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[131],
+ },
+ {
+ /* [145] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[81],
+ },
+ {
+ /* [146] */
+ /* usage */ ParameterUsage::kDepthRef,
+ /* matcher indices */ &kMatcherIndices[12],
+ },
+ {
+ /* [147] */
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
+ },
+ {
/* [148] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [149] */
@@ -2540,12 +2540,12 @@
{
/* [150] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [151] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [152] */
@@ -2555,7 +2555,7 @@
{
/* [153] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
+ /* matcher indices */ &kMatcherIndices[89],
},
{
/* [154] */
@@ -2565,111 +2565,111 @@
{
/* [155] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [156] */
- /* usage */ ParameterUsage::kBias,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kDdx,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [157] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[93],
+ /* usage */ ParameterUsage::kDdy,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [158] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* usage */ ParameterUsage::kComponent,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [159] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[125],
+ },
+ {
+ /* [160] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [160] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
/* [161] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [162] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [163] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[97],
},
{
/* [164] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [165] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [166] */
- /* usage */ ParameterUsage::kDepthRef,
- /* matcher indices */ &kMatcherIndices[12],
- },
- {
- /* [167] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
- },
- {
- /* [168] */
- /* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[91],
},
{
+ /* [166] */
+ /* usage */ ParameterUsage::kDdx,
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [167] */
+ /* usage */ ParameterUsage::kDdy,
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [168] */
+ /* usage */ ParameterUsage::kComponent,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
/* [169] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[117],
+ },
+ {
+ /* [170] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [170] */
+ /* [171] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
- /* [171] */
+ /* [172] */
/* usage */ ParameterUsage::kArrayIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
- /* [172] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[12],
- },
- {
/* [173] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[93],
},
{
/* [174] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [175] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [176] */
- /* usage */ ParameterUsage::kDepthRef,
+ /* usage */ ParameterUsage::kLevel,
/* matcher indices */ &kMatcherIndices[12],
},
{
@@ -2680,7 +2680,7 @@
{
/* [178] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[99],
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [179] */
@@ -2690,7 +2690,7 @@
{
/* [180] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [181] */
@@ -2699,38 +2699,38 @@
},
{
/* [182] */
- /* usage */ ParameterUsage::kBias,
- /* matcher indices */ &kMatcherIndices[12],
- },
- {
- /* [183] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
- },
- {
- /* [184] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
- },
- {
- /* [185] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
- },
- {
- /* [186] */
/* usage */ ParameterUsage::kLevel,
/* matcher indices */ &kMatcherIndices[12],
},
{
+ /* [183] */
+ /* usage */ ParameterUsage::kComponent,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [184] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[115],
+ },
+ {
+ /* [185] */
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
+ },
+ {
+ /* [186] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[81],
+ },
+ {
/* [187] */
/* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[93],
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [188] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[91],
+ /* matcher indices */ &kMatcherIndices[89],
},
{
/* [189] */
@@ -2740,17 +2740,17 @@
{
/* [190] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [191] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [192] */
- /* usage */ ParameterUsage::kBias,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [193] */
@@ -2765,7 +2765,7 @@
{
/* [195] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [196] */
@@ -2780,22 +2780,22 @@
{
/* [198] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [199] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [200] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [201] */
- /* usage */ ParameterUsage::kDepthRef,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [202] */
@@ -2805,7 +2805,7 @@
{
/* [203] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [204] */
@@ -2815,7 +2815,7 @@
{
/* [205] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [206] */
@@ -2830,7 +2830,7 @@
{
/* [208] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [209] */
@@ -2840,22 +2840,22 @@
{
/* [210] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [211] */
- /* usage */ ParameterUsage::kLevel,
+ /* usage */ ParameterUsage::kArrayIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
/* [212] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [213] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [214] */
@@ -2865,7 +2865,7 @@
{
/* [215] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [216] */
@@ -2874,23 +2874,23 @@
},
{
/* [217] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kBias,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [218] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[133],
},
{
/* [219] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [220] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [221] */
@@ -2900,7 +2900,7 @@
{
/* [222] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[132],
+ /* matcher indices */ &kMatcherIndices[89],
},
{
/* [223] */
@@ -2910,17 +2910,17 @@
{
/* [224] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [225] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [226] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[99],
},
{
/* [227] */
@@ -2930,17 +2930,17 @@
{
/* [228] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [229] */
- /* usage */ ParameterUsage::kLevel,
+ /* usage */ ParameterUsage::kArrayIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
/* [230] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [231] */
@@ -2950,17 +2950,17 @@
{
/* [232] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [233] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [234] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[97],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [235] */
@@ -2970,37 +2970,37 @@
{
/* [236] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [237] */
/* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [238] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
+ /* usage */ ParameterUsage::kComponent,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [239] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[115],
+ },
+ {
+ /* [240] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [240] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
- },
- {
/* [241] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [242] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
+ /* matcher indices */ &kMatcherIndices[97],
},
{
/* [243] */
@@ -3010,7 +3010,7 @@
{
/* [244] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [245] */
@@ -3019,48 +3019,48 @@
},
{
/* [246] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[97],
+ /* usage */ ParameterUsage::kComponent,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [247] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[123],
+ },
+ {
+ /* [248] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [248] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
- },
- {
/* [249] */
- /* usage */ ParameterUsage::kBias,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [250] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[69],
+ /* matcher indices */ &kMatcherIndices[89],
},
{
/* [251] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [252] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [253] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[81],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [254] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [255] */
@@ -3070,17 +3070,17 @@
{
/* [256] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [257] */
- /* usage */ ParameterUsage::kBias,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [258] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [259] */
@@ -3090,117 +3090,117 @@
{
/* [260] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [261] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kOffset,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [262] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[57],
+ /* matcher indices */ &kMatcherIndices[133],
},
{
/* [263] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
- },
- {
- /* [264] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [265] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[107],
- },
- {
- /* [266] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
- },
- {
- /* [267] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
+ /* [264] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [265] */
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [266] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[133],
+ },
+ {
+ /* [267] */
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[131],
+ },
+ {
/* [268] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [269] */
- /* usage */ ParameterUsage::kBias,
+ /* usage */ ParameterUsage::kDepthRef,
/* matcher indices */ &kMatcherIndices[12],
},
{
/* [270] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[45],
+ /* matcher indices */ &kMatcherIndices[93],
},
{
/* [271] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [272] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [273] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[109],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [274] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[132],
+ /* matcher indices */ &kMatcherIndices[93],
},
{
/* [275] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [276] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [277] */
- /* usage */ ParameterUsage::kDepthRef,
+ /* usage */ ParameterUsage::kBias,
/* matcher indices */ &kMatcherIndices[12],
},
{
/* [278] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [279] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [280] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [281] */
- /* usage */ ParameterUsage::kDepthRef,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [282] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* matcher indices */ &kMatcherIndices[89],
},
{
/* [283] */
@@ -3210,37 +3210,37 @@
{
/* [284] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [285] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kBias,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [286] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[117],
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [287] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [288] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [289] */
- /* usage */ ParameterUsage::kLevel,
+ /* usage */ ParameterUsage::kArrayIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
/* [290] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [291] */
@@ -3250,37 +3250,37 @@
{
/* [292] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [293] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
- },
- {
- /* [294] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
- },
- {
- /* [295] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
- },
- {
- /* [296] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [297] */
/* usage */ ParameterUsage::kArrayIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
+ /* [294] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[57],
+ },
+ {
+ /* [295] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[83],
+ },
+ {
+ /* [296] */
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [297] */
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[107],
+ },
+ {
/* [298] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[99],
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [299] */
@@ -3290,7 +3290,7 @@
{
/* [300] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [301] */
@@ -3300,7 +3300,7 @@
{
/* [302] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
+ /* matcher indices */ &kMatcherIndices[97],
},
{
/* [303] */
@@ -3310,57 +3310,57 @@
{
/* [304] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [305] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[93],
+ /* usage */ ParameterUsage::kBias,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [306] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
- },
- {
- /* [307] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
- },
- {
- /* [308] */
- /* usage */ ParameterUsage::kArrayIndex,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [309] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [310] */
- /* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[132],
},
{
- /* [311] */
+ /* [307] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
- /* [312] */
+ /* [308] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
- /* [313] */
+ /* [309] */
/* usage */ ParameterUsage::kDepthRef,
/* matcher indices */ &kMatcherIndices[12],
},
{
+ /* [310] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[45],
+ },
+ {
+ /* [311] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[83],
+ },
+ {
+ /* [312] */
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [313] */
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[109],
+ },
+ {
/* [314] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[91],
+ /* matcher indices */ &kMatcherIndices[85],
},
{
/* [315] */
@@ -3370,7 +3370,7 @@
{
/* [316] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [317] */
@@ -3379,108 +3379,108 @@
},
{
/* [318] */
- /* usage */ ParameterUsage::kComponent,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [319] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[123],
- },
- {
- /* [320] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
- },
- {
- /* [321] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
- },
- {
- /* [322] */
- /* usage */ ParameterUsage::kComponent,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [323] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[115],
- },
- {
- /* [324] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
- },
- {
- /* [325] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [326] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
- },
- {
- /* [327] */
- /* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[133],
},
{
- /* [328] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* [319] */
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[131],
},
{
- /* [329] */
+ /* [320] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [321] */
/* usage */ ParameterUsage::kDepthRef,
/* matcher indices */ &kMatcherIndices[12],
},
{
- /* [330] */
+ /* [322] */
/* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[132],
},
{
- /* [331] */
+ /* [323] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[133],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
- /* [332] */
+ /* [324] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
- /* [333] */
+ /* [325] */
/* usage */ ParameterUsage::kDepthRef,
/* matcher indices */ &kMatcherIndices[12],
},
{
+ /* [326] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[69],
+ },
+ {
+ /* [327] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[83],
+ },
+ {
+ /* [328] */
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [329] */
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[87],
+ },
+ {
+ /* [330] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[117],
+ },
+ {
+ /* [331] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[83],
+ },
+ {
+ /* [332] */
+ /* usage */ ParameterUsage::kArrayIndex,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [333] */
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
/* [334] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [335] */
/* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* matcher indices */ &kMatcherIndices[131],
},
{
/* [336] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [337] */
- /* usage */ ParameterUsage::kOffset,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kDepthRef,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [338] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
+ /* matcher indices */ &kMatcherIndices[93],
},
{
/* [339] */
@@ -3490,7 +3490,7 @@
{
/* [340] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [341] */
@@ -3499,68 +3499,68 @@
},
{
/* [342] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[119],
},
{
/* [343] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [344] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [345] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[136],
+ /* matcher indices */ &kMatcherIndices[115],
},
{
/* [346] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [347] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [348] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [349] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [350] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [351] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[132],
+ /* matcher indices */ &kMatcherIndices[42],
},
{
/* [352] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [353] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[109],
},
{
/* [354] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[72],
+ /* matcher indices */ &kMatcherIndices[48],
},
{
/* [355] */
@@ -3570,62 +3570,62 @@
{
/* [356] */
/* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[81],
+ /* matcher indices */ &kMatcherIndices[109],
},
{
/* [357] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [358] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [359] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [360] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[66],
+ /* matcher indices */ &kMatcherIndices[51],
},
{
/* [361] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[93],
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [362] */
/* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[81],
+ /* matcher indices */ &kMatcherIndices[109],
},
{
/* [363] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[63],
+ /* matcher indices */ &kMatcherIndices[133],
},
{
/* [364] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [365] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[107],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [366] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[60],
+ /* matcher indices */ &kMatcherIndices[54],
},
{
/* [367] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [368] */
@@ -3634,83 +3634,83 @@
},
{
/* [369] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[54],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [370] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[93],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [371] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[107],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [372] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[0],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [373] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [374] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [375] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[51],
+ /* matcher indices */ &kMatcherIndices[121],
},
{
/* [376] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [377] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[109],
- },
- {
- /* [378] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[48],
- },
- {
- /* [379] */
- /* usage */ ParameterUsage::kCoords,
/* matcher indices */ &kMatcherIndices[83],
},
{
+ /* [377] */
+ /* usage */ ParameterUsage::kSampleIndex,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [378] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[0],
+ },
+ {
+ /* [379] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[1],
+ },
+ {
/* [380] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[109],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [381] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[42],
+ /* matcher indices */ &kMatcherIndices[60],
},
{
/* [382] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[93],
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [383] */
/* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[109],
+ /* matcher indices */ &kMatcherIndices[107],
},
{
/* [384] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[111],
+ /* matcher indices */ &kMatcherIndices[63],
},
{
/* [385] */
@@ -3719,78 +3719,78 @@
},
{
/* [386] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[107],
},
{
/* [387] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[115],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [388] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [389] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [390] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[127],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [391] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [392] */
- /* usage */ ParameterUsage::kCoords,
+ /* usage */ ParameterUsage::kNone,
/* matcher indices */ &kMatcherIndices[12],
},
{
/* [393] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[66],
},
{
/* [394] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[95],
},
{
/* [395] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[87],
},
{
/* [396] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[127],
},
{
/* [397] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [398] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [399] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [400] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [401] */
@@ -3814,68 +3814,68 @@
},
{
/* [405] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[132],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [406] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [407] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [408] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [409] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [410] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [411] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[133],
},
{
/* [412] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [413] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [414] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[119],
+ /* matcher indices */ &kMatcherIndices[134],
},
{
/* [415] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[93],
+ /* matcher indices */ &kMatcherIndices[83],
},
{
/* [416] */
- /* usage */ ParameterUsage::kLevel,
+ /* usage */ ParameterUsage::kSampleIndex,
/* matcher indices */ &kMatcherIndices[55],
},
{
/* [417] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [418] */
@@ -3885,12 +3885,12 @@
{
/* [419] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [420] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[121],
+ /* matcher indices */ &kMatcherIndices[72],
},
{
/* [421] */
@@ -3899,13 +3899,13 @@
},
{
/* [422] */
- /* usage */ ParameterUsage::kSampleIndex,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[87],
},
{
/* [423] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[97],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [424] */
@@ -3915,157 +3915,157 @@
{
/* [425] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [426] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[95],
+ /* matcher indices */ &kMatcherIndices[75],
},
{
/* [427] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [428] */
+ /* usage */ ParameterUsage::kValue,
+ /* matcher indices */ &kMatcherIndices[87],
+ },
+ {
+ /* [429] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[97],
+ },
+ {
+ /* [430] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [428] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
- },
- {
- /* [429] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
- },
- {
- /* [430] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
- },
- {
/* [431] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[24],
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
},
{
/* [432] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[93],
},
{
/* [433] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
- },
- {
- /* [434] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [435] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[87],
- },
- {
- /* [436] */
/* usage */ ParameterUsage::kSampler,
/* matcher indices */ &kMatcherIndices[135],
},
{
- /* [437] */
+ /* [434] */
/* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[81],
+ },
+ {
+ /* [435] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[39],
+ },
+ {
+ /* [436] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[39],
+ },
+ {
+ /* [437] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[24],
},
{
/* [438] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[136],
},
{
/* [439] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
},
{
/* [440] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[81],
+ },
+ {
+ /* [441] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[89],
+ },
+ {
+ /* [442] */
+ /* usage */ ParameterUsage::kSampler,
+ /* matcher indices */ &kMatcherIndices[135],
+ },
+ {
+ /* [443] */
+ /* usage */ ParameterUsage::kCoords,
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [444] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[39],
+ },
+ {
+ /* [445] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[39],
+ },
+ {
+ /* [446] */
/* usage */ ParameterUsage::kNone,
/* matcher indices */ &kMatcherIndices[10],
},
{
- /* [441] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
- },
- {
- /* [442] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
- },
- {
- /* [443] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
- },
- {
- /* [444] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[134],
- },
- {
- /* [445] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[83],
- },
- {
- /* [446] */
- /* usage */ ParameterUsage::kSampleIndex,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
/* [447] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [448] */
- /* usage */ ParameterUsage::kSampler,
- /* matcher indices */ &kMatcherIndices[135],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [449] */
- /* usage */ ParameterUsage::kCoords,
- /* matcher indices */ &kMatcherIndices[85],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[10],
},
{
/* [450] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[111],
},
{
/* [451] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
- },
- {
- /* [452] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
- },
- {
- /* [453] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[75],
- },
- {
- /* [454] */
/* usage */ ParameterUsage::kCoords,
/* matcher indices */ &kMatcherIndices[55],
},
{
+ /* [452] */
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
+ },
+ {
+ /* [453] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
+ },
+ {
+ /* [454] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
+ },
+ {
/* [455] */
- /* usage */ ParameterUsage::kValue,
- /* matcher indices */ &kMatcherIndices[81],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [456] */
@@ -4080,17 +4080,17 @@
{
/* [458] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[10],
+ /* matcher indices */ &kMatcherIndices[39],
},
{
/* [459] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[0],
},
{
/* [460] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [461] */
@@ -4105,32 +4105,32 @@
{
/* [463] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [464] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [465] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [466] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [467] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [468] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [469] */
@@ -4145,7 +4145,7 @@
{
/* [471] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[0],
},
{
/* [472] */
@@ -4155,32 +4155,32 @@
{
/* [473] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [474] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[78],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [475] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[0],
},
{
/* [476] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[55],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [477] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[123],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[0],
},
{
/* [478] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [479] */
@@ -4195,12 +4195,12 @@
{
/* [481] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [482] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [483] */
@@ -4220,77 +4220,77 @@
{
/* [486] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[78],
},
{
/* [487] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[0],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [488] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [489] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [490] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [491] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[89],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [492] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[89],
- },
- {
- /* [493] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
- },
- {
- /* [494] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
- },
- {
- /* [495] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[125],
- },
- {
- /* [496] */
- /* usage */ ParameterUsage::kLevel,
/* matcher indices */ &kMatcherIndices[55],
},
{
- /* [497] */
+ /* [493] */
/* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[136],
},
{
- /* [498] */
+ /* [494] */
/* usage */ ParameterUsage::kCoords,
/* matcher indices */ &kMatcherIndices[83],
},
{
+ /* [495] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [496] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[91],
+ },
+ {
+ /* [497] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[12],
+ },
+ {
+ /* [498] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[12],
+ },
+ {
/* [499] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[0],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [500] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [501] */
@@ -4305,12 +4305,12 @@
{
/* [503] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[0],
+ /* matcher indices */ &kMatcherIndices[39],
},
{
/* [504] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[39],
},
{
/* [505] */
@@ -4345,7 +4345,7 @@
{
/* [511] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
+ /* matcher indices */ &kMatcherIndices[119],
},
{
/* [512] */
@@ -4354,18 +4354,18 @@
},
{
/* [513] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[0],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [514] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
/* [515] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[132],
+ /* matcher indices */ &kMatcherIndices[133],
},
{
/* [516] */
@@ -4375,7 +4375,7 @@
{
/* [517] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[111],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [518] */
@@ -4385,7 +4385,7 @@
{
/* [519] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* matcher indices */ &kMatcherIndices[132],
},
{
/* [520] */
@@ -4395,7 +4395,7 @@
{
/* [521] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[115],
+ /* matcher indices */ &kMatcherIndices[111],
},
{
/* [522] */
@@ -4405,7 +4405,7 @@
{
/* [523] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[125],
},
{
/* [524] */
@@ -4415,7 +4415,7 @@
{
/* [525] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[117],
+ /* matcher indices */ &kMatcherIndices[115],
},
{
/* [526] */
@@ -4424,88 +4424,88 @@
},
{
/* [527] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[0],
- },
- {
- /* [528] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
- },
- {
- /* [529] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[119],
- },
- {
- /* [530] */
- /* usage */ ParameterUsage::kLevel,
- /* matcher indices */ &kMatcherIndices[55],
- },
- {
- /* [531] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
- },
- {
- /* [532] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
- },
- {
- /* [533] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
- },
- {
- /* [534] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[125],
- },
- {
- /* [535] */
/* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[123],
},
{
- /* [536] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[121],
+ /* [528] */
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
- /* [537] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* [529] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[0],
},
{
- /* [538] */
+ /* [530] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[1],
+ },
+ {
+ /* [531] */
/* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[117],
},
{
- /* [539] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* [532] */
+ /* usage */ ParameterUsage::kLevel,
+ /* matcher indices */ &kMatcherIndices[55],
},
{
- /* [540] */
+ /* [533] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[119],
+ },
+ {
+ /* [534] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[123],
+ },
+ {
+ /* [535] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[117],
+ },
+ {
+ /* [536] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[125],
+ },
+ {
+ /* [537] */
/* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[115],
},
{
- /* [541] */
+ /* [538] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[121],
+ },
+ {
+ /* [539] */
/* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[132],
},
{
- /* [542] */
+ /* [540] */
/* usage */ ParameterUsage::kTexture,
/* matcher indices */ &kMatcherIndices[111],
},
{
+ /* [541] */
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[130],
+ },
+ {
+ /* [542] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[39],
+ },
+ {
/* [543] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
+ /* matcher indices */ &kMatcherIndices[133],
},
{
/* [544] */
@@ -4515,42 +4515,42 @@
{
/* [545] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[134],
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [546] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[36],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[43],
},
{
/* [547] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[33],
+ /* matcher indices */ &kMatcherIndices[134],
},
{
/* [548] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[30],
+ /* matcher indices */ &kMatcherIndices[36],
},
{
/* [549] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[27],
+ /* matcher indices */ &kMatcherIndices[33],
},
{
/* [550] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[136],
+ /* matcher indices */ &kMatcherIndices[30],
},
{
/* [551] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[43],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[27],
},
{
/* [552] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[43],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[136],
},
{
/* [553] */
@@ -4565,42 +4565,42 @@
{
/* [555] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[43],
},
{
/* [556] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [557] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[13],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [558] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[13],
},
{
/* [559] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [560] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [561] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [562] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [563] */
@@ -4619,13 +4619,13 @@
},
{
/* [566] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[119],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [567] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [568] */
@@ -4634,68 +4634,68 @@
},
{
/* [569] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[117],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [570] */
- /* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[125],
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [571] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* matcher indices */ &kMatcherIndices[117],
},
{
/* [572] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
+ /* matcher indices */ &kMatcherIndices[125],
},
{
/* [573] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[30],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [574] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[111],
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [575] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[115],
+ /* matcher indices */ &kMatcherIndices[30],
},
{
/* [576] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[117],
+ /* matcher indices */ &kMatcherIndices[111],
},
{
/* [577] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[119],
+ /* matcher indices */ &kMatcherIndices[115],
},
{
/* [578] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[123],
+ /* matcher indices */ &kMatcherIndices[117],
},
{
/* [579] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[125],
+ /* matcher indices */ &kMatcherIndices[119],
},
{
/* [580] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[131],
+ /* matcher indices */ &kMatcherIndices[123],
},
{
/* [581] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[130],
+ /* matcher indices */ &kMatcherIndices[125],
},
{
/* [582] */
@@ -4705,92 +4705,92 @@
{
/* [583] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[129],
+ /* matcher indices */ &kMatcherIndices[130],
},
{
/* [584] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[121],
+ /* matcher indices */ &kMatcherIndices[133],
},
{
/* [585] */
/* usage */ ParameterUsage::kTexture,
- /* matcher indices */ &kMatcherIndices[134],
+ /* matcher indices */ &kMatcherIndices[129],
},
{
/* [586] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[121],
},
{
/* [587] */
- /* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* usage */ ParameterUsage::kTexture,
+ /* matcher indices */ &kMatcherIndices[134],
},
{
/* [588] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [589] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [590] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [591] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[39],
},
{
/* [592] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [593] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[81],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [594] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[81],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [595] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[87],
},
{
/* [596] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[87],
},
{
/* [597] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[85],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [598] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [599] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[81],
},
{
/* [600] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [601] */
@@ -4945,12 +4945,12 @@
{
/* [631] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[39],
},
{
/* [632] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [633] */
@@ -5015,37 +5015,37 @@
{
/* [645] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[17],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [646] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [647] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [648] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [649] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[17],
},
{
/* [650] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [651] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[1],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [652] */
@@ -5060,22 +5060,22 @@
{
/* [654] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[39],
},
{
/* [655] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [656] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[39],
},
{
/* [657] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[1],
},
{
/* [658] */
@@ -5110,51 +5110,61 @@
{
/* [664] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[4],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [665] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[0],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [666] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[24],
+ /* matcher indices */ &kMatcherIndices[21],
},
{
/* [667] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[10],
+ /* matcher indices */ &kMatcherIndices[0],
},
{
/* [668] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[24],
+ /* matcher indices */ &kMatcherIndices[12],
},
{
/* [669] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[10],
+ /* matcher indices */ &kMatcherIndices[4],
},
{
/* [670] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[21],
+ /* matcher indices */ &kMatcherIndices[24],
},
{
/* [671] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[12],
+ /* matcher indices */ &kMatcherIndices[10],
},
{
/* [672] */
/* usage */ ParameterUsage::kNone,
- /* matcher indices */ &kMatcherIndices[39],
+ /* matcher indices */ &kMatcherIndices[24],
},
{
/* [673] */
/* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[10],
+ },
+ {
+ /* [674] */
+ /* usage */ ParameterUsage::kNone,
+ /* matcher indices */ &kMatcherIndices[21],
+ },
+ {
+ /* [675] */
+ /* usage */ ParameterUsage::kNone,
/* matcher indices */ &kMatcherIndices[1],
},
};
@@ -5223,7 +5233,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[542],
+ /* parameters */ &kParameters[540],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5235,7 +5245,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[517],
+ /* parameters */ &kParameters[521],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5247,7 +5257,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[540],
+ /* parameters */ &kParameters[537],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5259,7 +5269,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[521],
+ /* parameters */ &kParameters[525],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5271,7 +5281,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[538],
+ /* parameters */ &kParameters[535],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5283,7 +5293,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[525],
+ /* parameters */ &kParameters[531],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5295,8 +5305,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[566],
- /* return matcher indices */ &kMatcherIndices[93],
+ /* parameters */ &kParameters[533],
+ /* return matcher indices */ &kMatcherIndices[95],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5307,8 +5317,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[529],
- /* return matcher indices */ &kMatcherIndices[93],
+ /* parameters */ &kParameters[511],
+ /* return matcher indices */ &kMatcherIndices[95],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5319,49 +5329,25 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[535],
- /* return matcher indices */ &kMatcherIndices[83],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [9] */
- /* num parameters */ 2,
- /* num open types */ 1,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[0],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[477],
- /* return matcher indices */ &kMatcherIndices[83],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [10] */
- /* num parameters */ 1,
- /* num open types */ 1,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[0],
- /* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[534],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [11] */
+ /* [9] */
/* num parameters */ 2,
/* num open types */ 1,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[495],
+ /* parameters */ &kParameters[527],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [12] */
+ /* [10] */
/* num parameters */ 1,
/* num open types */ 1,
/* num open numbers */ 0,
@@ -5373,23 +5359,11 @@
/* is_deprecated */ false,
},
{
- /* [13] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[537],
- /* return matcher indices */ &kMatcherIndices[83],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [14] */
+ /* [11] */
/* num parameters */ 2,
- /* num open types */ 0,
+ /* num open types */ 1,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[523],
/* return matcher indices */ &kMatcherIndices[83],
@@ -5397,7 +5371,19 @@
/* is_deprecated */ false,
},
{
- /* [15] */
+ /* [12] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[0],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[538],
+ /* return matcher indices */ &kMatcherIndices[83],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [13] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
@@ -5409,7 +5395,7 @@
/* is_deprecated */ false,
},
{
- /* [16] */
+ /* [14] */
/* num parameters */ 2,
/* num open types */ 0,
/* num open numbers */ 0,
@@ -5421,7 +5407,7 @@
/* is_deprecated */ false,
},
{
- /* [17] */
+ /* [15] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
@@ -5433,6 +5419,30 @@
/* is_deprecated */ false,
},
{
+ /* [16] */
+ /* num parameters */ 2,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[517],
+ /* return matcher indices */ &kMatcherIndices[83],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [17] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[543],
+ /* return matcher indices */ &kMatcherIndices[83],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
/* [18] */
/* num parameters */ 2,
/* num open types */ 0,
@@ -5451,7 +5461,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[543],
+ /* parameters */ &kParameters[545],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5463,7 +5473,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[511],
+ /* parameters */ &kParameters[513],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5475,7 +5485,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[545],
+ /* parameters */ &kParameters[547],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5487,7 +5497,7 @@
/* num open numbers */ 2,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[0],
- /* parameters */ &kParameters[546],
+ /* parameters */ &kParameters[548],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5499,7 +5509,7 @@
/* num open numbers */ 2,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[0],
- /* parameters */ &kParameters[547],
+ /* parameters */ &kParameters[549],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5511,7 +5521,7 @@
/* num open numbers */ 2,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[0],
- /* parameters */ &kParameters[548],
+ /* parameters */ &kParameters[550],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5523,8 +5533,8 @@
/* num open numbers */ 2,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[0],
- /* parameters */ &kParameters[549],
- /* return matcher indices */ &kMatcherIndices[93],
+ /* parameters */ &kParameters[551],
+ /* return matcher indices */ &kMatcherIndices[95],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5535,7 +5545,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[550],
+ /* parameters */ &kParameters[552],
/* return matcher indices */ &kMatcherIndices[83],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5547,8 +5557,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[258],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[270],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5559,8 +5569,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[148],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[173],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5571,8 +5581,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[168],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[178],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5584,7 +5594,7 @@
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[13],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5595,8 +5605,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[242],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[250],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5607,8 +5617,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[183],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[188],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5619,8 +5629,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[234],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[242],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5632,7 +5642,7 @@
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[193],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5643,7 +5653,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[226],
+ /* parameters */ &kParameters[234],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5655,7 +5665,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[208],
+ /* parameters */ &kParameters[198],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5667,7 +5677,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[213],
+ /* parameters */ &kParameters[203],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5679,7 +5689,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[67],
+ /* parameters */ &kParameters[61],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5691,7 +5701,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[222],
+ /* parameters */ &kParameters[262],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5703,7 +5713,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[203],
+ /* parameters */ &kParameters[208],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5715,8 +5725,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[345],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[438],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5727,8 +5737,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[390],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[396],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5739,8 +5749,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[426],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[432],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5752,7 +5762,7 @@
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[338],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5764,7 +5774,7 @@
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[314],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5775,8 +5785,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[83],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[113],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5787,8 +5797,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[435],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[441],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5799,8 +5809,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[302],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[222],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5811,8 +5821,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[423],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[429],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5823,8 +5833,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[298],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[226],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
@@ -5835,7 +5845,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[417],
+ /* parameters */ &kParameters[423],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
@@ -5847,7 +5857,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[290],
+ /* parameters */ &kParameters[230],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
@@ -5859,7 +5869,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[282],
+ /* parameters */ &kParameters[254],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
@@ -5883,7 +5893,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[405],
+ /* parameters */ &kParameters[411],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
@@ -5895,7 +5905,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[230],
+ /* parameters */ &kParameters[286],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
@@ -5907,7 +5917,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[322],
+ /* parameters */ &kParameters[238],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5919,7 +5929,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[138],
+ /* parameters */ &kParameters[183],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5931,7 +5941,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[113],
+ /* parameters */ &kParameters[168],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5943,7 +5953,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[31],
+ /* parameters */ &kParameters[25],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5955,7 +5965,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[318],
+ /* parameters */ &kParameters[246],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5967,7 +5977,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[88],
+ /* parameters */ &kParameters[158],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -5979,8 +5989,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[447],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[417],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -5991,8 +6001,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[334],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[258],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6003,8 +6013,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[294],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[290],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6015,8 +6025,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[158],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[148],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6027,8 +6037,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[351],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[363],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6039,8 +6049,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[238],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[298],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6051,7 +6061,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[453],
+ /* parameters */ &kParameters[426],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6063,7 +6073,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[354],
+ /* parameters */ &kParameters[420],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6075,7 +6085,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[250],
+ /* parameters */ &kParameters[326],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6087,7 +6097,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[360],
+ /* parameters */ &kParameters[393],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6099,7 +6109,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[363],
+ /* parameters */ &kParameters[384],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6111,7 +6121,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[366],
+ /* parameters */ &kParameters[381],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6123,7 +6133,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[262],
+ /* parameters */ &kParameters[294],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6135,7 +6145,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[369],
+ /* parameters */ &kParameters[366],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6147,7 +6157,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[375],
+ /* parameters */ &kParameters[360],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6159,7 +6169,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[378],
+ /* parameters */ &kParameters[354],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6171,7 +6181,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[270],
+ /* parameters */ &kParameters[310],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6183,7 +6193,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[381],
+ /* parameters */ &kParameters[351],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6195,7 +6205,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[574],
+ /* parameters */ &kParameters[576],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6207,7 +6217,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[575],
+ /* parameters */ &kParameters[577],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6219,7 +6229,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[576],
+ /* parameters */ &kParameters[578],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6231,7 +6241,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[577],
+ /* parameters */ &kParameters[579],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6243,7 +6253,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[578],
+ /* parameters */ &kParameters[580],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6255,7 +6265,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[579],
+ /* parameters */ &kParameters[581],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6267,7 +6277,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[580],
+ /* parameters */ &kParameters[582],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6279,7 +6289,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[581],
+ /* parameters */ &kParameters[583],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6291,7 +6301,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[582],
+ /* parameters */ &kParameters[584],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6303,7 +6313,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[583],
+ /* parameters */ &kParameters[585],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6315,7 +6325,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[384],
+ /* parameters */ &kParameters[450],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6327,7 +6337,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[387],
+ /* parameters */ &kParameters[345],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6339,7 +6349,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[286],
+ /* parameters */ &kParameters[330],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6351,7 +6361,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[414],
+ /* parameters */ &kParameters[342],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6363,7 +6373,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[420],
+ /* parameters */ &kParameters[375],
/* return matcher indices */ &kMatcherIndices[113],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6375,7 +6385,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[432],
+ /* parameters */ &kParameters[357],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6387,7 +6397,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[306],
+ /* parameters */ &kParameters[278],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6399,7 +6409,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[444],
+ /* parameters */ &kParameters[414],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6411,212 +6421,212 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[497],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[493],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [100] */
- /* num parameters */ 4,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[266],
- /* return matcher indices */ &kMatcherIndices[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [101] */
/* 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[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [101] */
+ /* num parameters */ 6,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[49],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [102] */
- /* 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[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [103] */
- /* 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[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [104] */
- /* num parameters */ 4,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[254],
- /* return matcher indices */ &kMatcherIndices[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [105] */
- /* 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[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [106] */
- /* num parameters */ 4,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[246],
- /* return matcher indices */ &kMatcherIndices[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [107] */
- /* num parameters */ 5,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[178],
- /* return matcher indices */ &kMatcherIndices[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [108] */
- /* 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[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [109] */
- /* 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[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [110] */
- /* 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[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [111] */
- /* num parameters */ 7,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[0],
- /* return matcher indices */ &kMatcherIndices[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [112] */
- /* num parameters */ 5,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[93],
- /* return matcher indices */ &kMatcherIndices[81],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [113] */
/* num parameters */ 6,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[37],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [114] */
+ /* [103] */
+ /* num parameters */ 7,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[0],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [104] */
/* num parameters */ 5,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[123],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[153],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [115] */
+ /* [105] */
/* 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[81],
+ /* parameters */ &kParameters[31],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
+ /* [106] */
+ /* 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[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [107] */
+ /* 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[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [108] */
+ /* num parameters */ 4,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[274],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [109] */
+ /* 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[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [110] */
+ /* 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[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [111] */
+ /* 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[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [112] */
+ /* num parameters */ 4,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[282],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [113] */
+ /* num parameters */ 5,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[83],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [114] */
+ /* num parameters */ 4,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[302],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [115] */
+ /* 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[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
/* [116] */
/* 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[81],
+ /* parameters */ &kParameters[322],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6627,8 +6637,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[163],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[143],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6639,8 +6649,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[118],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[123],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6651,8 +6661,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[61],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[43],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6663,8 +6673,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[274],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[266],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6675,8 +6685,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[108],
- /* return matcher indices */ &kMatcherIndices[81],
+ /* parameters */ &kParameters[138],
+ /* return matcher indices */ &kMatcherIndices[87],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -6687,9 +6697,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[278],
+ /* parameters */ &kParameters[334],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
@@ -6699,9 +6709,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[198],
+ /* parameters */ &kParameters[73],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
@@ -6711,9 +6721,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[143],
+ /* parameters */ &kParameters[118],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
@@ -6723,9 +6733,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[25],
+ /* parameters */ &kParameters[55],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
@@ -6735,9 +6745,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[330],
+ /* parameters */ &kParameters[318],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
@@ -6749,7 +6759,7 @@
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[128],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
@@ -6759,9 +6769,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[326],
+ /* parameters */ &kParameters[306],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
{
@@ -6771,9 +6781,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[173],
+ /* parameters */ &kParameters[93],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
{
@@ -6785,7 +6795,7 @@
/* open numbers */ &kOpenNumbers[6],
/* parameters */ &kParameters[98],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
{
@@ -6795,9 +6805,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[49],
+ /* parameters */ &kParameters[67],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
{
@@ -6807,9 +6817,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[310],
+ /* parameters */ &kParameters[218],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
{
@@ -6819,9 +6829,9 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[78],
+ /* parameters */ &kParameters[108],
/* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
},
{
@@ -6831,7 +6841,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[569],
+ /* parameters */ &kParameters[571],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6843,7 +6853,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[570],
+ /* parameters */ &kParameters[572],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6855,7 +6865,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[571],
+ /* parameters */ &kParameters[573],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6867,7 +6877,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[572],
+ /* parameters */ &kParameters[574],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6879,7 +6889,7 @@
/* num open numbers */ 2,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[0],
- /* parameters */ &kParameters[573],
+ /* parameters */ &kParameters[575],
/* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -6887,450 +6897,18 @@
{
/* [139] */
/* num parameters */ 3,
- /* num open types */ 1,
+ /* num open types */ 0,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[3],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[438],
- /* return matcher indices */ &kMatcherIndices[1],
+ /* parameters */ &kParameters[399],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [140] */
/* num parameters */ 3,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[3],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[456],
- /* return matcher indices */ &kMatcherIndices[39],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [141] */
- /* num parameters */ 3,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[3],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[429],
- /* return matcher indices */ &kMatcherIndices[39],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [142] */
- /* num parameters */ 3,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[393],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [143] */
- /* num parameters */ 3,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[342],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [144] */
- /* num parameters */ 3,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[399],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [145] */
- /* 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[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [146] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[555],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [147] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[647],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [148] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[646],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [149] */
- /* num parameters */ 1,
- /* num open types */ 1,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[649],
- /* return matcher indices */ &kMatcherIndices[1],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [150] */
- /* num parameters */ 1,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[648],
- /* return matcher indices */ &kMatcherIndices[39],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [151] */
- /* num parameters */ 2,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[489],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [152] */
- /* num parameters */ 2,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[481],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [153] */
- /* num parameters */ 1,
- /* num open types */ 1,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[651],
- /* return matcher indices */ &kMatcherIndices[1],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [154] */
- /* num parameters */ 1,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[650],
- /* return matcher indices */ &kMatcherIndices[39],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [155] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[644],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [156] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[643],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [157] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[642],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [158] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[641],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [159] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[640],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [160] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[639],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [161] */
- /* 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::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [162] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[637],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [163] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[636],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [164] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[635],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [165] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[634],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [166] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[633],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [167] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[632],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [168] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[631],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [169] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[630],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [170] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[629],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [171] */
- /* num parameters */ 1,
- /* num open types */ 1,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[653],
- /* return matcher indices */ &kMatcherIndices[1],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [172] */
- /* num parameters */ 1,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[652],
- /* return matcher indices */ &kMatcherIndices[39],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [173] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[628],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [174] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[627],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [175] */
- /* num parameters */ 3,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[450],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [176] */
- /* num parameters */ 3,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
@@ -7341,79 +6919,55 @@
/* is_deprecated */ false,
},
{
- /* [177] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[626],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [178] */
- /* num parameters */ 1,
+ /* [141] */
+ /* num parameters */ 3,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[625],
+ /* parameters */ &kParameters[405],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [179] */
- /* num parameters */ 1,
- /* num open types */ 0,
+ /* [142] */
+ /* num parameters */ 3,
+ /* num open types */ 1,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[3],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[624],
- /* return matcher indices */ &kMatcherIndices[138],
+ /* parameters */ &kParameters[447],
+ /* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [180] */
- /* num parameters */ 1,
- /* num open types */ 0,
+ /* [143] */
+ /* num parameters */ 3,
+ /* num open types */ 1,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[3],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[623],
- /* return matcher indices */ &kMatcherIndices[105],
+ /* parameters */ &kParameters[444],
+ /* return matcher indices */ &kMatcherIndices[39],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [181] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[622],
- /* return matcher indices */ &kMatcherIndices[12],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
- /* is_deprecated */ false,
- },
- {
- /* [182] */
- /* num parameters */ 1,
- /* num open types */ 0,
+ /* [144] */
+ /* num parameters */ 3,
+ /* num open types */ 1,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[3],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[621],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* parameters */ &kParameters[435],
+ /* return matcher indices */ &kMatcherIndices[39],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [183] */
+ /* [145] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
@@ -7425,7 +6979,7 @@
/* is_deprecated */ false,
},
{
- /* [184] */
+ /* [146] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 1,
@@ -7437,13 +6991,469 @@
/* is_deprecated */ false,
},
{
+ /* [147] */
+ /* 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,
+ },
+ {
+ /* [148] */
+ /* 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,
+ },
+ {
+ /* [149] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[653],
+ /* return matcher indices */ &kMatcherIndices[1],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [150] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[652],
+ /* return matcher indices */ &kMatcherIndices[39],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [151] */
+ /* num parameters */ 2,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[497],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [152] */
+ /* num parameters */ 2,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[499],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [153] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[655],
+ /* return matcher indices */ &kMatcherIndices[1],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [154] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[654],
+ /* return matcher indices */ &kMatcherIndices[39],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [155] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[648],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [156] */
+ /* 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::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [157] */
+ /* 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::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [158] */
+ /* 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::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [159] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[644],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [160] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[643],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [161] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[642],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [162] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[641],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [163] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[640],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [164] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[639],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [165] */
+ /* 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::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [166] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[637],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [167] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[636],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [168] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[635],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [169] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[634],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [170] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[633],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [171] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[657],
+ /* return matcher indices */ &kMatcherIndices[1],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [172] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[656],
+ /* return matcher indices */ &kMatcherIndices[39],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [173] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[632],
+ /* return matcher indices */ &kMatcherIndices[1],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [174] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[631],
+ /* return matcher indices */ &kMatcherIndices[39],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [175] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[630],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [176] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[629],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [177] */
+ /* num parameters */ 3,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[372],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [178] */
+ /* num parameters */ 3,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[369],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [179] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[628],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [180] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[627],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [181] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[626],
+ /* return matcher indices */ &kMatcherIndices[138],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [182] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[625],
+ /* return matcher indices */ &kMatcherIndices[103],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [183] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[624],
+ /* return matcher indices */ &kMatcherIndices[12],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [184] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[623],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
+ /* is_deprecated */ false,
+ },
+ {
/* [185] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[618],
+ /* parameters */ &kParameters[622],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
@@ -7455,7 +7465,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[617],
+ /* parameters */ &kParameters[621],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment),
/* is_deprecated */ false,
@@ -7467,7 +7477,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[616],
+ /* parameters */ &kParameters[659],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7479,7 +7489,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[615],
+ /* parameters */ &kParameters[658],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7491,10 +7501,10 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[614],
- /* return matcher indices */ &kMatcherIndices[10],
+ /* parameters */ &kParameters[618],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ true,
+ /* is_deprecated */ false,
},
{
/* [190] */
@@ -7503,10 +7513,10 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[613],
- /* return matcher indices */ &kMatcherIndices[24],
+ /* parameters */ &kParameters[617],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ true,
+ /* is_deprecated */ false,
},
{
/* [191] */
@@ -7515,7 +7525,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[612],
+ /* parameters */ &kParameters[616],
/* return matcher indices */ &kMatcherIndices[10],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ true,
@@ -7527,7 +7537,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[611],
+ /* parameters */ &kParameters[615],
/* return matcher indices */ &kMatcherIndices[24],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ true,
@@ -7539,7 +7549,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[610],
+ /* parameters */ &kParameters[614],
/* return matcher indices */ &kMatcherIndices[10],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ true,
@@ -7551,7 +7561,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[609],
+ /* parameters */ &kParameters[613],
/* return matcher indices */ &kMatcherIndices[24],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ true,
@@ -7563,7 +7573,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[608],
+ /* parameters */ &kParameters[612],
/* return matcher indices */ &kMatcherIndices[10],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ true,
@@ -7575,56 +7585,56 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[607],
+ /* parameters */ &kParameters[611],
/* return matcher indices */ &kMatcherIndices[24],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ true,
},
{
/* [197] */
- /* 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,
- },
- {
- /* [198] */
- /* num parameters */ 2,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[473],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [199] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[606],
+ /* parameters */ &kParameters[610],
+ /* return matcher indices */ &kMatcherIndices[10],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ true,
+ },
+ {
+ /* [198] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[609],
+ /* return matcher indices */ &kMatcherIndices[24],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ true,
+ },
+ {
+ /* [199] */
+ /* num parameters */ 2,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[491],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [200] */
- /* num parameters */ 1,
+ /* num parameters */ 2,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[605],
- /* return matcher indices */ &kMatcherIndices[12],
+ /* parameters */ &kParameters[485],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7635,7 +7645,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[604],
+ /* parameters */ &kParameters[608],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7647,8 +7657,8 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[603],
- /* return matcher indices */ &kMatcherIndices[21],
+ /* parameters */ &kParameters[607],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7659,7 +7669,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[602],
+ /* parameters */ &kParameters[606],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7671,32 +7681,32 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[601],
+ /* parameters */ &kParameters[605],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [205] */
- /* num parameters */ 2,
- /* num open types */ 1,
+ /* num parameters */ 1,
+ /* num open types */ 0,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[0],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[471],
- /* return matcher indices */ &kMatcherIndices[1],
+ /* parameters */ &kParameters[604],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [206] */
- /* num parameters */ 2,
- /* num open types */ 1,
+ /* num parameters */ 1,
+ /* num open types */ 0,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[0],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[469],
- /* return matcher indices */ &kMatcherIndices[39],
+ /* parameters */ &kParameters[603],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7707,7 +7717,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[467],
+ /* parameters */ &kParameters[481],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7719,32 +7729,32 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[465],
+ /* parameters */ &kParameters[479],
/* return matcher indices */ &kMatcherIndices[39],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [209] */
- /* num parameters */ 1,
- /* num open types */ 0,
+ /* num parameters */ 2,
+ /* num open types */ 1,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[655],
- /* return matcher indices */ &kMatcherIndices[12],
+ /* parameters */ &kParameters[473],
+ /* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [210] */
- /* num parameters */ 1,
- /* num open types */ 0,
+ /* num parameters */ 2,
+ /* num open types */ 1,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[654],
- /* return matcher indices */ &kMatcherIndices[21],
+ /* parameters */ &kParameters[469],
+ /* return matcher indices */ &kMatcherIndices[39],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7755,8 +7765,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[600],
- /* return matcher indices */ &kMatcherIndices[137],
+ /* parameters */ &kParameters[661],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7767,8 +7777,8 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[599],
- /* return matcher indices */ &kMatcherIndices[101],
+ /* parameters */ &kParameters[660],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7779,8 +7789,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[657],
- /* return matcher indices */ &kMatcherIndices[12],
+ /* parameters */ &kParameters[602],
+ /* return matcher indices */ &kMatcherIndices[137],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7791,8 +7801,8 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[656],
- /* return matcher indices */ &kMatcherIndices[21],
+ /* parameters */ &kParameters[601],
+ /* return matcher indices */ &kMatcherIndices[101],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7803,7 +7813,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[411],
+ /* parameters */ &kParameters[348],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7815,7 +7825,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[408],
+ /* parameters */ &kParameters[456],
/* return matcher indices */ &kMatcherIndices[39],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7827,7 +7837,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[659],
+ /* parameters */ &kParameters[663],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7839,31 +7849,31 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[658],
+ /* parameters */ &kParameters[662],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [219] */
- /* num parameters */ 3,
+ /* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[357],
+ /* parameters */ &kParameters[568],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [220] */
- /* num parameters */ 3,
+ /* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[348],
+ /* parameters */ &kParameters[566],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7871,12 +7881,12 @@
{
/* [221] */
/* num parameters */ 1,
- /* num open types */ 1,
+ /* num open types */ 0,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[0],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[584],
- /* return matcher indices */ &kMatcherIndices[55],
+ /* parameters */ &kParameters[560],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7884,23 +7894,23 @@
/* [222] */
/* num parameters */ 1,
/* num open types */ 0,
- /* num open numbers */ 0,
+ /* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[585],
- /* return matcher indices */ &kMatcherIndices[55],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[559],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [223] */
/* num parameters */ 1,
- /* num open types */ 0,
+ /* num open types */ 1,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[0],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[559],
- /* return matcher indices */ &kMatcherIndices[12],
+ /* parameters */ &kParameters[586],
+ /* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7908,11 +7918,11 @@
/* [224] */
/* num parameters */ 1,
/* num open types */ 0,
- /* num open numbers */ 1,
+ /* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[558],
- /* return matcher indices */ &kMatcherIndices[21],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[587],
+ /* return matcher indices */ &kMatcherIndices[55],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -7923,7 +7933,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[463],
+ /* parameters */ &kParameters[483],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7942,48 +7952,48 @@
},
{
/* [227] */
- /* num parameters */ 1,
+ /* num parameters */ 2,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[592],
+ /* parameters */ &kParameters[467],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [228] */
- /* num parameters */ 1,
+ /* num parameters */ 2,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[591],
+ /* parameters */ &kParameters[465],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [229] */
- /* num parameters */ 2,
+ /* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[459],
+ /* parameters */ &kParameters[594],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [230] */
- /* num parameters */ 2,
+ /* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[493],
+ /* parameters */ &kParameters[593],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -7995,7 +8005,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[661],
+ /* parameters */ &kParameters[665],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8007,7 +8017,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[660],
+ /* parameters */ &kParameters[664],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8015,48 +8025,48 @@
{
/* [233] */
/* num parameters */ 1,
- /* num open types */ 1,
+ /* num open types */ 0,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[1],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[590],
- /* return matcher indices */ &kMatcherIndices[1],
+ /* parameters */ &kParameters[668],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [234] */
/* num parameters */ 1,
- /* num open types */ 1,
+ /* num open types */ 0,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[1],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[589],
- /* return matcher indices */ &kMatcherIndices[39],
+ /* parameters */ &kParameters[666],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [235] */
/* num parameters */ 1,
- /* num open types */ 0,
+ /* num open types */ 1,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[588],
- /* return matcher indices */ &kMatcherIndices[12],
+ /* parameters */ &kParameters[592],
+ /* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [236] */
/* num parameters */ 1,
- /* num open types */ 0,
+ /* num open types */ 1,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
+ /* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[533],
- /* return matcher indices */ &kMatcherIndices[21],
+ /* parameters */ &kParameters[591],
+ /* return matcher indices */ &kMatcherIndices[39],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -8067,7 +8077,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[663],
+ /* parameters */ &kParameters[567],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8079,7 +8089,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[662],
+ /* parameters */ &kParameters[590],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8091,7 +8101,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[667],
+ /* parameters */ &kParameters[671],
/* return matcher indices */ &kMatcherIndices[10],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8103,7 +8113,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[666],
+ /* parameters */ &kParameters[670],
/* return matcher indices */ &kMatcherIndices[10],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8115,7 +8125,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[568],
+ /* parameters */ &kParameters[589],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8127,7 +8137,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[567],
+ /* parameters */ &kParameters[588],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8139,7 +8149,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[565],
+ /* parameters */ &kParameters[570],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8151,7 +8161,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[564],
+ /* parameters */ &kParameters[569],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8163,7 +8173,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[669],
+ /* parameters */ &kParameters[673],
/* return matcher indices */ &kMatcherIndices[10],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8175,79 +8185,79 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[668],
+ /* parameters */ &kParameters[672],
/* return matcher indices */ &kMatcherIndices[10],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [247] */
- /* num parameters */ 1,
+ /* num parameters */ 3,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[563],
+ /* parameters */ &kParameters[390],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [248] */
- /* num parameters */ 1,
+ /* num parameters */ 3,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[562],
+ /* parameters */ &kParameters[387],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [249] */
- /* num parameters */ 2,
+ /* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[483],
+ /* parameters */ &kParameters[565],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [250] */
- /* num parameters */ 2,
+ /* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[485],
+ /* parameters */ &kParameters[564],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [251] */
- /* num parameters */ 1,
+ /* num parameters */ 2,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[671],
+ /* parameters */ &kParameters[487],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [252] */
- /* num parameters */ 1,
+ /* num parameters */ 2,
/* num open types */ 0,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[670],
+ /* parameters */ &kParameters[489],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8259,7 +8269,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[561],
+ /* parameters */ &kParameters[563],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8271,7 +8281,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[560],
+ /* parameters */ &kParameters[674],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8283,7 +8293,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[587],
+ /* parameters */ &kParameters[562],
/* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8295,7 +8305,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[586],
+ /* parameters */ &kParameters[561],
/* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8303,48 +8313,48 @@
{
/* [257] */
/* num parameters */ 1,
- /* num open types */ 1,
+ /* num open types */ 0,
/* num open numbers */ 0,
- /* open types */ &kOpenTypes[0],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[673],
- /* return matcher indices */ &kMatcherIndices[1],
+ /* parameters */ &kParameters[557],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [258] */
/* num parameters */ 1,
- /* num open types */ 1,
+ /* num open types */ 0,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[0],
+ /* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[672],
- /* return matcher indices */ &kMatcherIndices[39],
+ /* parameters */ &kParameters[556],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [259] */
/* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 2,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[2],
- /* parameters */ &kParameters[557],
- /* return matcher indices */ &kMatcherIndices[9],
+ /* num open types */ 1,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[0],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[675],
+ /* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [260] */
/* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[554],
- /* return matcher indices */ &kMatcherIndices[85],
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[0],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[542],
+ /* return matcher indices */ &kMatcherIndices[39],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -8352,11 +8362,11 @@
/* [261] */
/* 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[553],
- /* return matcher indices */ &kMatcherIndices[85],
+ /* open numbers */ &kOpenNumbers[2],
+ /* parameters */ &kParameters[558],
+ /* return matcher indices */ &kMatcherIndices[9],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -8367,8 +8377,8 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[552],
- /* return matcher indices */ &kMatcherIndices[85],
+ /* parameters */ &kParameters[555],
+ /* return matcher indices */ &kMatcherIndices[81],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -8379,7 +8389,7 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[551],
+ /* parameters */ &kParameters[554],
/* return matcher indices */ &kMatcherIndices[81],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8391,37 +8401,97 @@
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[544],
+ /* parameters */ &kParameters[553],
/* return matcher indices */ &kMatcherIndices[81],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [265] */
- /* num parameters */ 0,
+ /* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[674],
- /* return matcher indices */ nullptr,
- /* supported_stages */ PipelineStageSet(PipelineStage::kCompute),
+ /* parameters */ &kParameters[546],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [266] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[544],
+ /* return matcher indices */ &kMatcherIndices[87],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [267] */
/* num parameters */ 0,
/* num open types */ 0,
/* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
/* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[674],
+ /* parameters */ &kParameters[676],
/* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
- /* [267] */
+ /* [268] */
+ /* num parameters */ 0,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[676],
+ /* return matcher indices */ nullptr,
+ /* supported_stages */ PipelineStageSet(PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [269] */
+ /* num parameters */ 1,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[598],
+ /* return matcher indices */ &kMatcherIndices[43],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [270] */
+ /* num parameters */ 3,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[453],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [271] */
+ /* num parameters */ 2,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[463],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [272] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
@@ -8433,55 +8503,7 @@
/* is_deprecated */ false,
},
{
- /* [268] */
- /* num parameters */ 3,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[441],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [269] */
- /* num parameters */ 2,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[531],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [270] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[593],
- /* return matcher indices */ &kMatcherIndices[43],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [271] */
- /* num parameters */ 1,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[594],
- /* return matcher indices */ &kMatcherIndices[43],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [272] */
+ /* [273] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
@@ -8493,7 +8515,7 @@
/* is_deprecated */ false,
},
{
- /* [273] */
+ /* [274] */
/* num parameters */ 1,
/* num open types */ 0,
/* num open numbers */ 0,
@@ -8505,109 +8527,97 @@
/* is_deprecated */ false,
},
{
- /* [274] */
+ /* [275] */
/* num parameters */ 1,
/* num open types */ 0,
- /* num open numbers */ 1,
+ /* num open numbers */ 0,
/* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[598],
- /* return matcher indices */ &kMatcherIndices[21],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [275] */
- /* num parameters */ 3,
- /* num open types */ 0,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[396],
- /* return matcher indices */ &kMatcherIndices[21],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[599],
+ /* return matcher indices */ &kMatcherIndices[43],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [276] */
- /* num parameters */ 2,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[0],
- /* open numbers */ &kOpenNumbers[3],
- /* parameters */ &kParameters[479],
- /* return matcher indices */ &kMatcherIndices[1],
- /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [277] */
/* 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[12],
+ /* parameters */ &kParameters[600],
+ /* return matcher indices */ &kMatcherIndices[21],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [277] */
+ /* num parameters */ 3,
+ /* num open types */ 0,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[408],
+ /* return matcher indices */ &kMatcherIndices[21],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [278] */
/* num parameters */ 2,
- /* num open types */ 0,
- /* num open numbers */ 0,
- /* open types */ &kOpenTypes[4],
- /* open numbers */ &kOpenNumbers[6],
- /* parameters */ &kParameters[491],
- /* return matcher indices */ &kMatcherIndices[89],
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[0],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[503],
+ /* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [279] */
/* num parameters */ 1,
- /* num open types */ 1,
+ /* num open types */ 0,
/* num open numbers */ 1,
- /* open types */ &kOpenTypes[2],
- /* open numbers */ &kOpenNumbers[4],
- /* parameters */ &kParameters[664],
- /* return matcher indices */ &kMatcherIndices[43],
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[3],
+ /* parameters */ &kParameters[649],
+ /* return matcher indices */ &kMatcherIndices[12],
/* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [280] */
+ /* num parameters */ 2,
+ /* num open types */ 0,
+ /* num open numbers */ 0,
+ /* open types */ &kOpenTypes[4],
+ /* open numbers */ &kOpenNumbers[6],
+ /* parameters */ &kParameters[495],
+ /* return matcher indices */ &kMatcherIndices[91],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [281] */
+ /* num parameters */ 1,
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[2],
+ /* open numbers */ &kOpenNumbers[4],
+ /* parameters */ &kParameters[669],
+ /* return matcher indices */ &kMatcherIndices[43],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kVertex, PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [282] */
/* num parameters */ 1,
/* num open types */ 1,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[665],
- /* return matcher indices */ &kMatcherIndices[1],
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [281] */
- /* num parameters */ 2,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[499],
- /* return matcher indices */ nullptr,
- /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
- /* is_deprecated */ false,
- },
- {
- /* [282] */
- /* num parameters */ 2,
- /* num open types */ 1,
- /* num open numbers */ 1,
- /* open types */ &kOpenTypes[1],
- /* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[501],
+ /* parameters */ &kParameters[667],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8619,8 +8629,8 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[503],
- /* return matcher indices */ &kMatcherIndices[1],
+ /* parameters */ &kParameters[529],
+ /* return matcher indices */ nullptr,
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -8631,7 +8641,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[505],
+ /* parameters */ &kParameters[471],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8643,7 +8653,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[507],
+ /* parameters */ &kParameters[475],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8655,7 +8665,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[509],
+ /* parameters */ &kParameters[477],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8667,7 +8677,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[527],
+ /* parameters */ &kParameters[459],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8679,7 +8689,7 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[513],
+ /* parameters */ &kParameters[501],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
@@ -8691,20 +8701,44 @@
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[487],
+ /* parameters */ &kParameters[505],
/* return matcher indices */ &kMatcherIndices[1],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
{
/* [290] */
+ /* num parameters */ 2,
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[5],
+ /* parameters */ &kParameters[507],
+ /* return matcher indices */ &kMatcherIndices[1],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [291] */
+ /* num parameters */ 2,
+ /* num open types */ 1,
+ /* num open numbers */ 1,
+ /* open types */ &kOpenTypes[1],
+ /* open numbers */ &kOpenNumbers[5],
+ /* parameters */ &kParameters[509],
+ /* return matcher indices */ &kMatcherIndices[1],
+ /* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
+ /* is_deprecated */ false,
+ },
+ {
+ /* [292] */
/* num parameters */ 3,
/* num open types */ 1,
/* num open numbers */ 1,
/* open types */ &kOpenTypes[1],
/* open numbers */ &kOpenNumbers[5],
- /* parameters */ &kParameters[372],
- /* return matcher indices */ &kMatcherIndices[103],
+ /* parameters */ &kParameters[378],
+ /* return matcher indices */ &kMatcherIndices[105],
/* supported_stages */ PipelineStageSet(PipelineStage::kFragment, PipelineStage::kCompute),
/* is_deprecated */ false,
},
@@ -8716,14 +8750,14 @@
/* fn abs<T : fiu32>(T) -> T */
/* fn abs<N : num, T : fiu32>(vec<N, T>) -> vec<N, T> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[257],
+ /* overloads */ &kOverloads[259],
},
{
/* [1] */
/* fn acos(f32) -> f32 */
/* fn acos<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[251],
+ /* overloads */ &kOverloads[253],
},
{
/* [2] */
@@ -8743,14 +8777,14 @@
/* [4] */
/* fn arrayLength<T, A : access>(ptr<storage, array<T>, A>) -> u32 */
/* num overloads */ 1,
- /* overloads */ &kOverloads[279],
+ /* overloads */ &kOverloads[281],
},
{
/* [5] */
/* fn asin(f32) -> f32 */
/* fn asin<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[237],
+ /* overloads */ &kOverloads[233],
},
{
/* [6] */
@@ -8764,7 +8798,7 @@
/* fn atan2(f32, f32) -> f32 */
/* fn atan2<N : num>(vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[229],
+ /* overloads */ &kOverloads[225],
},
{
/* [8] */
@@ -8785,14 +8819,14 @@
/* fn cos(f32) -> f32 */
/* fn cos<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[213],
+ /* overloads */ &kOverloads[211],
},
{
/* [11] */
/* fn cosh(f32) -> f32 */
/* fn cosh<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[209],
+ /* overloads */ &kOverloads[187],
},
{
/* [12] */
@@ -8819,7 +8853,7 @@
/* [15] */
/* fn cross(vec3<f32>, vec3<f32>) -> vec3<f32> */
/* num overloads */ 1,
- /* overloads */ &kOverloads[278],
+ /* overloads */ &kOverloads[280],
},
{
/* [16] */
@@ -8832,7 +8866,7 @@
/* [17] */
/* fn determinant<N : num>(mat<N, N, f32>) -> f32 */
/* num overloads */ 1,
- /* overloads */ &kOverloads[277],
+ /* overloads */ &kOverloads[279],
},
{
/* [18] */
@@ -8845,7 +8879,7 @@
/* [19] */
/* fn dot<N : num, T : fiu32>(vec<N, T>, vec<N, T>) -> T */
/* num overloads */ 1,
- /* overloads */ &kOverloads[276],
+ /* overloads */ &kOverloads[278],
},
{
/* [20] */
@@ -8907,346 +8941,353 @@
/* [28] */
/* fn faceForward<N : num>(vec<N, f32>, vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 1,
- /* overloads */ &kOverloads[275],
+ /* overloads */ &kOverloads[277],
},
{
/* [29] */
- /* fn floor(f32) -> f32 */
- /* fn floor<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn firstTrailingBit<T : iu32>(T) -> T */
+ /* fn firstTrailingBit<N : num, T : iu32>(vec<N, T>) -> vec<N, T> */
/* num overloads */ 2,
/* overloads */ &kOverloads[173],
},
{
/* [30] */
- /* fn fma(f32, f32, f32) -> f32 */
- /* fn fma<N : num>(vec<N, f32>, vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
+ /* fn floor(f32) -> f32 */
+ /* fn floor<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[175],
},
{
/* [31] */
- /* fn fract(f32) -> f32 */
- /* fn fract<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn fma(f32, f32, f32) -> f32 */
+ /* fn fma<N : num>(vec<N, f32>, vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[177],
},
{
/* [32] */
- /* fn frexp(f32) -> __frexp_result */
- /* fn frexp<N : num>(vec<N, f32>) -> __frexp_result_vec<N> */
+ /* fn fract(f32) -> f32 */
+ /* fn fract<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[179],
},
{
/* [33] */
- /* fn fwidth(f32) -> f32 */
- /* fn fwidth<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn frexp(f32) -> __frexp_result */
+ /* fn frexp<N : num>(vec<N, f32>) -> __frexp_result_vec<N> */
/* num overloads */ 2,
/* overloads */ &kOverloads[181],
},
{
/* [34] */
- /* fn fwidthCoarse(f32) -> f32 */
- /* fn fwidthCoarse<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn fwidth(f32) -> f32 */
+ /* fn fwidth<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[183],
},
{
/* [35] */
- /* fn fwidthFine(f32) -> f32 */
- /* fn fwidthFine<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn fwidthCoarse(f32) -> f32 */
+ /* fn fwidthCoarse<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[185],
},
{
/* [36] */
- /* fn inverseSqrt(f32) -> f32 */
- /* fn inverseSqrt<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn fwidthFine(f32) -> f32 */
+ /* fn fwidthFine<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[187],
+ /* overloads */ &kOverloads[145],
},
{
/* [37] */
- /* fn isFinite(f32) -> bool */
- /* fn isFinite<N : num>(vec<N, f32>) -> vec<N, bool> */
+ /* fn inverseSqrt(f32) -> f32 */
+ /* fn inverseSqrt<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[189],
},
{
/* [38] */
- /* fn isInf(f32) -> bool */
- /* fn isInf<N : num>(vec<N, f32>) -> vec<N, bool> */
+ /* fn isFinite(f32) -> bool */
+ /* fn isFinite<N : num>(vec<N, f32>) -> vec<N, bool> */
/* num overloads */ 2,
/* overloads */ &kOverloads[191],
},
{
/* [39] */
- /* fn isNan(f32) -> bool */
- /* fn isNan<N : num>(vec<N, f32>) -> vec<N, bool> */
+ /* fn isInf(f32) -> bool */
+ /* fn isInf<N : num>(vec<N, f32>) -> vec<N, bool> */
/* num overloads */ 2,
/* overloads */ &kOverloads[193],
},
{
/* [40] */
- /* fn isNormal(f32) -> bool */
- /* fn isNormal<N : num>(vec<N, f32>) -> vec<N, bool> */
+ /* fn isNan(f32) -> bool */
+ /* fn isNan<N : num>(vec<N, f32>) -> vec<N, bool> */
/* num overloads */ 2,
/* overloads */ &kOverloads[195],
},
{
/* [41] */
- /* fn ldexp(f32, i32) -> f32 */
- /* fn ldexp<N : num>(vec<N, f32>, vec<N, i32>) -> vec<N, f32> */
+ /* fn isNormal(f32) -> bool */
+ /* fn isNormal<N : num>(vec<N, f32>) -> vec<N, bool> */
/* num overloads */ 2,
/* overloads */ &kOverloads[197],
},
{
/* [42] */
- /* fn length(f32) -> f32 */
- /* fn length<N : num>(vec<N, f32>) -> f32 */
+ /* fn ldexp(f32, i32) -> f32 */
+ /* fn ldexp<N : num>(vec<N, f32>, vec<N, i32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[199],
},
{
/* [43] */
- /* fn log(f32) -> f32 */
- /* fn log<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn length(f32) -> f32 */
+ /* fn length<N : num>(vec<N, f32>) -> f32 */
/* num overloads */ 2,
/* overloads */ &kOverloads[201],
},
{
/* [44] */
- /* fn log2(f32) -> f32 */
- /* fn log2<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn log(f32) -> f32 */
+ /* fn log<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[203],
},
{
/* [45] */
- /* fn max<T : fiu32>(T, T) -> T */
- /* fn max<N : num, T : fiu32>(vec<N, T>, vec<N, T>) -> vec<N, T> */
+ /* fn log2(f32) -> f32 */
+ /* fn log2<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[205],
},
{
/* [46] */
- /* fn min<T : fiu32>(T, T) -> T */
- /* fn min<N : num, T : fiu32>(vec<N, T>, vec<N, T>) -> vec<N, T> */
+ /* fn max<T : fiu32>(T, T) -> T */
+ /* fn max<N : num, T : fiu32>(vec<N, T>, vec<N, T>) -> vec<N, T> */
/* num overloads */ 2,
/* overloads */ &kOverloads[207],
},
{
/* [47] */
+ /* fn min<T : fiu32>(T, T) -> T */
+ /* fn min<N : num, T : fiu32>(vec<N, T>, vec<N, T>) -> vec<N, T> */
+ /* num overloads */ 2,
+ /* overloads */ &kOverloads[209],
+ },
+ {
+ /* [48] */
/* fn mix(f32, f32, f32) -> f32 */
/* fn mix<N : num>(vec<N, f32>, vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
/* fn mix<N : num>(vec<N, f32>, vec<N, f32>, f32) -> vec<N, f32> */
/* num overloads */ 3,
- /* overloads */ &kOverloads[142],
- },
- {
- /* [48] */
- /* fn modf(f32) -> __modf_result */
- /* fn modf<N : num>(vec<N, f32>) -> __modf_result_vec<N> */
- /* num overloads */ 2,
- /* overloads */ &kOverloads[211],
+ /* overloads */ &kOverloads[139],
},
{
/* [49] */
+ /* fn modf(f32) -> __modf_result */
+ /* fn modf<N : num>(vec<N, f32>) -> __modf_result_vec<N> */
+ /* num overloads */ 2,
+ /* overloads */ &kOverloads[213],
+ },
+ {
+ /* [50] */
/* fn normalize<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 1,
+ /* overloads */ &kOverloads[276],
+ },
+ {
+ /* [51] */
+ /* fn pack2x16float(vec2<f32>) -> u32 */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[275],
+ },
+ {
+ /* [52] */
+ /* fn pack2x16snorm(vec2<f32>) -> u32 */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[269],
+ },
+ {
+ /* [53] */
+ /* fn pack2x16unorm(vec2<f32>) -> u32 */
+ /* num overloads */ 1,
/* overloads */ &kOverloads[274],
},
{
- /* [50] */
- /* fn pack2x16float(vec2<f32>) -> u32 */
+ /* [54] */
+ /* fn pack4x8snorm(vec4<f32>) -> u32 */
/* num overloads */ 1,
/* overloads */ &kOverloads[273],
},
{
- /* [51] */
- /* fn pack2x16snorm(vec2<f32>) -> u32 */
+ /* [55] */
+ /* fn pack4x8unorm(vec4<f32>) -> u32 */
/* num overloads */ 1,
/* overloads */ &kOverloads[272],
},
{
- /* [52] */
- /* fn pack2x16unorm(vec2<f32>) -> u32 */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[267],
- },
- {
- /* [53] */
- /* fn pack4x8snorm(vec4<f32>) -> u32 */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[271],
- },
- {
- /* [54] */
- /* fn pack4x8unorm(vec4<f32>) -> u32 */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[270],
- },
- {
- /* [55] */
+ /* [56] */
/* fn pow(f32, f32) -> f32 */
/* fn pow<N : num>(vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[225],
- },
- {
- /* [56] */
- /* fn radians(f32) -> f32 */
- /* fn radians<N : num>(vec<N, f32>) -> vec<N, f32> */
- /* num overloads */ 2,
/* overloads */ &kOverloads[227],
},
{
/* [57] */
- /* fn reflect<N : num>(vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[269],
+ /* fn radians(f32) -> f32 */
+ /* fn radians<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* num overloads */ 2,
+ /* overloads */ &kOverloads[229],
},
{
/* [58] */
- /* fn refract<N : num>(vec<N, f32>, vec<N, f32>, f32) -> vec<N, f32> */
+ /* fn reflect<N : num>(vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 1,
- /* overloads */ &kOverloads[268],
+ /* overloads */ &kOverloads[271],
},
{
/* [59] */
- /* fn reverseBits<T : iu32>(T) -> T */
- /* fn reverseBits<N : num, T : iu32>(vec<N, T>) -> vec<N, T> */
- /* num overloads */ 2,
- /* overloads */ &kOverloads[233],
+ /* fn refract<N : num>(vec<N, f32>, vec<N, f32>, f32) -> vec<N, f32> */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[270],
},
{
/* [60] */
- /* fn round(f32) -> f32 */
- /* fn round<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn reverseBits<T : iu32>(T) -> T */
+ /* fn reverseBits<N : num, T : iu32>(vec<N, T>) -> vec<N, T> */
/* num overloads */ 2,
/* overloads */ &kOverloads[235],
},
{
/* [61] */
+ /* fn round(f32) -> f32 */
+ /* fn round<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* num overloads */ 2,
+ /* overloads */ &kOverloads[237],
+ },
+ {
+ /* [62] */
/* fn select<T : scalar>(T, T, bool) -> T */
/* fn select<T : scalar, N : num>(vec<N, T>, vec<N, T>, bool) -> vec<N, T> */
/* fn select<N : num, T : scalar>(vec<N, T>, vec<N, T>, vec<N, bool>) -> vec<N, T> */
/* num overloads */ 3,
- /* overloads */ &kOverloads[139],
- },
- {
- /* [62] */
- /* fn sign(f32) -> f32 */
- /* fn sign<N : num>(vec<N, f32>) -> vec<N, f32> */
- /* num overloads */ 2,
- /* overloads */ &kOverloads[255],
+ /* overloads */ &kOverloads[142],
},
{
/* [63] */
- /* fn sin(f32) -> f32 */
- /* fn sin<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn sign(f32) -> f32 */
+ /* fn sign<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[241],
},
{
/* [64] */
- /* fn sinh(f32) -> f32 */
- /* fn sinh<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn sin(f32) -> f32 */
+ /* fn sin<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[243],
},
{
/* [65] */
- /* fn smoothStep(f32, f32, f32) -> f32 */
- /* fn smoothStep<N : num>(vec<N, f32>, vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
+ /* fn sinh(f32) -> f32 */
+ /* fn sinh<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[219],
},
{
/* [66] */
- /* fn sqrt(f32) -> f32 */
- /* fn sqrt<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn smoothStep(f32, f32, f32) -> f32 */
+ /* fn smoothStep<N : num>(vec<N, f32>, vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[247],
},
{
/* [67] */
- /* fn step(f32, f32) -> f32 */
- /* fn step<N : num>(vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
+ /* fn sqrt(f32) -> f32 */
+ /* fn sqrt<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
/* overloads */ &kOverloads[249],
},
{
/* [68] */
- /* fn storageBarrier() */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[266],
+ /* fn step(f32, f32) -> f32 */
+ /* fn step<N : num>(vec<N, f32>, vec<N, f32>) -> vec<N, f32> */
+ /* num overloads */ 2,
+ /* overloads */ &kOverloads[251],
},
{
/* [69] */
- /* fn tan(f32) -> f32 */
- /* fn tan<N : num>(vec<N, f32>) -> vec<N, f32> */
- /* num overloads */ 2,
- /* overloads */ &kOverloads[253],
+ /* fn storageBarrier() */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[268],
},
{
/* [70] */
- /* fn tanh(f32) -> f32 */
- /* fn tanh<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* fn tan(f32) -> f32 */
+ /* fn tan<N : num>(vec<N, f32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ &kOverloads[223],
+ /* overloads */ &kOverloads[255],
},
{
/* [71] */
- /* fn transpose<M : num, N : num>(mat<M, N, f32>) -> mat<N, M, f32> */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[259],
+ /* fn tanh(f32) -> f32 */
+ /* fn tanh<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* num overloads */ 2,
+ /* overloads */ &kOverloads[221],
},
{
/* [72] */
- /* fn trunc(f32) -> f32 */
- /* fn trunc<N : num>(vec<N, f32>) -> vec<N, f32> */
- /* num overloads */ 2,
- /* overloads */ &kOverloads[145],
- },
- {
- /* [73] */
- /* fn unpack2x16float(u32) -> vec2<f32> */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[260],
- },
- {
- /* [74] */
- /* fn unpack2x16snorm(u32) -> vec2<f32> */
+ /* fn transpose<M : num, N : num>(mat<M, N, f32>) -> mat<N, M, f32> */
/* num overloads */ 1,
/* overloads */ &kOverloads[261],
},
{
- /* [75] */
- /* fn unpack2x16unorm(u32) -> vec2<f32> */
+ /* [73] */
+ /* fn trunc(f32) -> f32 */
+ /* fn trunc<N : num>(vec<N, f32>) -> vec<N, f32> */
+ /* num overloads */ 2,
+ /* overloads */ &kOverloads[257],
+ },
+ {
+ /* [74] */
+ /* fn unpack2x16float(u32) -> vec2<f32> */
/* num overloads */ 1,
/* overloads */ &kOverloads[262],
},
{
- /* [76] */
- /* fn unpack4x8snorm(u32) -> vec4<f32> */
+ /* [75] */
+ /* fn unpack2x16snorm(u32) -> vec2<f32> */
/* num overloads */ 1,
/* overloads */ &kOverloads[263],
},
{
- /* [77] */
- /* fn unpack4x8unorm(u32) -> vec4<f32> */
+ /* [76] */
+ /* fn unpack2x16unorm(u32) -> vec2<f32> */
/* num overloads */ 1,
/* overloads */ &kOverloads[264],
},
{
- /* [78] */
- /* fn workgroupBarrier() */
+ /* [77] */
+ /* fn unpack4x8snorm(u32) -> vec4<f32> */
/* num overloads */ 1,
/* overloads */ &kOverloads[265],
},
{
+ /* [78] */
+ /* fn unpack4x8unorm(u32) -> vec4<f32> */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[266],
+ },
+ {
/* [79] */
+ /* fn workgroupBarrier() */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[267],
+ },
+ {
+ /* [80] */
/* fn textureDimensions<T : fiu32>(texture: texture_1d<T>) -> i32 */
/* fn textureDimensions<T : fiu32>(texture: texture_1d<T>, level: i32) -> i32 */
/* fn textureDimensions<T : fiu32>(texture: texture_2d<T>) -> vec2<i32> */
@@ -9278,7 +9319,7 @@
/* overloads */ &kOverloads[0],
},
{
- /* [80] */
+ /* [81] */
/* fn textureGather<T : fiu32>(component: i32, texture: texture_2d<T>, sampler: sampler, coords: vec2<f32>) -> vec4<T> */
/* fn textureGather<T : fiu32>(component: i32, texture: texture_2d<T>, sampler: sampler, coords: vec2<f32>, offset: vec2<i32>) -> vec4<T> */
/* fn textureGather<T : fiu32>(component: i32, texture: texture_2d_array<T>, sampler: sampler, coords: vec2<f32>, array_index: i32) -> vec4<T> */
@@ -9295,7 +9336,7 @@
/* overloads */ &kOverloads[57],
},
{
- /* [81] */
+ /* [82] */
/* fn textureGatherCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2<f32>, depth_ref: f32) -> vec4<f32> */
/* fn textureGatherCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2<f32>, depth_ref: f32, offset: vec2<i32>) -> vec4<f32> */
/* fn textureGatherCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2<f32>, array_index: i32, depth_ref: f32) -> vec4<f32> */
@@ -9306,7 +9347,7 @@
/* overloads */ &kOverloads[116],
},
{
- /* [82] */
+ /* [83] */
/* fn textureNumLayers<T : fiu32>(texture: texture_2d_array<T>) -> i32 */
/* fn textureNumLayers<T : fiu32>(texture: texture_cube_array<T>) -> i32 */
/* fn textureNumLayers(texture: texture_depth_2d_array) -> i32 */
@@ -9316,7 +9357,7 @@
/* overloads */ &kOverloads[134],
},
{
- /* [83] */
+ /* [84] */
/* fn textureNumLevels<T : fiu32>(texture: texture_1d<T>) -> i32 */
/* fn textureNumLevels<T : fiu32>(texture: texture_2d<T>) -> i32 */
/* fn textureNumLevels<T : fiu32>(texture: texture_2d_array<T>) -> i32 */
@@ -9331,14 +9372,14 @@
/* overloads */ &kOverloads[81],
},
{
- /* [84] */
+ /* [85] */
/* fn textureNumSamples<T : fiu32>(texture: texture_multisampled_2d<T>) -> i32 */
/* fn textureNumSamples(texture: texture_depth_multisampled_2d) -> i32 */
/* num overloads */ 2,
- /* overloads */ &kOverloads[221],
+ /* overloads */ &kOverloads[223],
},
{
- /* [85] */
+ /* [86] */
/* fn textureSample(texture: texture_1d<f32>, sampler: sampler, coords: f32) -> vec4<f32> */
/* fn textureSample(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>) -> vec4<f32> */
/* fn textureSample(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, offset: vec2<i32>) -> vec4<f32> */
@@ -9358,7 +9399,7 @@
/* overloads */ &kOverloads[42],
},
{
- /* [86] */
+ /* [87] */
/* fn textureSampleBias(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, bias: f32) -> vec4<f32> */
/* fn textureSampleBias(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, bias: f32, offset: vec2<i32>) -> vec4<f32> */
/* fn textureSampleBias(texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, bias: f32) -> vec4<f32> */
@@ -9368,10 +9409,10 @@
/* fn textureSampleBias(texture: texture_cube<f32>, sampler: sampler, coords: vec3<f32>, bias: f32) -> vec4<f32> */
/* fn textureSampleBias(texture: texture_cube_array<f32>, sampler: sampler, coords: vec3<f32>, array_index: i32, bias: f32) -> vec4<f32> */
/* num overloads */ 8,
- /* overloads */ &kOverloads[100],
+ /* overloads */ &kOverloads[108],
},
{
- /* [87] */
+ /* [88] */
/* fn textureSampleCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2<f32>, depth_ref: f32) -> f32 */
/* fn textureSampleCompare(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2<f32>, depth_ref: f32, offset: vec2<i32>) -> f32 */
/* fn textureSampleCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2<f32>, array_index: i32, depth_ref: f32) -> f32 */
@@ -9379,10 +9420,10 @@
/* fn textureSampleCompare(texture: texture_depth_cube, sampler: sampler_comparison, coords: vec3<f32>, depth_ref: f32) -> f32 */
/* fn textureSampleCompare(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3<f32>, array_index: i32, depth_ref: f32) -> f32 */
/* num overloads */ 6,
- /* overloads */ &kOverloads[122],
+ /* overloads */ &kOverloads[128],
},
{
- /* [88] */
+ /* [89] */
/* fn textureSampleCompareLevel(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2<f32>, depth_ref: f32) -> f32 */
/* fn textureSampleCompareLevel(texture: texture_depth_2d, sampler: sampler_comparison, coords: vec2<f32>, depth_ref: f32, offset: vec2<i32>) -> f32 */
/* fn textureSampleCompareLevel(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2<f32>, array_index: i32, depth_ref: f32) -> f32 */
@@ -9390,10 +9431,10 @@
/* fn textureSampleCompareLevel(texture: texture_depth_cube, sampler: sampler_comparison, coords: vec3<f32>, depth_ref: f32) -> f32 */
/* fn textureSampleCompareLevel(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3<f32>, array_index: i32, depth_ref: f32) -> f32 */
/* num overloads */ 6,
- /* overloads */ &kOverloads[128],
+ /* overloads */ &kOverloads[122],
},
{
- /* [89] */
+ /* [90] */
/* fn textureSampleGrad(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, ddx: vec2<f32>, ddy: vec2<f32>) -> vec4<f32> */
/* fn textureSampleGrad(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, ddx: vec2<f32>, ddy: vec2<f32>, offset: vec2<i32>) -> vec4<f32> */
/* fn textureSampleGrad(texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, ddx: vec2<f32>, ddy: vec2<f32>) -> vec4<f32> */
@@ -9403,10 +9444,10 @@
/* fn textureSampleGrad(texture: texture_cube<f32>, sampler: sampler, coords: vec3<f32>, ddx: vec3<f32>, ddy: vec3<f32>) -> vec4<f32> */
/* fn textureSampleGrad(texture: texture_cube_array<f32>, sampler: sampler, coords: vec3<f32>, array_index: i32, ddx: vec3<f32>, ddy: vec3<f32>) -> vec4<f32> */
/* num overloads */ 8,
- /* overloads */ &kOverloads[108],
+ /* overloads */ &kOverloads[100],
},
{
- /* [90] */
+ /* [91] */
/* fn textureSampleLevel(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, level: f32) -> vec4<f32> */
/* fn textureSampleLevel(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, level: f32, offset: vec2<i32>) -> vec4<f32> */
/* fn textureSampleLevel(texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, level: f32) -> vec4<f32> */
@@ -9426,7 +9467,7 @@
/* overloads */ &kOverloads[27],
},
{
- /* [91] */
+ /* [92] */
/* fn textureStore(texture: texture_storage_1d<f32_texel_format, write>, coords: i32, value: vec4<f32>) */
/* fn textureStore(texture: texture_storage_2d<f32_texel_format, write>, coords: vec2<i32>, value: vec4<f32>) */
/* fn textureStore(texture: texture_storage_2d_array<f32_texel_format, write>, coords: vec2<i32>, array_index: i32, value: vec4<f32>) */
@@ -9443,7 +9484,7 @@
/* overloads */ &kOverloads[69],
},
{
- /* [92] */
+ /* [93] */
/* fn textureLoad<T : fiu32>(texture: texture_1d<T>, coords: i32, level: i32) -> vec4<T> */
/* fn textureLoad<T : fiu32>(texture: texture_2d<T>, coords: vec2<i32>, level: i32) -> vec4<T> */
/* fn textureLoad<T : fiu32>(texture: texture_2d_array<T>, coords: vec2<i32>, array_index: i32, level: i32) -> vec4<T> */
@@ -9457,71 +9498,71 @@
/* overloads */ &kOverloads[91],
},
{
- /* [93] */
- /* fn atomicLoad<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>) -> T */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[280],
- },
- {
/* [94] */
- /* fn atomicStore<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) */
- /* num overloads */ 1,
- /* overloads */ &kOverloads[281],
- },
- {
- /* [95] */
- /* fn atomicAdd<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* fn atomicLoad<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[282],
},
{
- /* [96] */
- /* fn atomicSub<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* [95] */
+ /* fn atomicStore<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) */
/* num overloads */ 1,
/* overloads */ &kOverloads[283],
},
{
- /* [97] */
- /* fn atomicMax<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* [96] */
+ /* fn atomicAdd<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[284],
},
{
- /* [98] */
- /* fn atomicMin<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* [97] */
+ /* fn atomicSub<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[285],
},
{
- /* [99] */
- /* fn atomicAnd<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* [98] */
+ /* fn atomicMax<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[286],
},
{
- /* [100] */
- /* fn atomicOr<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* [99] */
+ /* fn atomicMin<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[287],
},
{
- /* [101] */
- /* fn atomicXor<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* [100] */
+ /* fn atomicAnd<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[288],
},
{
- /* [102] */
- /* fn atomicExchange<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* [101] */
+ /* fn atomicOr<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[289],
},
{
- /* [103] */
- /* fn atomicCompareExchangeWeak<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T, T) -> vec2<T> */
+ /* [102] */
+ /* fn atomicXor<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
/* num overloads */ 1,
/* overloads */ &kOverloads[290],
},
+ {
+ /* [103] */
+ /* fn atomicExchange<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T) -> T */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[291],
+ },
+ {
+ /* [104] */
+ /* fn atomicCompareExchangeWeak<T : iu32, S : workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T, T) -> vec2<T> */
+ /* num overloads */ 1,
+ /* overloads */ &kOverloads[292],
+ },
};
// clang-format on
diff --git a/src/tint/builtins.def b/src/tint/builtins.def
index 6ba6e64..9b2dd71 100644
--- a/src/tint/builtins.def
+++ b/src/tint/builtins.def
@@ -316,6 +316,8 @@
fn exp2(f32) -> f32
fn exp2<N: num>(vec<N, f32>) -> vec<N, f32>
fn faceForward<N: num>(vec<N, f32>, vec<N, f32>, vec<N, f32>) -> vec<N, f32>
+fn firstTrailingBit<T: iu32>(T) -> T
+fn firstTrailingBit<N: num, T: iu32>(vec<N, T>) -> vec<N, T>
fn floor(f32) -> f32
fn floor<N: num>(vec<N, f32>) -> vec<N, f32>
fn fma(f32, f32, f32) -> f32
diff --git a/src/tint/sem/builtin_type.cc b/src/tint/sem/builtin_type.cc
index 69c39ac..c19434d 100644
--- a/src/tint/sem/builtin_type.cc
+++ b/src/tint/sem/builtin_type.cc
@@ -117,6 +117,9 @@
if (name == "faceForward") {
return BuiltinType::kFaceForward;
}
+ if (name == "firstTrailingBit") {
+ return BuiltinType::kFirstTrailingBit;
+ }
if (name == "floor") {
return BuiltinType::kFloor;
}
@@ -407,6 +410,8 @@
return "exp2";
case BuiltinType::kFaceForward:
return "faceForward";
+ case BuiltinType::kFirstTrailingBit:
+ return "firstTrailingBit";
case BuiltinType::kFloor:
return "floor";
case BuiltinType::kFma:
diff --git a/src/tint/sem/builtin_type.h b/src/tint/sem/builtin_type.h
index 22809bb..1a5d7e7 100644
--- a/src/tint/sem/builtin_type.h
+++ b/src/tint/sem/builtin_type.h
@@ -63,6 +63,7 @@
kExp,
kExp2,
kFaceForward,
+ kFirstTrailingBit,
kFloor,
kFma,
kFract,
diff --git a/src/tint/transform/builtin_polyfill.cc b/src/tint/transform/builtin_polyfill.cc
index 6a00e65..45e8995 100644
--- a/src/tint/transform/builtin_polyfill.cc
+++ b/src/tint/transform/builtin_polyfill.cc
@@ -45,10 +45,7 @@
/// @return the polyfill function name
Symbol countLeadingZeros(const sem::Type* ty) {
auto name = b.Symbols().New("tint_count_leading_zeros");
- uint32_t width = 1;
- if (auto* v = ty->As<sem::Vector>()) {
- width = v->Width();
- }
+ uint32_t width = WidthOf(ty);
// Returns either u32 or vecN<u32>
auto U = [&]() -> const ast::Type* {
@@ -113,10 +110,7 @@
/// @return the polyfill function name
Symbol countTrailingZeros(const sem::Type* ty) {
auto name = b.Symbols().New("tint_count_trailing_zeros");
- uint32_t width = 1;
- if (auto* v = ty->As<sem::Vector>()) {
- width = v->Width();
- }
+ uint32_t width = WidthOf(ty);
// Returns either u32 or vecN<u32>
auto U = [&]() -> const ast::Type* {
@@ -182,8 +176,87 @@
return name;
}
+ /// Builds the polyfill function for the `firstTrailingBit` builtin
+ /// @param ty the parameter and return type for the function
+ /// @return the polyfill function name
+ Symbol firstTrailingBit(const sem::Type* ty) {
+ auto name = b.Symbols().New("tint_first_trailing_bit");
+ uint32_t width = WidthOf(ty);
+
+ // Returns either u32 or vecN<u32>
+ auto U = [&]() -> const ast::Type* {
+ if (width == 1) {
+ return b.ty.u32();
+ }
+ return b.ty.vec<ProgramBuilder::u32>(width);
+ };
+ auto V = [&](uint32_t value) -> const ast::Expression* {
+ if (width == 1) {
+ return b.Expr(value);
+ }
+ return b.Construct(b.ty.vec<ProgramBuilder::u32>(width), value);
+ };
+ auto B = [&](const ast::Expression* value) -> const ast::Expression* {
+ if (width == 1) {
+ return b.Construct<bool>(value);
+ }
+ return b.Construct(b.ty.vec<bool>(width), value);
+ };
+ b.Func(name, {b.Param("v", T(ty))}, T(ty),
+ {
+ // var x = U(v);
+ b.Decl(b.Var("x", nullptr, b.Construct(U(), b.Expr("v")))),
+ // let b16 = select(16, 0, bool(x & 0x0000ffff));
+ b.Decl(b.Const("b16", nullptr,
+ b.Call("select", V(16), V(0),
+ B(b.And("x", V(0x0000ffff)))))),
+ // x = x >> b16;
+ b.Assign("x", b.Shr("x", "b16")),
+ // let b8 = select(8, 0, bool(x & 0x000000ff));
+ b.Decl(b.Const(
+ "b8", nullptr,
+ b.Call("select", V(8), V(0), B(b.And("x", V(0x000000ff)))))),
+ // x = x >> b8;
+ b.Assign("x", b.Shr("x", "b8")),
+ // let b4 = select(4, 0, bool(x & 0x0000000f));
+ b.Decl(b.Const(
+ "b4", nullptr,
+ b.Call("select", V(4), V(0), B(b.And("x", V(0x0000000f)))))),
+ // x = x >> b4;
+ b.Assign("x", b.Shr("x", "b4")),
+ // let b2 = select(2, 0, bool(x & 0x00000003));
+ b.Decl(b.Const(
+ "b2", nullptr,
+ b.Call("select", V(2), V(0), B(b.And("x", V(0x00000003)))))),
+ // x = x >> b2;
+ b.Assign("x", b.Shr("x", "b2")),
+ // let b1 = select(1, 0, bool(x & 0x00000001));
+ b.Decl(b.Const(
+ "b1", nullptr,
+ b.Call("select", V(1), V(0), B(b.And("x", V(0x00000001)))))),
+ // let is_zero = select(0, 0xffffffff, x == 0);
+ b.Decl(b.Const("is_zero", nullptr,
+ b.Call("select", V(0), V(0xffffffff),
+ b.Equal("x", V(0))))),
+ // return R(b16 | b8 | b4 | b2 | b1 | is_zero);
+ b.Return(b.Construct(
+ T(ty),
+ b.Or(b.Or(b.Or(b.Or(b.Or("b16", "b8"), "b4"), "b2"), "b1"),
+ "is_zero"))),
+ });
+ return name;
+ }
+
private:
- const ast::Type* T(const sem::Type* ty) { return CreateASTTypeFor(ctx, ty); }
+ const ast::Type* T(const sem::Type* ty) const {
+ return CreateASTTypeFor(ctx, ty);
+ }
+ uint32_t WidthOf(const sem::Type* ty) const {
+ if (auto* v = ty->As<sem::Vector>()) {
+ return v->Width();
+ }
+ return 1;
+ }
};
BuiltinPolyfill::BuiltinPolyfill() = default;
@@ -209,6 +282,11 @@
return true;
}
break;
+ case sem::BuiltinType::kFirstTrailingBit:
+ if (builtins.first_trailing_bit) {
+ return true;
+ }
+ break;
default:
break;
}
@@ -252,6 +330,13 @@
});
}
break;
+ case sem::BuiltinType::kFirstTrailingBit:
+ if (builtins.first_trailing_bit) {
+ polyfill = utils::GetOrCreate(polyfills, builtin, [&] {
+ return s.firstTrailingBit(builtin->ReturnType());
+ });
+ }
+ break;
default:
break;
}
diff --git a/src/tint/transform/builtin_polyfill.h b/src/tint/transform/builtin_polyfill.h
index 9897a1d..b86e0e6 100644
--- a/src/tint/transform/builtin_polyfill.h
+++ b/src/tint/transform/builtin_polyfill.h
@@ -34,6 +34,8 @@
bool count_leading_zeros = false;
/// Should `countTrailingZeros()` be polyfilled?
bool count_trailing_zeros = false;
+ /// Should `firstTrailingBit()` be polyfilled?
+ bool first_trailing_bit = false;
};
/// Config is consumed by the BuiltinPolyfill transform.
diff --git a/src/tint/transform/builtin_polyfill_test.cc b/src/tint/transform/builtin_polyfill_test.cc
index ec66839..155e6d6 100644
--- a/src/tint/transform/builtin_polyfill_test.cc
+++ b/src/tint/transform/builtin_polyfill_test.cc
@@ -348,6 +348,160 @@
EXPECT_EQ(expect, str(got));
}
+////////////////////////////////////////////////////////////////////////////////
+// firstTrailingBit
+////////////////////////////////////////////////////////////////////////////////
+DataMap polyfillFirstTrailingBit() {
+ BuiltinPolyfill::Builtins builtins;
+ builtins.first_trailing_bit = true;
+ DataMap data;
+ data.Add<BuiltinPolyfill::Config>(builtins);
+ return data;
+}
+
+TEST_F(BuiltinPolyfillTest, ShouldRunFirstTrailingBit) {
+ auto* src = R"(
+fn f() {
+ firstTrailingBit(0xf);
+}
+)";
+
+ EXPECT_FALSE(ShouldRun<BuiltinPolyfill>(src));
+ EXPECT_TRUE(ShouldRun<BuiltinPolyfill>(src, polyfillFirstTrailingBit()));
+}
+
+TEST_F(BuiltinPolyfillTest, FirstTrailingBit_i32) {
+ auto* src = R"(
+fn f() {
+ let r : i32 = firstTrailingBit(15);
+}
+)";
+
+ auto* expect = R"(
+fn tint_first_trailing_bit(v : i32) -> i32 {
+ var x = u32(v);
+ let b16 = select(16u, 0u, bool((x & 65535u)));
+ x = (x >> b16);
+ let b8 = select(8u, 0u, bool((x & 255u)));
+ x = (x >> b8);
+ let b4 = select(4u, 0u, bool((x & 15u)));
+ x = (x >> b4);
+ let b2 = select(2u, 0u, bool((x & 3u)));
+ x = (x >> b2);
+ let b1 = select(1u, 0u, bool((x & 1u)));
+ let is_zero = select(0u, 4294967295u, (x == 0u));
+ return i32((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+fn f() {
+ let r : i32 = tint_first_trailing_bit(15);
+}
+)";
+
+ auto got = Run<BuiltinPolyfill>(src, polyfillFirstTrailingBit());
+
+ EXPECT_EQ(expect, str(got));
+}
+
+TEST_F(BuiltinPolyfillTest, FirstTrailingBit_u32) {
+ auto* src = R"(
+fn f() {
+ let r : u32 = firstTrailingBit(15u);
+}
+)";
+
+ auto* expect = R"(
+fn tint_first_trailing_bit(v : u32) -> u32 {
+ var x = u32(v);
+ let b16 = select(16u, 0u, bool((x & 65535u)));
+ x = (x >> b16);
+ let b8 = select(8u, 0u, bool((x & 255u)));
+ x = (x >> b8);
+ let b4 = select(4u, 0u, bool((x & 15u)));
+ x = (x >> b4);
+ let b2 = select(2u, 0u, bool((x & 3u)));
+ x = (x >> b2);
+ let b1 = select(1u, 0u, bool((x & 1u)));
+ let is_zero = select(0u, 4294967295u, (x == 0u));
+ return u32((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+fn f() {
+ let r : u32 = tint_first_trailing_bit(15u);
+}
+)";
+
+ auto got = Run<BuiltinPolyfill>(src, polyfillFirstTrailingBit());
+
+ EXPECT_EQ(expect, str(got));
+}
+
+TEST_F(BuiltinPolyfillTest, FirstTrailingBit_vec3_i32) {
+ auto* src = R"(
+fn f() {
+ let r : vec3<i32> = firstTrailingBit(vec3<i32>(15));
+}
+)";
+
+ auto* expect = R"(
+fn tint_first_trailing_bit(v : vec3<i32>) -> vec3<i32> {
+ var x = vec3<u32>(v);
+ let b16 = select(vec3<u32>(16u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(65535u))));
+ x = (x >> b16);
+ let b8 = select(vec3<u32>(8u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(255u))));
+ x = (x >> b8);
+ let b4 = select(vec3<u32>(4u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(15u))));
+ x = (x >> b4);
+ let b2 = select(vec3<u32>(2u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(3u))));
+ x = (x >> b2);
+ let b1 = select(vec3<u32>(1u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(1u))));
+ let is_zero = select(vec3<u32>(0u), vec3<u32>(4294967295u), (x == vec3<u32>(0u)));
+ return vec3<i32>((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+fn f() {
+ let r : vec3<i32> = tint_first_trailing_bit(vec3<i32>(15));
+}
+)";
+
+ auto got = Run<BuiltinPolyfill>(src, polyfillFirstTrailingBit());
+
+ EXPECT_EQ(expect, str(got));
+}
+
+TEST_F(BuiltinPolyfillTest, FirstTrailingBit_vec3_u32) {
+ auto* src = R"(
+fn f() {
+ let r : vec3<u32> = firstTrailingBit(vec3<u32>(15u));
+}
+)";
+
+ auto* expect = R"(
+fn tint_first_trailing_bit(v : vec3<u32>) -> vec3<u32> {
+ var x = vec3<u32>(v);
+ let b16 = select(vec3<u32>(16u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(65535u))));
+ x = (x >> b16);
+ let b8 = select(vec3<u32>(8u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(255u))));
+ x = (x >> b8);
+ let b4 = select(vec3<u32>(4u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(15u))));
+ x = (x >> b4);
+ let b2 = select(vec3<u32>(2u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(3u))));
+ x = (x >> b2);
+ let b1 = select(vec3<u32>(1u), vec3<u32>(0u), vec3<bool>((x & vec3<u32>(1u))));
+ let is_zero = select(vec3<u32>(0u), vec3<u32>(4294967295u), (x == vec3<u32>(0u)));
+ return vec3<u32>((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+fn f() {
+ let r : vec3<u32> = tint_first_trailing_bit(vec3<u32>(15u));
+}
+)";
+
+ auto got = Run<BuiltinPolyfill>(src, polyfillFirstTrailingBit());
+
+ EXPECT_EQ(expect, str(got));
+}
+
} // namespace
} // namespace transform
} // namespace tint
diff --git a/src/tint/transform/glsl.cc b/src/tint/transform/glsl.cc
index 1970af2..fb4d230 100644
--- a/src/tint/transform/glsl.cc
+++ b/src/tint/transform/glsl.cc
@@ -56,6 +56,7 @@
BuiltinPolyfill::Builtins polyfills;
polyfills.count_leading_zeros = true;
polyfills.count_trailing_zeros = true;
+ polyfills.first_trailing_bit = true;
data.Add<BuiltinPolyfill::Config>(polyfills);
manager.Add<BuiltinPolyfill>();
}
diff --git a/src/tint/writer/hlsl/generator_impl.cc b/src/tint/writer/hlsl/generator_impl.cc
index 5e6de6a..d84082d 100644
--- a/src/tint/writer/hlsl/generator_impl.cc
+++ b/src/tint/writer/hlsl/generator_impl.cc
@@ -143,8 +143,11 @@
{ // Builtin polyfills
transform::BuiltinPolyfill::Builtins polyfills;
+ // TODO(crbug.com/tint/1449): Some of these can map to HLSL's `firstbitlow`
+ // and `firstbithigh`.
polyfills.count_leading_zeros = true;
polyfills.count_trailing_zeros = true;
+ polyfills.first_trailing_bit = true;
data.Add<transform::BuiltinPolyfill::Config>(polyfills);
manager.Add<transform::BuiltinPolyfill>();
}
diff --git a/src/tint/writer/msl/generator_impl.cc b/src/tint/writer/msl/generator_impl.cc
index ffe00f5..2f79eb5 100644
--- a/src/tint/writer/msl/generator_impl.cc
+++ b/src/tint/writer/msl/generator_impl.cc
@@ -59,6 +59,7 @@
#include "src/tint/sem/vector_type.h"
#include "src/tint/sem/void_type.h"
#include "src/tint/transform/array_length_from_uniform.h"
+#include "src/tint/transform/builtin_polyfill.h"
#include "src/tint/transform/canonicalize_entry_point_io.h"
#include "src/tint/transform/external_texture_transform.h"
#include "src/tint/transform/manager.h"
@@ -127,6 +128,13 @@
transform::Manager manager;
transform::DataMap data;
+ { // Builtin polyfills
+ transform::BuiltinPolyfill::Builtins polyfills;
+ polyfills.first_trailing_bit = true;
+ data.Add<transform::BuiltinPolyfill::Config>(polyfills);
+ manager.Add<transform::BuiltinPolyfill>();
+ }
+
// Build the config for the internal ArrayLengthFromUniform transform.
transform::ArrayLengthFromUniform::Config array_length_from_uniform_cfg(
array_length_from_uniform.ubo_binding);
diff --git a/src/tint/writer/spirv/builder.cc b/src/tint/writer/spirv/builder.cc
index 7c69b1c..e8dbe8e 100644
--- a/src/tint/writer/spirv/builder.cc
+++ b/src/tint/writer/spirv/builder.cc
@@ -263,6 +263,7 @@
transform::BuiltinPolyfill::Builtins polyfills;
polyfills.count_leading_zeros = true;
polyfills.count_trailing_zeros = true;
+ polyfills.first_trailing_bit = true;
data.Add<transform::BuiltinPolyfill::Config>(polyfills);
manager.Add<transform::BuiltinPolyfill>();
}
diff --git a/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl
new file mode 100644
index 0000000..5353983
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(vec<4, u32>) -> vec<4, u32>
+fn firstTrailingBit_110f2c() {
+ var res: vec4<u32> = firstTrailingBit(vec4<u32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_110f2c();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_110f2c();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_110f2c();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.glsl
new file mode 100644
index 0000000..d4abd39
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+uvec4 tint_first_trailing_bit(uvec4 v) {
+ uvec4 x = uvec4(v);
+ uvec4 b16 = mix(uvec4(16u), uvec4(0u), bvec4((x & uvec4(65535u))));
+ x = (x >> b16);
+ uvec4 b8 = mix(uvec4(8u), uvec4(0u), bvec4((x & uvec4(255u))));
+ x = (x >> b8);
+ uvec4 b4 = mix(uvec4(4u), uvec4(0u), bvec4((x & uvec4(15u))));
+ x = (x >> b4);
+ uvec4 b2 = mix(uvec4(2u), uvec4(0u), bvec4((x & uvec4(3u))));
+ x = (x >> b2);
+ uvec4 b1 = mix(uvec4(1u), uvec4(0u), bvec4((x & uvec4(1u))));
+ uvec4 is_zero = mix(uvec4(0u), uvec4(4294967295u), equal(x, uvec4(0u)));
+ return uvec4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_110f2c() {
+ uvec4 res = tint_first_trailing_bit(uvec4(0u, 0u, 0u, 0u));
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_110f2c();
+ 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;
+
+uvec4 tint_first_trailing_bit(uvec4 v) {
+ uvec4 x = uvec4(v);
+ uvec4 b16 = mix(uvec4(16u), uvec4(0u), bvec4((x & uvec4(65535u))));
+ x = (x >> b16);
+ uvec4 b8 = mix(uvec4(8u), uvec4(0u), bvec4((x & uvec4(255u))));
+ x = (x >> b8);
+ uvec4 b4 = mix(uvec4(4u), uvec4(0u), bvec4((x & uvec4(15u))));
+ x = (x >> b4);
+ uvec4 b2 = mix(uvec4(2u), uvec4(0u), bvec4((x & uvec4(3u))));
+ x = (x >> b2);
+ uvec4 b1 = mix(uvec4(1u), uvec4(0u), bvec4((x & uvec4(1u))));
+ uvec4 is_zero = mix(uvec4(0u), uvec4(4294967295u), equal(x, uvec4(0u)));
+ return uvec4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_110f2c() {
+ uvec4 res = tint_first_trailing_bit(uvec4(0u, 0u, 0u, 0u));
+}
+
+void fragment_main() {
+ firstTrailingBit_110f2c();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+uvec4 tint_first_trailing_bit(uvec4 v) {
+ uvec4 x = uvec4(v);
+ uvec4 b16 = mix(uvec4(16u), uvec4(0u), bvec4((x & uvec4(65535u))));
+ x = (x >> b16);
+ uvec4 b8 = mix(uvec4(8u), uvec4(0u), bvec4((x & uvec4(255u))));
+ x = (x >> b8);
+ uvec4 b4 = mix(uvec4(4u), uvec4(0u), bvec4((x & uvec4(15u))));
+ x = (x >> b4);
+ uvec4 b2 = mix(uvec4(2u), uvec4(0u), bvec4((x & uvec4(3u))));
+ x = (x >> b2);
+ uvec4 b1 = mix(uvec4(1u), uvec4(0u), bvec4((x & uvec4(1u))));
+ uvec4 is_zero = mix(uvec4(0u), uvec4(4294967295u), equal(x, uvec4(0u)));
+ return uvec4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_110f2c() {
+ uvec4 res = tint_first_trailing_bit(uvec4(0u, 0u, 0u, 0u));
+}
+
+void compute_main() {
+ firstTrailingBit_110f2c();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.hlsl
new file mode 100644
index 0000000..34c1b66
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+uint4 tint_first_trailing_bit(uint4 v) {
+ uint4 x = uint4(v);
+ const uint4 b16 = (bool4((x & uint4((65535u).xxxx))) ? uint4((0u).xxxx) : uint4((16u).xxxx));
+ x = (x >> b16);
+ const uint4 b8 = (bool4((x & uint4((255u).xxxx))) ? uint4((0u).xxxx) : uint4((8u).xxxx));
+ x = (x >> b8);
+ const uint4 b4 = (bool4((x & uint4((15u).xxxx))) ? uint4((0u).xxxx) : uint4((4u).xxxx));
+ x = (x >> b4);
+ const uint4 b2 = (bool4((x & uint4((3u).xxxx))) ? uint4((0u).xxxx) : uint4((2u).xxxx));
+ x = (x >> b2);
+ const uint4 b1 = (bool4((x & uint4((1u).xxxx))) ? uint4((0u).xxxx) : uint4((1u).xxxx));
+ const uint4 is_zero = ((x == uint4((0u).xxxx)) ? uint4((4294967295u).xxxx) : uint4((0u).xxxx));
+ return uint4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_110f2c() {
+ uint4 res = tint_first_trailing_bit(uint4(0u, 0u, 0u, 0u));
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_110f2c();
+ 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() {
+ firstTrailingBit_110f2c();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_110f2c();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.msl
new file mode 100644
index 0000000..076113f
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+uint4 tint_first_trailing_bit(uint4 v) {
+ uint4 x = uint4(v);
+ uint4 const b16 = select(uint4(16u), uint4(0u), bool4((x & uint4(65535u))));
+ x = (x >> b16);
+ uint4 const b8 = select(uint4(8u), uint4(0u), bool4((x & uint4(255u))));
+ x = (x >> b8);
+ uint4 const b4 = select(uint4(4u), uint4(0u), bool4((x & uint4(15u))));
+ x = (x >> b4);
+ uint4 const b2 = select(uint4(2u), uint4(0u), bool4((x & uint4(3u))));
+ x = (x >> b2);
+ uint4 const b1 = select(uint4(1u), uint4(0u), bool4((x & uint4(1u))));
+ uint4 const is_zero = select(uint4(0u), uint4(4294967295u), (x == uint4(0u)));
+ return uint4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_110f2c() {
+ uint4 res = tint_first_trailing_bit(uint4());
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_110f2c();
+ 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() {
+ firstTrailingBit_110f2c();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_110f2c();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.spvasm
new file mode 100644
index 0000000..7d9b599
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.spvasm
@@ -0,0 +1,142 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 100
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_110f2c "firstTrailingBit_110f2c"
+ OpName %res "res"
+ 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
+ %uint = OpTypeInt 32 0
+ %v4uint = OpTypeVector %uint 4
+ %9 = OpTypeFunction %v4uint %v4uint
+%_ptr_Function_v4uint = OpTypePointer Function %v4uint
+ %18 = OpConstantNull %v4uint
+ %bool = OpTypeBool
+ %v4bool = OpTypeVector %bool 4
+ %uint_65535 = OpConstant %uint 65535
+ %25 = OpConstantComposite %v4uint %uint_65535 %uint_65535 %uint_65535 %uint_65535
+ %uint_0 = OpConstant %uint 0
+ %28 = OpConstantComposite %v4uint %uint_0 %uint_0 %uint_0 %uint_0
+ %uint_16 = OpConstant %uint 16
+ %30 = OpConstantComposite %v4uint %uint_16 %uint_16 %uint_16 %uint_16
+ %uint_255 = OpConstant %uint 255
+ %37 = OpConstantComposite %v4uint %uint_255 %uint_255 %uint_255 %uint_255
+ %uint_8 = OpConstant %uint 8
+ %40 = OpConstantComposite %v4uint %uint_8 %uint_8 %uint_8 %uint_8
+ %uint_15 = OpConstant %uint 15
+ %47 = OpConstantComposite %v4uint %uint_15 %uint_15 %uint_15 %uint_15
+ %uint_4 = OpConstant %uint 4
+ %50 = OpConstantComposite %v4uint %uint_4 %uint_4 %uint_4 %uint_4
+ %uint_3 = OpConstant %uint 3
+ %57 = OpConstantComposite %v4uint %uint_3 %uint_3 %uint_3 %uint_3
+ %uint_2 = OpConstant %uint 2
+ %60 = OpConstantComposite %v4uint %uint_2 %uint_2 %uint_2 %uint_2
+ %uint_1 = OpConstant %uint 1
+ %67 = OpConstantComposite %v4uint %uint_1 %uint_1 %uint_1 %uint_1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %73 = OpConstantComposite %v4uint %uint_4294967295 %uint_4294967295 %uint_4294967295 %uint_4294967295
+ %void = OpTypeVoid
+ %80 = OpTypeFunction %void
+ %86 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %v4uint None %9
+ %v = OpFunctionParameter %v4uint
+ %14 = OpLabel
+ %x = OpVariable %_ptr_Function_v4uint Function %18
+ OpStore %x %v
+ %23 = OpLoad %v4uint %x
+ %26 = OpBitwiseAnd %v4uint %23 %25
+ %20 = OpINotEqual %v4bool %26 %18
+ %19 = OpSelect %v4uint %20 %28 %30
+ %31 = OpLoad %v4uint %x
+ %32 = OpShiftRightLogical %v4uint %31 %19
+ OpStore %x %32
+ %35 = OpLoad %v4uint %x
+ %38 = OpBitwiseAnd %v4uint %35 %37
+ %34 = OpINotEqual %v4bool %38 %18
+ %33 = OpSelect %v4uint %34 %28 %40
+ %41 = OpLoad %v4uint %x
+ %42 = OpShiftRightLogical %v4uint %41 %33
+ OpStore %x %42
+ %45 = OpLoad %v4uint %x
+ %48 = OpBitwiseAnd %v4uint %45 %47
+ %44 = OpINotEqual %v4bool %48 %18
+ %43 = OpSelect %v4uint %44 %28 %50
+ %51 = OpLoad %v4uint %x
+ %52 = OpShiftRightLogical %v4uint %51 %43
+ OpStore %x %52
+ %55 = OpLoad %v4uint %x
+ %58 = OpBitwiseAnd %v4uint %55 %57
+ %54 = OpINotEqual %v4bool %58 %18
+ %53 = OpSelect %v4uint %54 %28 %60
+ %61 = OpLoad %v4uint %x
+ %62 = OpShiftRightLogical %v4uint %61 %53
+ OpStore %x %62
+ %65 = OpLoad %v4uint %x
+ %68 = OpBitwiseAnd %v4uint %65 %67
+ %64 = OpINotEqual %v4bool %68 %18
+ %63 = OpSelect %v4uint %64 %28 %67
+ %70 = OpLoad %v4uint %x
+ %71 = OpIEqual %v4bool %70 %28
+ %69 = OpSelect %v4uint %71 %73 %28
+ %75 = OpBitwiseOr %v4uint %19 %33
+ %76 = OpBitwiseOr %v4uint %75 %43
+ %77 = OpBitwiseOr %v4uint %76 %53
+ %78 = OpBitwiseOr %v4uint %77 %63
+ %79 = OpBitwiseOr %v4uint %78 %69
+ OpReturnValue %79
+ OpFunctionEnd
+%firstTrailingBit_110f2c = OpFunction %void None %80
+ %83 = OpLabel
+ %res = OpVariable %_ptr_Function_v4uint Function %18
+ %84 = OpFunctionCall %v4uint %tint_first_trailing_bit %18
+ OpStore %res %84
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %86
+ %88 = OpLabel
+ %89 = OpFunctionCall %void %firstTrailingBit_110f2c
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %80
+ %91 = OpLabel
+ %92 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %92
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %80
+ %95 = OpLabel
+ %96 = OpFunctionCall %void %firstTrailingBit_110f2c
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %80
+ %98 = OpLabel
+ %99 = OpFunctionCall %void %firstTrailingBit_110f2c
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.wgsl
new file mode 100644
index 0000000..d138779
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/110f2c.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_110f2c() {
+ var res : vec4<u32> = firstTrailingBit(vec4<u32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_110f2c();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_110f2c();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_110f2c();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl
new file mode 100644
index 0000000..888fc91
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(i32) -> i32
+fn firstTrailingBit_3a2acc() {
+ var res: i32 = firstTrailingBit(1);
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_3a2acc();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_3a2acc();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_3a2acc();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.glsl
new file mode 100644
index 0000000..6b4eff0
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+int tint_first_trailing_bit(int v) {
+ uint x = uint(v);
+ uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_3a2acc() {
+ int res = tint_first_trailing_bit(1);
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_3a2acc();
+ 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;
+
+int tint_first_trailing_bit(int v) {
+ uint x = uint(v);
+ uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_3a2acc() {
+ int res = tint_first_trailing_bit(1);
+}
+
+void fragment_main() {
+ firstTrailingBit_3a2acc();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+int tint_first_trailing_bit(int v) {
+ uint x = uint(v);
+ uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_3a2acc() {
+ int res = tint_first_trailing_bit(1);
+}
+
+void compute_main() {
+ firstTrailingBit_3a2acc();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.hlsl
new file mode 100644
index 0000000..4301d3c
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+int tint_first_trailing_bit(int v) {
+ uint x = uint(v);
+ const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ const uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_3a2acc() {
+ int res = tint_first_trailing_bit(1);
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_3a2acc();
+ 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() {
+ firstTrailingBit_3a2acc();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_3a2acc();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.msl
new file mode 100644
index 0000000..99f5439
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+int tint_first_trailing_bit(int v) {
+ uint x = uint(v);
+ uint const b16 = select(16u, 0u, bool((x & 65535u)));
+ x = (x >> b16);
+ uint const b8 = select(8u, 0u, bool((x & 255u)));
+ x = (x >> b8);
+ uint const b4 = select(4u, 0u, bool((x & 15u)));
+ x = (x >> b4);
+ uint const b2 = select(2u, 0u, bool((x & 3u)));
+ x = (x >> b2);
+ uint const b1 = select(1u, 0u, bool((x & 1u)));
+ uint const is_zero = select(0u, 4294967295u, (x == 0u));
+ return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_3a2acc() {
+ int res = tint_first_trailing_bit(1);
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_3a2acc();
+ 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() {
+ firstTrailingBit_3a2acc();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_3a2acc();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.spvasm
new file mode 100644
index 0000000..491f4a4
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.spvasm
@@ -0,0 +1,135 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 91
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_3a2acc "firstTrailingBit_3a2acc"
+ OpName %res "res"
+ 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
+ %int = OpTypeInt 32 1
+ %9 = OpTypeFunction %int %int
+ %uint = OpTypeInt 32 0
+%_ptr_Function_uint = OpTypePointer Function %uint
+ %18 = OpConstantNull %uint
+ %bool = OpTypeBool
+ %uint_65535 = OpConstant %uint 65535
+ %uint_0 = OpConstant %uint 0
+ %uint_16 = OpConstant %uint 16
+ %uint_255 = OpConstant %uint 255
+ %uint_8 = OpConstant %uint 8
+ %uint_15 = OpConstant %uint 15
+ %uint_4 = OpConstant %uint 4
+ %uint_3 = OpConstant %uint 3
+ %uint_2 = OpConstant %uint 2
+ %uint_1 = OpConstant %uint 1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %void = OpTypeVoid
+ %68 = OpTypeFunction %void
+ %int_1 = OpConstant %int 1
+%_ptr_Function_int = OpTypePointer Function %int
+ %76 = OpConstantNull %int
+ %77 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %int None %9
+ %v = OpFunctionParameter %int
+ %13 = OpLabel
+ %x = OpVariable %_ptr_Function_uint Function %18
+ %14 = OpBitcast %uint %v
+ OpStore %x %14
+ %22 = OpLoad %uint %x
+ %24 = OpBitwiseAnd %uint %22 %uint_65535
+ %20 = OpINotEqual %bool %24 %18
+ %19 = OpSelect %uint %20 %uint_0 %uint_16
+ %27 = OpLoad %uint %x
+ %28 = OpShiftRightLogical %uint %27 %19
+ OpStore %x %28
+ %31 = OpLoad %uint %x
+ %33 = OpBitwiseAnd %uint %31 %uint_255
+ %30 = OpINotEqual %bool %33 %18
+ %29 = OpSelect %uint %30 %uint_0 %uint_8
+ %35 = OpLoad %uint %x
+ %36 = OpShiftRightLogical %uint %35 %29
+ OpStore %x %36
+ %39 = OpLoad %uint %x
+ %41 = OpBitwiseAnd %uint %39 %uint_15
+ %38 = OpINotEqual %bool %41 %18
+ %37 = OpSelect %uint %38 %uint_0 %uint_4
+ %43 = OpLoad %uint %x
+ %44 = OpShiftRightLogical %uint %43 %37
+ OpStore %x %44
+ %47 = OpLoad %uint %x
+ %49 = OpBitwiseAnd %uint %47 %uint_3
+ %46 = OpINotEqual %bool %49 %18
+ %45 = OpSelect %uint %46 %uint_0 %uint_2
+ %51 = OpLoad %uint %x
+ %52 = OpShiftRightLogical %uint %51 %45
+ OpStore %x %52
+ %55 = OpLoad %uint %x
+ %57 = OpBitwiseAnd %uint %55 %uint_1
+ %54 = OpINotEqual %bool %57 %18
+ %53 = OpSelect %uint %54 %uint_0 %uint_1
+ %59 = OpLoad %uint %x
+ %60 = OpIEqual %bool %59 %uint_0
+ %58 = OpSelect %uint %60 %uint_4294967295 %uint_0
+ %63 = OpBitwiseOr %uint %19 %29
+ %64 = OpBitwiseOr %uint %63 %37
+ %65 = OpBitwiseOr %uint %64 %45
+ %66 = OpBitwiseOr %uint %65 %53
+ %67 = OpBitwiseOr %uint %66 %58
+ %62 = OpBitcast %int %67
+ OpReturnValue %62
+ OpFunctionEnd
+%firstTrailingBit_3a2acc = OpFunction %void None %68
+ %71 = OpLabel
+ %res = OpVariable %_ptr_Function_int Function %76
+ %72 = OpFunctionCall %int %tint_first_trailing_bit %int_1
+ OpStore %res %72
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %77
+ %79 = OpLabel
+ %80 = OpFunctionCall %void %firstTrailingBit_3a2acc
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %68
+ %82 = OpLabel
+ %83 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %83
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %68
+ %86 = OpLabel
+ %87 = OpFunctionCall %void %firstTrailingBit_3a2acc
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %68
+ %89 = OpLabel
+ %90 = OpFunctionCall %void %firstTrailingBit_3a2acc
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.wgsl
new file mode 100644
index 0000000..7d59d68
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/3a2acc.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_3a2acc() {
+ var res : i32 = firstTrailingBit(1);
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_3a2acc();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_3a2acc();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_3a2acc();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl
new file mode 100644
index 0000000..5e5cdb0
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(vec<2, u32>) -> vec<2, u32>
+fn firstTrailingBit_45eb10() {
+ var res: vec2<u32> = firstTrailingBit(vec2<u32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_45eb10();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_45eb10();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_45eb10();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.glsl
new file mode 100644
index 0000000..f487e3f
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+uvec2 tint_first_trailing_bit(uvec2 v) {
+ uvec2 x = uvec2(v);
+ uvec2 b16 = mix(uvec2(16u), uvec2(0u), bvec2((x & uvec2(65535u))));
+ x = (x >> b16);
+ uvec2 b8 = mix(uvec2(8u), uvec2(0u), bvec2((x & uvec2(255u))));
+ x = (x >> b8);
+ uvec2 b4 = mix(uvec2(4u), uvec2(0u), bvec2((x & uvec2(15u))));
+ x = (x >> b4);
+ uvec2 b2 = mix(uvec2(2u), uvec2(0u), bvec2((x & uvec2(3u))));
+ x = (x >> b2);
+ uvec2 b1 = mix(uvec2(1u), uvec2(0u), bvec2((x & uvec2(1u))));
+ uvec2 is_zero = mix(uvec2(0u), uvec2(4294967295u), equal(x, uvec2(0u)));
+ return uvec2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_45eb10() {
+ uvec2 res = tint_first_trailing_bit(uvec2(0u, 0u));
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_45eb10();
+ 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;
+
+uvec2 tint_first_trailing_bit(uvec2 v) {
+ uvec2 x = uvec2(v);
+ uvec2 b16 = mix(uvec2(16u), uvec2(0u), bvec2((x & uvec2(65535u))));
+ x = (x >> b16);
+ uvec2 b8 = mix(uvec2(8u), uvec2(0u), bvec2((x & uvec2(255u))));
+ x = (x >> b8);
+ uvec2 b4 = mix(uvec2(4u), uvec2(0u), bvec2((x & uvec2(15u))));
+ x = (x >> b4);
+ uvec2 b2 = mix(uvec2(2u), uvec2(0u), bvec2((x & uvec2(3u))));
+ x = (x >> b2);
+ uvec2 b1 = mix(uvec2(1u), uvec2(0u), bvec2((x & uvec2(1u))));
+ uvec2 is_zero = mix(uvec2(0u), uvec2(4294967295u), equal(x, uvec2(0u)));
+ return uvec2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_45eb10() {
+ uvec2 res = tint_first_trailing_bit(uvec2(0u, 0u));
+}
+
+void fragment_main() {
+ firstTrailingBit_45eb10();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+uvec2 tint_first_trailing_bit(uvec2 v) {
+ uvec2 x = uvec2(v);
+ uvec2 b16 = mix(uvec2(16u), uvec2(0u), bvec2((x & uvec2(65535u))));
+ x = (x >> b16);
+ uvec2 b8 = mix(uvec2(8u), uvec2(0u), bvec2((x & uvec2(255u))));
+ x = (x >> b8);
+ uvec2 b4 = mix(uvec2(4u), uvec2(0u), bvec2((x & uvec2(15u))));
+ x = (x >> b4);
+ uvec2 b2 = mix(uvec2(2u), uvec2(0u), bvec2((x & uvec2(3u))));
+ x = (x >> b2);
+ uvec2 b1 = mix(uvec2(1u), uvec2(0u), bvec2((x & uvec2(1u))));
+ uvec2 is_zero = mix(uvec2(0u), uvec2(4294967295u), equal(x, uvec2(0u)));
+ return uvec2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_45eb10() {
+ uvec2 res = tint_first_trailing_bit(uvec2(0u, 0u));
+}
+
+void compute_main() {
+ firstTrailingBit_45eb10();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.hlsl
new file mode 100644
index 0000000..3a4e74d
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+uint2 tint_first_trailing_bit(uint2 v) {
+ uint2 x = uint2(v);
+ const uint2 b16 = (bool2((x & uint2((65535u).xx))) ? uint2((0u).xx) : uint2((16u).xx));
+ x = (x >> b16);
+ const uint2 b8 = (bool2((x & uint2((255u).xx))) ? uint2((0u).xx) : uint2((8u).xx));
+ x = (x >> b8);
+ const uint2 b4 = (bool2((x & uint2((15u).xx))) ? uint2((0u).xx) : uint2((4u).xx));
+ x = (x >> b4);
+ const uint2 b2 = (bool2((x & uint2((3u).xx))) ? uint2((0u).xx) : uint2((2u).xx));
+ x = (x >> b2);
+ const uint2 b1 = (bool2((x & uint2((1u).xx))) ? uint2((0u).xx) : uint2((1u).xx));
+ const uint2 is_zero = ((x == uint2((0u).xx)) ? uint2((4294967295u).xx) : uint2((0u).xx));
+ return uint2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_45eb10() {
+ uint2 res = tint_first_trailing_bit(uint2(0u, 0u));
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_45eb10();
+ 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() {
+ firstTrailingBit_45eb10();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_45eb10();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.msl
new file mode 100644
index 0000000..309b5f7
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+uint2 tint_first_trailing_bit(uint2 v) {
+ uint2 x = uint2(v);
+ uint2 const b16 = select(uint2(16u), uint2(0u), bool2((x & uint2(65535u))));
+ x = (x >> b16);
+ uint2 const b8 = select(uint2(8u), uint2(0u), bool2((x & uint2(255u))));
+ x = (x >> b8);
+ uint2 const b4 = select(uint2(4u), uint2(0u), bool2((x & uint2(15u))));
+ x = (x >> b4);
+ uint2 const b2 = select(uint2(2u), uint2(0u), bool2((x & uint2(3u))));
+ x = (x >> b2);
+ uint2 const b1 = select(uint2(1u), uint2(0u), bool2((x & uint2(1u))));
+ uint2 const is_zero = select(uint2(0u), uint2(4294967295u), (x == uint2(0u)));
+ return uint2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_45eb10() {
+ uint2 res = tint_first_trailing_bit(uint2());
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_45eb10();
+ 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() {
+ firstTrailingBit_45eb10();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_45eb10();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.spvasm
new file mode 100644
index 0000000..ca8428c
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.spvasm
@@ -0,0 +1,142 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 100
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_45eb10 "firstTrailingBit_45eb10"
+ OpName %res "res"
+ 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
+ %uint = OpTypeInt 32 0
+ %v2uint = OpTypeVector %uint 2
+ %9 = OpTypeFunction %v2uint %v2uint
+%_ptr_Function_v2uint = OpTypePointer Function %v2uint
+ %18 = OpConstantNull %v2uint
+ %bool = OpTypeBool
+ %v2bool = OpTypeVector %bool 2
+ %uint_65535 = OpConstant %uint 65535
+ %25 = OpConstantComposite %v2uint %uint_65535 %uint_65535
+ %uint_0 = OpConstant %uint 0
+ %28 = OpConstantComposite %v2uint %uint_0 %uint_0
+ %uint_16 = OpConstant %uint 16
+ %30 = OpConstantComposite %v2uint %uint_16 %uint_16
+ %uint_255 = OpConstant %uint 255
+ %37 = OpConstantComposite %v2uint %uint_255 %uint_255
+ %uint_8 = OpConstant %uint 8
+ %40 = OpConstantComposite %v2uint %uint_8 %uint_8
+ %uint_15 = OpConstant %uint 15
+ %47 = OpConstantComposite %v2uint %uint_15 %uint_15
+ %uint_4 = OpConstant %uint 4
+ %50 = OpConstantComposite %v2uint %uint_4 %uint_4
+ %uint_3 = OpConstant %uint 3
+ %57 = OpConstantComposite %v2uint %uint_3 %uint_3
+ %uint_2 = OpConstant %uint 2
+ %60 = OpConstantComposite %v2uint %uint_2 %uint_2
+ %uint_1 = OpConstant %uint 1
+ %67 = OpConstantComposite %v2uint %uint_1 %uint_1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %73 = OpConstantComposite %v2uint %uint_4294967295 %uint_4294967295
+ %void = OpTypeVoid
+ %80 = OpTypeFunction %void
+ %86 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %v2uint None %9
+ %v = OpFunctionParameter %v2uint
+ %14 = OpLabel
+ %x = OpVariable %_ptr_Function_v2uint Function %18
+ OpStore %x %v
+ %23 = OpLoad %v2uint %x
+ %26 = OpBitwiseAnd %v2uint %23 %25
+ %20 = OpINotEqual %v2bool %26 %18
+ %19 = OpSelect %v2uint %20 %28 %30
+ %31 = OpLoad %v2uint %x
+ %32 = OpShiftRightLogical %v2uint %31 %19
+ OpStore %x %32
+ %35 = OpLoad %v2uint %x
+ %38 = OpBitwiseAnd %v2uint %35 %37
+ %34 = OpINotEqual %v2bool %38 %18
+ %33 = OpSelect %v2uint %34 %28 %40
+ %41 = OpLoad %v2uint %x
+ %42 = OpShiftRightLogical %v2uint %41 %33
+ OpStore %x %42
+ %45 = OpLoad %v2uint %x
+ %48 = OpBitwiseAnd %v2uint %45 %47
+ %44 = OpINotEqual %v2bool %48 %18
+ %43 = OpSelect %v2uint %44 %28 %50
+ %51 = OpLoad %v2uint %x
+ %52 = OpShiftRightLogical %v2uint %51 %43
+ OpStore %x %52
+ %55 = OpLoad %v2uint %x
+ %58 = OpBitwiseAnd %v2uint %55 %57
+ %54 = OpINotEqual %v2bool %58 %18
+ %53 = OpSelect %v2uint %54 %28 %60
+ %61 = OpLoad %v2uint %x
+ %62 = OpShiftRightLogical %v2uint %61 %53
+ OpStore %x %62
+ %65 = OpLoad %v2uint %x
+ %68 = OpBitwiseAnd %v2uint %65 %67
+ %64 = OpINotEqual %v2bool %68 %18
+ %63 = OpSelect %v2uint %64 %28 %67
+ %70 = OpLoad %v2uint %x
+ %71 = OpIEqual %v2bool %70 %28
+ %69 = OpSelect %v2uint %71 %73 %28
+ %75 = OpBitwiseOr %v2uint %19 %33
+ %76 = OpBitwiseOr %v2uint %75 %43
+ %77 = OpBitwiseOr %v2uint %76 %53
+ %78 = OpBitwiseOr %v2uint %77 %63
+ %79 = OpBitwiseOr %v2uint %78 %69
+ OpReturnValue %79
+ OpFunctionEnd
+%firstTrailingBit_45eb10 = OpFunction %void None %80
+ %83 = OpLabel
+ %res = OpVariable %_ptr_Function_v2uint Function %18
+ %84 = OpFunctionCall %v2uint %tint_first_trailing_bit %18
+ OpStore %res %84
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %86
+ %88 = OpLabel
+ %89 = OpFunctionCall %void %firstTrailingBit_45eb10
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %80
+ %91 = OpLabel
+ %92 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %92
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %80
+ %95 = OpLabel
+ %96 = OpFunctionCall %void %firstTrailingBit_45eb10
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %80
+ %98 = OpLabel
+ %99 = OpFunctionCall %void %firstTrailingBit_45eb10
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.wgsl
new file mode 100644
index 0000000..fc7dd14
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/45eb10.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_45eb10() {
+ var res : vec2<u32> = firstTrailingBit(vec2<u32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_45eb10();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_45eb10();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_45eb10();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl
new file mode 100644
index 0000000..b74f882
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(u32) -> u32
+fn firstTrailingBit_47d475() {
+ var res: u32 = firstTrailingBit(1u);
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_47d475();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_47d475();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_47d475();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.glsl
new file mode 100644
index 0000000..f3b2f3c
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+uint tint_first_trailing_bit(uint v) {
+ uint x = uint(v);
+ uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_47d475() {
+ uint res = tint_first_trailing_bit(1u);
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_47d475();
+ 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;
+
+uint tint_first_trailing_bit(uint v) {
+ uint x = uint(v);
+ uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_47d475() {
+ uint res = tint_first_trailing_bit(1u);
+}
+
+void fragment_main() {
+ firstTrailingBit_47d475();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+uint tint_first_trailing_bit(uint v) {
+ uint x = uint(v);
+ uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_47d475() {
+ uint res = tint_first_trailing_bit(1u);
+}
+
+void compute_main() {
+ firstTrailingBit_47d475();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.hlsl
new file mode 100644
index 0000000..95376f6
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+uint tint_first_trailing_bit(uint v) {
+ uint x = uint(v);
+ const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+ x = (x >> b16);
+ const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+ x = (x >> b8);
+ const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+ x = (x >> b4);
+ const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+ x = (x >> b2);
+ const uint b1 = (bool((x & 1u)) ? 0u : 1u);
+ const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+ return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_47d475() {
+ uint res = tint_first_trailing_bit(1u);
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_47d475();
+ 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() {
+ firstTrailingBit_47d475();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_47d475();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.msl
new file mode 100644
index 0000000..9000618
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+uint tint_first_trailing_bit(uint v) {
+ uint x = uint(v);
+ uint const b16 = select(16u, 0u, bool((x & 65535u)));
+ x = (x >> b16);
+ uint const b8 = select(8u, 0u, bool((x & 255u)));
+ x = (x >> b8);
+ uint const b4 = select(4u, 0u, bool((x & 15u)));
+ x = (x >> b4);
+ uint const b2 = select(2u, 0u, bool((x & 3u)));
+ x = (x >> b2);
+ uint const b1 = select(1u, 0u, bool((x & 1u)));
+ uint const is_zero = select(0u, 4294967295u, (x == 0u));
+ return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_47d475() {
+ uint res = tint_first_trailing_bit(1u);
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_47d475();
+ 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() {
+ firstTrailingBit_47d475();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_47d475();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.spvasm
new file mode 100644
index 0000000..2c9f7a3
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.spvasm
@@ -0,0 +1,129 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 87
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_47d475 "firstTrailingBit_47d475"
+ OpName %res "res"
+ 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
+ %uint = OpTypeInt 32 0
+ %9 = OpTypeFunction %uint %uint
+%_ptr_Function_uint = OpTypePointer Function %uint
+ %17 = OpConstantNull %uint
+ %bool = OpTypeBool
+ %uint_65535 = OpConstant %uint 65535
+ %uint_0 = OpConstant %uint 0
+ %uint_16 = OpConstant %uint 16
+ %uint_255 = OpConstant %uint 255
+ %uint_8 = OpConstant %uint 8
+ %uint_15 = OpConstant %uint 15
+ %uint_4 = OpConstant %uint 4
+ %uint_3 = OpConstant %uint 3
+ %uint_2 = OpConstant %uint 2
+ %uint_1 = OpConstant %uint 1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %void = OpTypeVoid
+ %67 = OpTypeFunction %void
+ %73 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %uint None %9
+ %v = OpFunctionParameter %uint
+ %13 = OpLabel
+ %x = OpVariable %_ptr_Function_uint Function %17
+ OpStore %x %v
+ %21 = OpLoad %uint %x
+ %23 = OpBitwiseAnd %uint %21 %uint_65535
+ %19 = OpINotEqual %bool %23 %17
+ %18 = OpSelect %uint %19 %uint_0 %uint_16
+ %26 = OpLoad %uint %x
+ %27 = OpShiftRightLogical %uint %26 %18
+ OpStore %x %27
+ %30 = OpLoad %uint %x
+ %32 = OpBitwiseAnd %uint %30 %uint_255
+ %29 = OpINotEqual %bool %32 %17
+ %28 = OpSelect %uint %29 %uint_0 %uint_8
+ %34 = OpLoad %uint %x
+ %35 = OpShiftRightLogical %uint %34 %28
+ OpStore %x %35
+ %38 = OpLoad %uint %x
+ %40 = OpBitwiseAnd %uint %38 %uint_15
+ %37 = OpINotEqual %bool %40 %17
+ %36 = OpSelect %uint %37 %uint_0 %uint_4
+ %42 = OpLoad %uint %x
+ %43 = OpShiftRightLogical %uint %42 %36
+ OpStore %x %43
+ %46 = OpLoad %uint %x
+ %48 = OpBitwiseAnd %uint %46 %uint_3
+ %45 = OpINotEqual %bool %48 %17
+ %44 = OpSelect %uint %45 %uint_0 %uint_2
+ %50 = OpLoad %uint %x
+ %51 = OpShiftRightLogical %uint %50 %44
+ OpStore %x %51
+ %54 = OpLoad %uint %x
+ %56 = OpBitwiseAnd %uint %54 %uint_1
+ %53 = OpINotEqual %bool %56 %17
+ %52 = OpSelect %uint %53 %uint_0 %uint_1
+ %58 = OpLoad %uint %x
+ %59 = OpIEqual %bool %58 %uint_0
+ %57 = OpSelect %uint %59 %uint_4294967295 %uint_0
+ %62 = OpBitwiseOr %uint %18 %28
+ %63 = OpBitwiseOr %uint %62 %36
+ %64 = OpBitwiseOr %uint %63 %44
+ %65 = OpBitwiseOr %uint %64 %52
+ %66 = OpBitwiseOr %uint %65 %57
+ OpReturnValue %66
+ OpFunctionEnd
+%firstTrailingBit_47d475 = OpFunction %void None %67
+ %70 = OpLabel
+ %res = OpVariable %_ptr_Function_uint Function %17
+ %71 = OpFunctionCall %uint %tint_first_trailing_bit %uint_1
+ OpStore %res %71
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %73
+ %75 = OpLabel
+ %76 = OpFunctionCall %void %firstTrailingBit_47d475
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %67
+ %78 = OpLabel
+ %79 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %79
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %67
+ %82 = OpLabel
+ %83 = OpFunctionCall %void %firstTrailingBit_47d475
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %67
+ %85 = OpLabel
+ %86 = OpFunctionCall %void %firstTrailingBit_47d475
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.wgsl
new file mode 100644
index 0000000..8373e03
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/47d475.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_47d475() {
+ var res : u32 = firstTrailingBit(1u);
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_47d475();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_47d475();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_47d475();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl
new file mode 100644
index 0000000..c30a1b0
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(vec<2, i32>) -> vec<2, i32>
+fn firstTrailingBit_50c072() {
+ var res: vec2<i32> = firstTrailingBit(vec2<i32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_50c072();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_50c072();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_50c072();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.glsl
new file mode 100644
index 0000000..c87b482
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+ivec2 tint_first_trailing_bit(ivec2 v) {
+ uvec2 x = uvec2(v);
+ uvec2 b16 = mix(uvec2(16u), uvec2(0u), bvec2((x & uvec2(65535u))));
+ x = (x >> b16);
+ uvec2 b8 = mix(uvec2(8u), uvec2(0u), bvec2((x & uvec2(255u))));
+ x = (x >> b8);
+ uvec2 b4 = mix(uvec2(4u), uvec2(0u), bvec2((x & uvec2(15u))));
+ x = (x >> b4);
+ uvec2 b2 = mix(uvec2(2u), uvec2(0u), bvec2((x & uvec2(3u))));
+ x = (x >> b2);
+ uvec2 b1 = mix(uvec2(1u), uvec2(0u), bvec2((x & uvec2(1u))));
+ uvec2 is_zero = mix(uvec2(0u), uvec2(4294967295u), equal(x, uvec2(0u)));
+ return ivec2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_50c072() {
+ ivec2 res = tint_first_trailing_bit(ivec2(0, 0));
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_50c072();
+ 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;
+
+ivec2 tint_first_trailing_bit(ivec2 v) {
+ uvec2 x = uvec2(v);
+ uvec2 b16 = mix(uvec2(16u), uvec2(0u), bvec2((x & uvec2(65535u))));
+ x = (x >> b16);
+ uvec2 b8 = mix(uvec2(8u), uvec2(0u), bvec2((x & uvec2(255u))));
+ x = (x >> b8);
+ uvec2 b4 = mix(uvec2(4u), uvec2(0u), bvec2((x & uvec2(15u))));
+ x = (x >> b4);
+ uvec2 b2 = mix(uvec2(2u), uvec2(0u), bvec2((x & uvec2(3u))));
+ x = (x >> b2);
+ uvec2 b1 = mix(uvec2(1u), uvec2(0u), bvec2((x & uvec2(1u))));
+ uvec2 is_zero = mix(uvec2(0u), uvec2(4294967295u), equal(x, uvec2(0u)));
+ return ivec2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_50c072() {
+ ivec2 res = tint_first_trailing_bit(ivec2(0, 0));
+}
+
+void fragment_main() {
+ firstTrailingBit_50c072();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+ivec2 tint_first_trailing_bit(ivec2 v) {
+ uvec2 x = uvec2(v);
+ uvec2 b16 = mix(uvec2(16u), uvec2(0u), bvec2((x & uvec2(65535u))));
+ x = (x >> b16);
+ uvec2 b8 = mix(uvec2(8u), uvec2(0u), bvec2((x & uvec2(255u))));
+ x = (x >> b8);
+ uvec2 b4 = mix(uvec2(4u), uvec2(0u), bvec2((x & uvec2(15u))));
+ x = (x >> b4);
+ uvec2 b2 = mix(uvec2(2u), uvec2(0u), bvec2((x & uvec2(3u))));
+ x = (x >> b2);
+ uvec2 b1 = mix(uvec2(1u), uvec2(0u), bvec2((x & uvec2(1u))));
+ uvec2 is_zero = mix(uvec2(0u), uvec2(4294967295u), equal(x, uvec2(0u)));
+ return ivec2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_50c072() {
+ ivec2 res = tint_first_trailing_bit(ivec2(0, 0));
+}
+
+void compute_main() {
+ firstTrailingBit_50c072();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.hlsl
new file mode 100644
index 0000000..b0268d5
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+int2 tint_first_trailing_bit(int2 v) {
+ uint2 x = uint2(v);
+ const uint2 b16 = (bool2((x & uint2((65535u).xx))) ? uint2((0u).xx) : uint2((16u).xx));
+ x = (x >> b16);
+ const uint2 b8 = (bool2((x & uint2((255u).xx))) ? uint2((0u).xx) : uint2((8u).xx));
+ x = (x >> b8);
+ const uint2 b4 = (bool2((x & uint2((15u).xx))) ? uint2((0u).xx) : uint2((4u).xx));
+ x = (x >> b4);
+ const uint2 b2 = (bool2((x & uint2((3u).xx))) ? uint2((0u).xx) : uint2((2u).xx));
+ x = (x >> b2);
+ const uint2 b1 = (bool2((x & uint2((1u).xx))) ? uint2((0u).xx) : uint2((1u).xx));
+ const uint2 is_zero = ((x == uint2((0u).xx)) ? uint2((4294967295u).xx) : uint2((0u).xx));
+ return int2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_50c072() {
+ int2 res = tint_first_trailing_bit(int2(0, 0));
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_50c072();
+ 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() {
+ firstTrailingBit_50c072();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_50c072();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.msl
new file mode 100644
index 0000000..f681cbf
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+int2 tint_first_trailing_bit(int2 v) {
+ uint2 x = uint2(v);
+ uint2 const b16 = select(uint2(16u), uint2(0u), bool2((x & uint2(65535u))));
+ x = (x >> b16);
+ uint2 const b8 = select(uint2(8u), uint2(0u), bool2((x & uint2(255u))));
+ x = (x >> b8);
+ uint2 const b4 = select(uint2(4u), uint2(0u), bool2((x & uint2(15u))));
+ x = (x >> b4);
+ uint2 const b2 = select(uint2(2u), uint2(0u), bool2((x & uint2(3u))));
+ x = (x >> b2);
+ uint2 const b1 = select(uint2(1u), uint2(0u), bool2((x & uint2(1u))));
+ uint2 const is_zero = select(uint2(0u), uint2(4294967295u), (x == uint2(0u)));
+ return int2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_50c072() {
+ int2 res = tint_first_trailing_bit(int2());
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_50c072();
+ 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() {
+ firstTrailingBit_50c072();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_50c072();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.spvasm
new file mode 100644
index 0000000..8b5d1d8
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.spvasm
@@ -0,0 +1,148 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 104
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_50c072 "firstTrailingBit_50c072"
+ OpName %res "res"
+ 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
+ %int = OpTypeInt 32 1
+ %v2int = OpTypeVector %int 2
+ %9 = OpTypeFunction %v2int %v2int
+ %uint = OpTypeInt 32 0
+ %v2uint = OpTypeVector %uint 2
+%_ptr_Function_v2uint = OpTypePointer Function %v2uint
+ %20 = OpConstantNull %v2uint
+ %bool = OpTypeBool
+ %v2bool = OpTypeVector %bool 2
+ %uint_65535 = OpConstant %uint 65535
+ %27 = OpConstantComposite %v2uint %uint_65535 %uint_65535
+ %uint_0 = OpConstant %uint 0
+ %30 = OpConstantComposite %v2uint %uint_0 %uint_0
+ %uint_16 = OpConstant %uint 16
+ %32 = OpConstantComposite %v2uint %uint_16 %uint_16
+ %uint_255 = OpConstant %uint 255
+ %39 = OpConstantComposite %v2uint %uint_255 %uint_255
+ %uint_8 = OpConstant %uint 8
+ %42 = OpConstantComposite %v2uint %uint_8 %uint_8
+ %uint_15 = OpConstant %uint 15
+ %49 = OpConstantComposite %v2uint %uint_15 %uint_15
+ %uint_4 = OpConstant %uint 4
+ %52 = OpConstantComposite %v2uint %uint_4 %uint_4
+ %uint_3 = OpConstant %uint 3
+ %59 = OpConstantComposite %v2uint %uint_3 %uint_3
+ %uint_2 = OpConstant %uint 2
+ %62 = OpConstantComposite %v2uint %uint_2 %uint_2
+ %uint_1 = OpConstant %uint 1
+ %69 = OpConstantComposite %v2uint %uint_1 %uint_1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %75 = OpConstantComposite %v2uint %uint_4294967295 %uint_4294967295
+ %void = OpTypeVoid
+ %82 = OpTypeFunction %void
+ %87 = OpConstantNull %v2int
+%_ptr_Function_v2int = OpTypePointer Function %v2int
+ %90 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %v2int None %9
+ %v = OpFunctionParameter %v2int
+ %14 = OpLabel
+ %x = OpVariable %_ptr_Function_v2uint Function %20
+ %15 = OpBitcast %v2uint %v
+ OpStore %x %15
+ %25 = OpLoad %v2uint %x
+ %28 = OpBitwiseAnd %v2uint %25 %27
+ %22 = OpINotEqual %v2bool %28 %20
+ %21 = OpSelect %v2uint %22 %30 %32
+ %33 = OpLoad %v2uint %x
+ %34 = OpShiftRightLogical %v2uint %33 %21
+ OpStore %x %34
+ %37 = OpLoad %v2uint %x
+ %40 = OpBitwiseAnd %v2uint %37 %39
+ %36 = OpINotEqual %v2bool %40 %20
+ %35 = OpSelect %v2uint %36 %30 %42
+ %43 = OpLoad %v2uint %x
+ %44 = OpShiftRightLogical %v2uint %43 %35
+ OpStore %x %44
+ %47 = OpLoad %v2uint %x
+ %50 = OpBitwiseAnd %v2uint %47 %49
+ %46 = OpINotEqual %v2bool %50 %20
+ %45 = OpSelect %v2uint %46 %30 %52
+ %53 = OpLoad %v2uint %x
+ %54 = OpShiftRightLogical %v2uint %53 %45
+ OpStore %x %54
+ %57 = OpLoad %v2uint %x
+ %60 = OpBitwiseAnd %v2uint %57 %59
+ %56 = OpINotEqual %v2bool %60 %20
+ %55 = OpSelect %v2uint %56 %30 %62
+ %63 = OpLoad %v2uint %x
+ %64 = OpShiftRightLogical %v2uint %63 %55
+ OpStore %x %64
+ %67 = OpLoad %v2uint %x
+ %70 = OpBitwiseAnd %v2uint %67 %69
+ %66 = OpINotEqual %v2bool %70 %20
+ %65 = OpSelect %v2uint %66 %30 %69
+ %72 = OpLoad %v2uint %x
+ %73 = OpIEqual %v2bool %72 %30
+ %71 = OpSelect %v2uint %73 %75 %30
+ %77 = OpBitwiseOr %v2uint %21 %35
+ %78 = OpBitwiseOr %v2uint %77 %45
+ %79 = OpBitwiseOr %v2uint %78 %55
+ %80 = OpBitwiseOr %v2uint %79 %65
+ %81 = OpBitwiseOr %v2uint %80 %71
+ %76 = OpBitcast %v2int %81
+ OpReturnValue %76
+ OpFunctionEnd
+%firstTrailingBit_50c072 = OpFunction %void None %82
+ %85 = OpLabel
+ %res = OpVariable %_ptr_Function_v2int Function %87
+ %86 = OpFunctionCall %v2int %tint_first_trailing_bit %87
+ OpStore %res %86
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %90
+ %92 = OpLabel
+ %93 = OpFunctionCall %void %firstTrailingBit_50c072
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %82
+ %95 = OpLabel
+ %96 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %96
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %82
+ %99 = OpLabel
+ %100 = OpFunctionCall %void %firstTrailingBit_50c072
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %82
+ %102 = OpLabel
+ %103 = OpFunctionCall %void %firstTrailingBit_50c072
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.wgsl
new file mode 100644
index 0000000..550bd94
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/50c072.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_50c072() {
+ var res : vec2<i32> = firstTrailingBit(vec2<i32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_50c072();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_50c072();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_50c072();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl
new file mode 100644
index 0000000..3986a0e
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(vec<3, i32>) -> vec<3, i32>
+fn firstTrailingBit_7496d6() {
+ var res: vec3<i32> = firstTrailingBit(vec3<i32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_7496d6();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_7496d6();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_7496d6();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.glsl
new file mode 100644
index 0000000..aa818f6
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+ivec3 tint_first_trailing_bit(ivec3 v) {
+ uvec3 x = uvec3(v);
+ uvec3 b16 = mix(uvec3(16u), uvec3(0u), bvec3((x & uvec3(65535u))));
+ x = (x >> b16);
+ uvec3 b8 = mix(uvec3(8u), uvec3(0u), bvec3((x & uvec3(255u))));
+ x = (x >> b8);
+ uvec3 b4 = mix(uvec3(4u), uvec3(0u), bvec3((x & uvec3(15u))));
+ x = (x >> b4);
+ uvec3 b2 = mix(uvec3(2u), uvec3(0u), bvec3((x & uvec3(3u))));
+ x = (x >> b2);
+ uvec3 b1 = mix(uvec3(1u), uvec3(0u), bvec3((x & uvec3(1u))));
+ uvec3 is_zero = mix(uvec3(0u), uvec3(4294967295u), equal(x, uvec3(0u)));
+ return ivec3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_7496d6() {
+ ivec3 res = tint_first_trailing_bit(ivec3(0, 0, 0));
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_7496d6();
+ 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;
+
+ivec3 tint_first_trailing_bit(ivec3 v) {
+ uvec3 x = uvec3(v);
+ uvec3 b16 = mix(uvec3(16u), uvec3(0u), bvec3((x & uvec3(65535u))));
+ x = (x >> b16);
+ uvec3 b8 = mix(uvec3(8u), uvec3(0u), bvec3((x & uvec3(255u))));
+ x = (x >> b8);
+ uvec3 b4 = mix(uvec3(4u), uvec3(0u), bvec3((x & uvec3(15u))));
+ x = (x >> b4);
+ uvec3 b2 = mix(uvec3(2u), uvec3(0u), bvec3((x & uvec3(3u))));
+ x = (x >> b2);
+ uvec3 b1 = mix(uvec3(1u), uvec3(0u), bvec3((x & uvec3(1u))));
+ uvec3 is_zero = mix(uvec3(0u), uvec3(4294967295u), equal(x, uvec3(0u)));
+ return ivec3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_7496d6() {
+ ivec3 res = tint_first_trailing_bit(ivec3(0, 0, 0));
+}
+
+void fragment_main() {
+ firstTrailingBit_7496d6();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+ivec3 tint_first_trailing_bit(ivec3 v) {
+ uvec3 x = uvec3(v);
+ uvec3 b16 = mix(uvec3(16u), uvec3(0u), bvec3((x & uvec3(65535u))));
+ x = (x >> b16);
+ uvec3 b8 = mix(uvec3(8u), uvec3(0u), bvec3((x & uvec3(255u))));
+ x = (x >> b8);
+ uvec3 b4 = mix(uvec3(4u), uvec3(0u), bvec3((x & uvec3(15u))));
+ x = (x >> b4);
+ uvec3 b2 = mix(uvec3(2u), uvec3(0u), bvec3((x & uvec3(3u))));
+ x = (x >> b2);
+ uvec3 b1 = mix(uvec3(1u), uvec3(0u), bvec3((x & uvec3(1u))));
+ uvec3 is_zero = mix(uvec3(0u), uvec3(4294967295u), equal(x, uvec3(0u)));
+ return ivec3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_7496d6() {
+ ivec3 res = tint_first_trailing_bit(ivec3(0, 0, 0));
+}
+
+void compute_main() {
+ firstTrailingBit_7496d6();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.hlsl
new file mode 100644
index 0000000..137b82a
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+int3 tint_first_trailing_bit(int3 v) {
+ uint3 x = uint3(v);
+ const uint3 b16 = (bool3((x & uint3((65535u).xxx))) ? uint3((0u).xxx) : uint3((16u).xxx));
+ x = (x >> b16);
+ const uint3 b8 = (bool3((x & uint3((255u).xxx))) ? uint3((0u).xxx) : uint3((8u).xxx));
+ x = (x >> b8);
+ const uint3 b4 = (bool3((x & uint3((15u).xxx))) ? uint3((0u).xxx) : uint3((4u).xxx));
+ x = (x >> b4);
+ const uint3 b2 = (bool3((x & uint3((3u).xxx))) ? uint3((0u).xxx) : uint3((2u).xxx));
+ x = (x >> b2);
+ const uint3 b1 = (bool3((x & uint3((1u).xxx))) ? uint3((0u).xxx) : uint3((1u).xxx));
+ const uint3 is_zero = ((x == uint3((0u).xxx)) ? uint3((4294967295u).xxx) : uint3((0u).xxx));
+ return int3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_7496d6() {
+ int3 res = tint_first_trailing_bit(int3(0, 0, 0));
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_7496d6();
+ 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() {
+ firstTrailingBit_7496d6();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_7496d6();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.msl
new file mode 100644
index 0000000..846a9e9
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+int3 tint_first_trailing_bit(int3 v) {
+ uint3 x = uint3(v);
+ uint3 const b16 = select(uint3(16u), uint3(0u), bool3((x & uint3(65535u))));
+ x = (x >> b16);
+ uint3 const b8 = select(uint3(8u), uint3(0u), bool3((x & uint3(255u))));
+ x = (x >> b8);
+ uint3 const b4 = select(uint3(4u), uint3(0u), bool3((x & uint3(15u))));
+ x = (x >> b4);
+ uint3 const b2 = select(uint3(2u), uint3(0u), bool3((x & uint3(3u))));
+ x = (x >> b2);
+ uint3 const b1 = select(uint3(1u), uint3(0u), bool3((x & uint3(1u))));
+ uint3 const is_zero = select(uint3(0u), uint3(4294967295u), (x == uint3(0u)));
+ return int3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_7496d6() {
+ int3 res = tint_first_trailing_bit(int3());
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_7496d6();
+ 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() {
+ firstTrailingBit_7496d6();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_7496d6();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.spvasm
new file mode 100644
index 0000000..edbc24c
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.spvasm
@@ -0,0 +1,148 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 104
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_7496d6 "firstTrailingBit_7496d6"
+ OpName %res "res"
+ 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
+ %int = OpTypeInt 32 1
+ %v3int = OpTypeVector %int 3
+ %9 = OpTypeFunction %v3int %v3int
+ %uint = OpTypeInt 32 0
+ %v3uint = OpTypeVector %uint 3
+%_ptr_Function_v3uint = OpTypePointer Function %v3uint
+ %20 = OpConstantNull %v3uint
+ %bool = OpTypeBool
+ %v3bool = OpTypeVector %bool 3
+ %uint_65535 = OpConstant %uint 65535
+ %27 = OpConstantComposite %v3uint %uint_65535 %uint_65535 %uint_65535
+ %uint_0 = OpConstant %uint 0
+ %30 = OpConstantComposite %v3uint %uint_0 %uint_0 %uint_0
+ %uint_16 = OpConstant %uint 16
+ %32 = OpConstantComposite %v3uint %uint_16 %uint_16 %uint_16
+ %uint_255 = OpConstant %uint 255
+ %39 = OpConstantComposite %v3uint %uint_255 %uint_255 %uint_255
+ %uint_8 = OpConstant %uint 8
+ %42 = OpConstantComposite %v3uint %uint_8 %uint_8 %uint_8
+ %uint_15 = OpConstant %uint 15
+ %49 = OpConstantComposite %v3uint %uint_15 %uint_15 %uint_15
+ %uint_4 = OpConstant %uint 4
+ %52 = OpConstantComposite %v3uint %uint_4 %uint_4 %uint_4
+ %uint_3 = OpConstant %uint 3
+ %59 = OpConstantComposite %v3uint %uint_3 %uint_3 %uint_3
+ %uint_2 = OpConstant %uint 2
+ %62 = OpConstantComposite %v3uint %uint_2 %uint_2 %uint_2
+ %uint_1 = OpConstant %uint 1
+ %69 = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %75 = OpConstantComposite %v3uint %uint_4294967295 %uint_4294967295 %uint_4294967295
+ %void = OpTypeVoid
+ %82 = OpTypeFunction %void
+ %87 = OpConstantNull %v3int
+%_ptr_Function_v3int = OpTypePointer Function %v3int
+ %90 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %v3int None %9
+ %v = OpFunctionParameter %v3int
+ %14 = OpLabel
+ %x = OpVariable %_ptr_Function_v3uint Function %20
+ %15 = OpBitcast %v3uint %v
+ OpStore %x %15
+ %25 = OpLoad %v3uint %x
+ %28 = OpBitwiseAnd %v3uint %25 %27
+ %22 = OpINotEqual %v3bool %28 %20
+ %21 = OpSelect %v3uint %22 %30 %32
+ %33 = OpLoad %v3uint %x
+ %34 = OpShiftRightLogical %v3uint %33 %21
+ OpStore %x %34
+ %37 = OpLoad %v3uint %x
+ %40 = OpBitwiseAnd %v3uint %37 %39
+ %36 = OpINotEqual %v3bool %40 %20
+ %35 = OpSelect %v3uint %36 %30 %42
+ %43 = OpLoad %v3uint %x
+ %44 = OpShiftRightLogical %v3uint %43 %35
+ OpStore %x %44
+ %47 = OpLoad %v3uint %x
+ %50 = OpBitwiseAnd %v3uint %47 %49
+ %46 = OpINotEqual %v3bool %50 %20
+ %45 = OpSelect %v3uint %46 %30 %52
+ %53 = OpLoad %v3uint %x
+ %54 = OpShiftRightLogical %v3uint %53 %45
+ OpStore %x %54
+ %57 = OpLoad %v3uint %x
+ %60 = OpBitwiseAnd %v3uint %57 %59
+ %56 = OpINotEqual %v3bool %60 %20
+ %55 = OpSelect %v3uint %56 %30 %62
+ %63 = OpLoad %v3uint %x
+ %64 = OpShiftRightLogical %v3uint %63 %55
+ OpStore %x %64
+ %67 = OpLoad %v3uint %x
+ %70 = OpBitwiseAnd %v3uint %67 %69
+ %66 = OpINotEqual %v3bool %70 %20
+ %65 = OpSelect %v3uint %66 %30 %69
+ %72 = OpLoad %v3uint %x
+ %73 = OpIEqual %v3bool %72 %30
+ %71 = OpSelect %v3uint %73 %75 %30
+ %77 = OpBitwiseOr %v3uint %21 %35
+ %78 = OpBitwiseOr %v3uint %77 %45
+ %79 = OpBitwiseOr %v3uint %78 %55
+ %80 = OpBitwiseOr %v3uint %79 %65
+ %81 = OpBitwiseOr %v3uint %80 %71
+ %76 = OpBitcast %v3int %81
+ OpReturnValue %76
+ OpFunctionEnd
+%firstTrailingBit_7496d6 = OpFunction %void None %82
+ %85 = OpLabel
+ %res = OpVariable %_ptr_Function_v3int Function %87
+ %86 = OpFunctionCall %v3int %tint_first_trailing_bit %87
+ OpStore %res %86
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %90
+ %92 = OpLabel
+ %93 = OpFunctionCall %void %firstTrailingBit_7496d6
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %82
+ %95 = OpLabel
+ %96 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %96
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %82
+ %99 = OpLabel
+ %100 = OpFunctionCall %void %firstTrailingBit_7496d6
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %82
+ %102 = OpLabel
+ %103 = OpFunctionCall %void %firstTrailingBit_7496d6
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.wgsl
new file mode 100644
index 0000000..85120e3
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/7496d6.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_7496d6() {
+ var res : vec3<i32> = firstTrailingBit(vec3<i32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_7496d6();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_7496d6();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_7496d6();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl
new file mode 100644
index 0000000..9123316
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(vec<4, i32>) -> vec<4, i32>
+fn firstTrailingBit_86551b() {
+ var res: vec4<i32> = firstTrailingBit(vec4<i32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_86551b();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_86551b();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_86551b();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.glsl
new file mode 100644
index 0000000..8922522
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+ivec4 tint_first_trailing_bit(ivec4 v) {
+ uvec4 x = uvec4(v);
+ uvec4 b16 = mix(uvec4(16u), uvec4(0u), bvec4((x & uvec4(65535u))));
+ x = (x >> b16);
+ uvec4 b8 = mix(uvec4(8u), uvec4(0u), bvec4((x & uvec4(255u))));
+ x = (x >> b8);
+ uvec4 b4 = mix(uvec4(4u), uvec4(0u), bvec4((x & uvec4(15u))));
+ x = (x >> b4);
+ uvec4 b2 = mix(uvec4(2u), uvec4(0u), bvec4((x & uvec4(3u))));
+ x = (x >> b2);
+ uvec4 b1 = mix(uvec4(1u), uvec4(0u), bvec4((x & uvec4(1u))));
+ uvec4 is_zero = mix(uvec4(0u), uvec4(4294967295u), equal(x, uvec4(0u)));
+ return ivec4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_86551b() {
+ ivec4 res = tint_first_trailing_bit(ivec4(0, 0, 0, 0));
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_86551b();
+ 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;
+
+ivec4 tint_first_trailing_bit(ivec4 v) {
+ uvec4 x = uvec4(v);
+ uvec4 b16 = mix(uvec4(16u), uvec4(0u), bvec4((x & uvec4(65535u))));
+ x = (x >> b16);
+ uvec4 b8 = mix(uvec4(8u), uvec4(0u), bvec4((x & uvec4(255u))));
+ x = (x >> b8);
+ uvec4 b4 = mix(uvec4(4u), uvec4(0u), bvec4((x & uvec4(15u))));
+ x = (x >> b4);
+ uvec4 b2 = mix(uvec4(2u), uvec4(0u), bvec4((x & uvec4(3u))));
+ x = (x >> b2);
+ uvec4 b1 = mix(uvec4(1u), uvec4(0u), bvec4((x & uvec4(1u))));
+ uvec4 is_zero = mix(uvec4(0u), uvec4(4294967295u), equal(x, uvec4(0u)));
+ return ivec4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_86551b() {
+ ivec4 res = tint_first_trailing_bit(ivec4(0, 0, 0, 0));
+}
+
+void fragment_main() {
+ firstTrailingBit_86551b();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+ivec4 tint_first_trailing_bit(ivec4 v) {
+ uvec4 x = uvec4(v);
+ uvec4 b16 = mix(uvec4(16u), uvec4(0u), bvec4((x & uvec4(65535u))));
+ x = (x >> b16);
+ uvec4 b8 = mix(uvec4(8u), uvec4(0u), bvec4((x & uvec4(255u))));
+ x = (x >> b8);
+ uvec4 b4 = mix(uvec4(4u), uvec4(0u), bvec4((x & uvec4(15u))));
+ x = (x >> b4);
+ uvec4 b2 = mix(uvec4(2u), uvec4(0u), bvec4((x & uvec4(3u))));
+ x = (x >> b2);
+ uvec4 b1 = mix(uvec4(1u), uvec4(0u), bvec4((x & uvec4(1u))));
+ uvec4 is_zero = mix(uvec4(0u), uvec4(4294967295u), equal(x, uvec4(0u)));
+ return ivec4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_86551b() {
+ ivec4 res = tint_first_trailing_bit(ivec4(0, 0, 0, 0));
+}
+
+void compute_main() {
+ firstTrailingBit_86551b();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.hlsl
new file mode 100644
index 0000000..16fc616
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+int4 tint_first_trailing_bit(int4 v) {
+ uint4 x = uint4(v);
+ const uint4 b16 = (bool4((x & uint4((65535u).xxxx))) ? uint4((0u).xxxx) : uint4((16u).xxxx));
+ x = (x >> b16);
+ const uint4 b8 = (bool4((x & uint4((255u).xxxx))) ? uint4((0u).xxxx) : uint4((8u).xxxx));
+ x = (x >> b8);
+ const uint4 b4 = (bool4((x & uint4((15u).xxxx))) ? uint4((0u).xxxx) : uint4((4u).xxxx));
+ x = (x >> b4);
+ const uint4 b2 = (bool4((x & uint4((3u).xxxx))) ? uint4((0u).xxxx) : uint4((2u).xxxx));
+ x = (x >> b2);
+ const uint4 b1 = (bool4((x & uint4((1u).xxxx))) ? uint4((0u).xxxx) : uint4((1u).xxxx));
+ const uint4 is_zero = ((x == uint4((0u).xxxx)) ? uint4((4294967295u).xxxx) : uint4((0u).xxxx));
+ return int4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_86551b() {
+ int4 res = tint_first_trailing_bit(int4(0, 0, 0, 0));
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_86551b();
+ 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() {
+ firstTrailingBit_86551b();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_86551b();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.msl
new file mode 100644
index 0000000..1f3c4e8
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+int4 tint_first_trailing_bit(int4 v) {
+ uint4 x = uint4(v);
+ uint4 const b16 = select(uint4(16u), uint4(0u), bool4((x & uint4(65535u))));
+ x = (x >> b16);
+ uint4 const b8 = select(uint4(8u), uint4(0u), bool4((x & uint4(255u))));
+ x = (x >> b8);
+ uint4 const b4 = select(uint4(4u), uint4(0u), bool4((x & uint4(15u))));
+ x = (x >> b4);
+ uint4 const b2 = select(uint4(2u), uint4(0u), bool4((x & uint4(3u))));
+ x = (x >> b2);
+ uint4 const b1 = select(uint4(1u), uint4(0u), bool4((x & uint4(1u))));
+ uint4 const is_zero = select(uint4(0u), uint4(4294967295u), (x == uint4(0u)));
+ return int4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_86551b() {
+ int4 res = tint_first_trailing_bit(int4());
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_86551b();
+ 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() {
+ firstTrailingBit_86551b();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_86551b();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.spvasm
new file mode 100644
index 0000000..7e4e821
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.spvasm
@@ -0,0 +1,148 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 104
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_86551b "firstTrailingBit_86551b"
+ OpName %res "res"
+ 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
+ %int = OpTypeInt 32 1
+ %v4int = OpTypeVector %int 4
+ %9 = OpTypeFunction %v4int %v4int
+ %uint = OpTypeInt 32 0
+ %v4uint = OpTypeVector %uint 4
+%_ptr_Function_v4uint = OpTypePointer Function %v4uint
+ %20 = OpConstantNull %v4uint
+ %bool = OpTypeBool
+ %v4bool = OpTypeVector %bool 4
+ %uint_65535 = OpConstant %uint 65535
+ %27 = OpConstantComposite %v4uint %uint_65535 %uint_65535 %uint_65535 %uint_65535
+ %uint_0 = OpConstant %uint 0
+ %30 = OpConstantComposite %v4uint %uint_0 %uint_0 %uint_0 %uint_0
+ %uint_16 = OpConstant %uint 16
+ %32 = OpConstantComposite %v4uint %uint_16 %uint_16 %uint_16 %uint_16
+ %uint_255 = OpConstant %uint 255
+ %39 = OpConstantComposite %v4uint %uint_255 %uint_255 %uint_255 %uint_255
+ %uint_8 = OpConstant %uint 8
+ %42 = OpConstantComposite %v4uint %uint_8 %uint_8 %uint_8 %uint_8
+ %uint_15 = OpConstant %uint 15
+ %49 = OpConstantComposite %v4uint %uint_15 %uint_15 %uint_15 %uint_15
+ %uint_4 = OpConstant %uint 4
+ %52 = OpConstantComposite %v4uint %uint_4 %uint_4 %uint_4 %uint_4
+ %uint_3 = OpConstant %uint 3
+ %59 = OpConstantComposite %v4uint %uint_3 %uint_3 %uint_3 %uint_3
+ %uint_2 = OpConstant %uint 2
+ %62 = OpConstantComposite %v4uint %uint_2 %uint_2 %uint_2 %uint_2
+ %uint_1 = OpConstant %uint 1
+ %69 = OpConstantComposite %v4uint %uint_1 %uint_1 %uint_1 %uint_1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %75 = OpConstantComposite %v4uint %uint_4294967295 %uint_4294967295 %uint_4294967295 %uint_4294967295
+ %void = OpTypeVoid
+ %82 = OpTypeFunction %void
+ %87 = OpConstantNull %v4int
+%_ptr_Function_v4int = OpTypePointer Function %v4int
+ %90 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %v4int None %9
+ %v = OpFunctionParameter %v4int
+ %14 = OpLabel
+ %x = OpVariable %_ptr_Function_v4uint Function %20
+ %15 = OpBitcast %v4uint %v
+ OpStore %x %15
+ %25 = OpLoad %v4uint %x
+ %28 = OpBitwiseAnd %v4uint %25 %27
+ %22 = OpINotEqual %v4bool %28 %20
+ %21 = OpSelect %v4uint %22 %30 %32
+ %33 = OpLoad %v4uint %x
+ %34 = OpShiftRightLogical %v4uint %33 %21
+ OpStore %x %34
+ %37 = OpLoad %v4uint %x
+ %40 = OpBitwiseAnd %v4uint %37 %39
+ %36 = OpINotEqual %v4bool %40 %20
+ %35 = OpSelect %v4uint %36 %30 %42
+ %43 = OpLoad %v4uint %x
+ %44 = OpShiftRightLogical %v4uint %43 %35
+ OpStore %x %44
+ %47 = OpLoad %v4uint %x
+ %50 = OpBitwiseAnd %v4uint %47 %49
+ %46 = OpINotEqual %v4bool %50 %20
+ %45 = OpSelect %v4uint %46 %30 %52
+ %53 = OpLoad %v4uint %x
+ %54 = OpShiftRightLogical %v4uint %53 %45
+ OpStore %x %54
+ %57 = OpLoad %v4uint %x
+ %60 = OpBitwiseAnd %v4uint %57 %59
+ %56 = OpINotEqual %v4bool %60 %20
+ %55 = OpSelect %v4uint %56 %30 %62
+ %63 = OpLoad %v4uint %x
+ %64 = OpShiftRightLogical %v4uint %63 %55
+ OpStore %x %64
+ %67 = OpLoad %v4uint %x
+ %70 = OpBitwiseAnd %v4uint %67 %69
+ %66 = OpINotEqual %v4bool %70 %20
+ %65 = OpSelect %v4uint %66 %30 %69
+ %72 = OpLoad %v4uint %x
+ %73 = OpIEqual %v4bool %72 %30
+ %71 = OpSelect %v4uint %73 %75 %30
+ %77 = OpBitwiseOr %v4uint %21 %35
+ %78 = OpBitwiseOr %v4uint %77 %45
+ %79 = OpBitwiseOr %v4uint %78 %55
+ %80 = OpBitwiseOr %v4uint %79 %65
+ %81 = OpBitwiseOr %v4uint %80 %71
+ %76 = OpBitcast %v4int %81
+ OpReturnValue %76
+ OpFunctionEnd
+%firstTrailingBit_86551b = OpFunction %void None %82
+ %85 = OpLabel
+ %res = OpVariable %_ptr_Function_v4int Function %87
+ %86 = OpFunctionCall %v4int %tint_first_trailing_bit %87
+ OpStore %res %86
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %90
+ %92 = OpLabel
+ %93 = OpFunctionCall %void %firstTrailingBit_86551b
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %82
+ %95 = OpLabel
+ %96 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %96
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %82
+ %99 = OpLabel
+ %100 = OpFunctionCall %void %firstTrailingBit_86551b
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %82
+ %102 = OpLabel
+ %103 = OpFunctionCall %void %firstTrailingBit_86551b
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.wgsl
new file mode 100644
index 0000000..efa728b
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/86551b.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_86551b() {
+ var res : vec4<i32> = firstTrailingBit(vec4<i32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_86551b();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_86551b();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_86551b();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl
new file mode 100644
index 0000000..62ee22a
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl
@@ -0,0 +1,45 @@
+// 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/builtin-gen
+// using the template:
+// test/tint/builtins/builtins.wgsl.tmpl
+// and the builtin defintion file:
+// src/tint/builtins.def
+//
+// Do not modify this file directly
+////////////////////////////////////////////////////////////////////////////////
+
+
+// fn firstTrailingBit(vec<3, u32>) -> vec<3, u32>
+fn firstTrailingBit_cb51ce() {
+ var res: vec3<u32> = firstTrailingBit(vec3<u32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_cb51ce();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_cb51ce();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_cb51ce();
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.glsl b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.glsl
new file mode 100644
index 0000000..1e5ddae
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.glsl
@@ -0,0 +1,93 @@
+#version 310 es
+
+uvec3 tint_first_trailing_bit(uvec3 v) {
+ uvec3 x = uvec3(v);
+ uvec3 b16 = mix(uvec3(16u), uvec3(0u), bvec3((x & uvec3(65535u))));
+ x = (x >> b16);
+ uvec3 b8 = mix(uvec3(8u), uvec3(0u), bvec3((x & uvec3(255u))));
+ x = (x >> b8);
+ uvec3 b4 = mix(uvec3(4u), uvec3(0u), bvec3((x & uvec3(15u))));
+ x = (x >> b4);
+ uvec3 b2 = mix(uvec3(2u), uvec3(0u), bvec3((x & uvec3(3u))));
+ x = (x >> b2);
+ uvec3 b1 = mix(uvec3(1u), uvec3(0u), bvec3((x & uvec3(1u))));
+ uvec3 is_zero = mix(uvec3(0u), uvec3(4294967295u), equal(x, uvec3(0u)));
+ return uvec3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_cb51ce() {
+ uvec3 res = tint_first_trailing_bit(uvec3(0u, 0u, 0u));
+}
+
+vec4 vertex_main() {
+ firstTrailingBit_cb51ce();
+ 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;
+
+uvec3 tint_first_trailing_bit(uvec3 v) {
+ uvec3 x = uvec3(v);
+ uvec3 b16 = mix(uvec3(16u), uvec3(0u), bvec3((x & uvec3(65535u))));
+ x = (x >> b16);
+ uvec3 b8 = mix(uvec3(8u), uvec3(0u), bvec3((x & uvec3(255u))));
+ x = (x >> b8);
+ uvec3 b4 = mix(uvec3(4u), uvec3(0u), bvec3((x & uvec3(15u))));
+ x = (x >> b4);
+ uvec3 b2 = mix(uvec3(2u), uvec3(0u), bvec3((x & uvec3(3u))));
+ x = (x >> b2);
+ uvec3 b1 = mix(uvec3(1u), uvec3(0u), bvec3((x & uvec3(1u))));
+ uvec3 is_zero = mix(uvec3(0u), uvec3(4294967295u), equal(x, uvec3(0u)));
+ return uvec3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_cb51ce() {
+ uvec3 res = tint_first_trailing_bit(uvec3(0u, 0u, 0u));
+}
+
+void fragment_main() {
+ firstTrailingBit_cb51ce();
+}
+
+void main() {
+ fragment_main();
+ return;
+}
+#version 310 es
+
+uvec3 tint_first_trailing_bit(uvec3 v) {
+ uvec3 x = uvec3(v);
+ uvec3 b16 = mix(uvec3(16u), uvec3(0u), bvec3((x & uvec3(65535u))));
+ x = (x >> b16);
+ uvec3 b8 = mix(uvec3(8u), uvec3(0u), bvec3((x & uvec3(255u))));
+ x = (x >> b8);
+ uvec3 b4 = mix(uvec3(4u), uvec3(0u), bvec3((x & uvec3(15u))));
+ x = (x >> b4);
+ uvec3 b2 = mix(uvec3(2u), uvec3(0u), bvec3((x & uvec3(3u))));
+ x = (x >> b2);
+ uvec3 b1 = mix(uvec3(1u), uvec3(0u), bvec3((x & uvec3(1u))));
+ uvec3 is_zero = mix(uvec3(0u), uvec3(4294967295u), equal(x, uvec3(0u)));
+ return uvec3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_cb51ce() {
+ uvec3 res = tint_first_trailing_bit(uvec3(0u, 0u, 0u));
+}
+
+void compute_main() {
+ firstTrailingBit_cb51ce();
+}
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+ compute_main();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.hlsl b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.hlsl
new file mode 100644
index 0000000..a5ad7f5
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.hlsl
@@ -0,0 +1,45 @@
+uint3 tint_first_trailing_bit(uint3 v) {
+ uint3 x = uint3(v);
+ const uint3 b16 = (bool3((x & uint3((65535u).xxx))) ? uint3((0u).xxx) : uint3((16u).xxx));
+ x = (x >> b16);
+ const uint3 b8 = (bool3((x & uint3((255u).xxx))) ? uint3((0u).xxx) : uint3((8u).xxx));
+ x = (x >> b8);
+ const uint3 b4 = (bool3((x & uint3((15u).xxx))) ? uint3((0u).xxx) : uint3((4u).xxx));
+ x = (x >> b4);
+ const uint3 b2 = (bool3((x & uint3((3u).xxx))) ? uint3((0u).xxx) : uint3((2u).xxx));
+ x = (x >> b2);
+ const uint3 b1 = (bool3((x & uint3((1u).xxx))) ? uint3((0u).xxx) : uint3((1u).xxx));
+ const uint3 is_zero = ((x == uint3((0u).xxx)) ? uint3((4294967295u).xxx) : uint3((0u).xxx));
+ return uint3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_cb51ce() {
+ uint3 res = tint_first_trailing_bit(uint3(0u, 0u, 0u));
+}
+
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_cb51ce();
+ 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() {
+ firstTrailingBit_cb51ce();
+ return;
+}
+
+[numthreads(1, 1, 1)]
+void compute_main() {
+ firstTrailingBit_cb51ce();
+ return;
+}
diff --git a/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.msl b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.msl
new file mode 100644
index 0000000..43d5005
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.msl
@@ -0,0 +1,48 @@
+#include <metal_stdlib>
+
+using namespace metal;
+uint3 tint_first_trailing_bit(uint3 v) {
+ uint3 x = uint3(v);
+ uint3 const b16 = select(uint3(16u), uint3(0u), bool3((x & uint3(65535u))));
+ x = (x >> b16);
+ uint3 const b8 = select(uint3(8u), uint3(0u), bool3((x & uint3(255u))));
+ x = (x >> b8);
+ uint3 const b4 = select(uint3(4u), uint3(0u), bool3((x & uint3(15u))));
+ x = (x >> b4);
+ uint3 const b2 = select(uint3(2u), uint3(0u), bool3((x & uint3(3u))));
+ x = (x >> b2);
+ uint3 const b1 = select(uint3(1u), uint3(0u), bool3((x & uint3(1u))));
+ uint3 const is_zero = select(uint3(0u), uint3(4294967295u), (x == uint3(0u)));
+ return uint3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
+}
+
+void firstTrailingBit_cb51ce() {
+ uint3 res = tint_first_trailing_bit(uint3());
+}
+
+struct tint_symbol {
+ float4 value [[position]];
+};
+
+float4 vertex_main_inner() {
+ firstTrailingBit_cb51ce();
+ 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() {
+ firstTrailingBit_cb51ce();
+ return;
+}
+
+kernel void compute_main() {
+ firstTrailingBit_cb51ce();
+ return;
+}
+
diff --git a/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.spvasm b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.spvasm
new file mode 100644
index 0000000..4bcc0c7
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.spvasm
@@ -0,0 +1,142 @@
+; SPIR-V
+; Version: 1.3
+; Generator: Google Tint Compiler; 0
+; Bound: 100
+; 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 %tint_first_trailing_bit "tint_first_trailing_bit"
+ OpName %v "v"
+ OpName %x "x"
+ OpName %firstTrailingBit_cb51ce "firstTrailingBit_cb51ce"
+ OpName %res "res"
+ 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
+ %uint = OpTypeInt 32 0
+ %v3uint = OpTypeVector %uint 3
+ %9 = OpTypeFunction %v3uint %v3uint
+%_ptr_Function_v3uint = OpTypePointer Function %v3uint
+ %18 = OpConstantNull %v3uint
+ %bool = OpTypeBool
+ %v3bool = OpTypeVector %bool 3
+ %uint_65535 = OpConstant %uint 65535
+ %25 = OpConstantComposite %v3uint %uint_65535 %uint_65535 %uint_65535
+ %uint_0 = OpConstant %uint 0
+ %28 = OpConstantComposite %v3uint %uint_0 %uint_0 %uint_0
+ %uint_16 = OpConstant %uint 16
+ %30 = OpConstantComposite %v3uint %uint_16 %uint_16 %uint_16
+ %uint_255 = OpConstant %uint 255
+ %37 = OpConstantComposite %v3uint %uint_255 %uint_255 %uint_255
+ %uint_8 = OpConstant %uint 8
+ %40 = OpConstantComposite %v3uint %uint_8 %uint_8 %uint_8
+ %uint_15 = OpConstant %uint 15
+ %47 = OpConstantComposite %v3uint %uint_15 %uint_15 %uint_15
+ %uint_4 = OpConstant %uint 4
+ %50 = OpConstantComposite %v3uint %uint_4 %uint_4 %uint_4
+ %uint_3 = OpConstant %uint 3
+ %57 = OpConstantComposite %v3uint %uint_3 %uint_3 %uint_3
+ %uint_2 = OpConstant %uint 2
+ %60 = OpConstantComposite %v3uint %uint_2 %uint_2 %uint_2
+ %uint_1 = OpConstant %uint 1
+ %67 = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1
+%uint_4294967295 = OpConstant %uint 4294967295
+ %73 = OpConstantComposite %v3uint %uint_4294967295 %uint_4294967295 %uint_4294967295
+ %void = OpTypeVoid
+ %80 = OpTypeFunction %void
+ %86 = OpTypeFunction %v4float
+ %float_1 = OpConstant %float 1
+%tint_first_trailing_bit = OpFunction %v3uint None %9
+ %v = OpFunctionParameter %v3uint
+ %14 = OpLabel
+ %x = OpVariable %_ptr_Function_v3uint Function %18
+ OpStore %x %v
+ %23 = OpLoad %v3uint %x
+ %26 = OpBitwiseAnd %v3uint %23 %25
+ %20 = OpINotEqual %v3bool %26 %18
+ %19 = OpSelect %v3uint %20 %28 %30
+ %31 = OpLoad %v3uint %x
+ %32 = OpShiftRightLogical %v3uint %31 %19
+ OpStore %x %32
+ %35 = OpLoad %v3uint %x
+ %38 = OpBitwiseAnd %v3uint %35 %37
+ %34 = OpINotEqual %v3bool %38 %18
+ %33 = OpSelect %v3uint %34 %28 %40
+ %41 = OpLoad %v3uint %x
+ %42 = OpShiftRightLogical %v3uint %41 %33
+ OpStore %x %42
+ %45 = OpLoad %v3uint %x
+ %48 = OpBitwiseAnd %v3uint %45 %47
+ %44 = OpINotEqual %v3bool %48 %18
+ %43 = OpSelect %v3uint %44 %28 %50
+ %51 = OpLoad %v3uint %x
+ %52 = OpShiftRightLogical %v3uint %51 %43
+ OpStore %x %52
+ %55 = OpLoad %v3uint %x
+ %58 = OpBitwiseAnd %v3uint %55 %57
+ %54 = OpINotEqual %v3bool %58 %18
+ %53 = OpSelect %v3uint %54 %28 %60
+ %61 = OpLoad %v3uint %x
+ %62 = OpShiftRightLogical %v3uint %61 %53
+ OpStore %x %62
+ %65 = OpLoad %v3uint %x
+ %68 = OpBitwiseAnd %v3uint %65 %67
+ %64 = OpINotEqual %v3bool %68 %18
+ %63 = OpSelect %v3uint %64 %28 %67
+ %70 = OpLoad %v3uint %x
+ %71 = OpIEqual %v3bool %70 %28
+ %69 = OpSelect %v3uint %71 %73 %28
+ %75 = OpBitwiseOr %v3uint %19 %33
+ %76 = OpBitwiseOr %v3uint %75 %43
+ %77 = OpBitwiseOr %v3uint %76 %53
+ %78 = OpBitwiseOr %v3uint %77 %63
+ %79 = OpBitwiseOr %v3uint %78 %69
+ OpReturnValue %79
+ OpFunctionEnd
+%firstTrailingBit_cb51ce = OpFunction %void None %80
+ %83 = OpLabel
+ %res = OpVariable %_ptr_Function_v3uint Function %18
+ %84 = OpFunctionCall %v3uint %tint_first_trailing_bit %18
+ OpStore %res %84
+ OpReturn
+ OpFunctionEnd
+%vertex_main_inner = OpFunction %v4float None %86
+ %88 = OpLabel
+ %89 = OpFunctionCall %void %firstTrailingBit_cb51ce
+ OpReturnValue %5
+ OpFunctionEnd
+%vertex_main = OpFunction %void None %80
+ %91 = OpLabel
+ %92 = OpFunctionCall %v4float %vertex_main_inner
+ OpStore %value %92
+ OpStore %vertex_point_size %float_1
+ OpReturn
+ OpFunctionEnd
+%fragment_main = OpFunction %void None %80
+ %95 = OpLabel
+ %96 = OpFunctionCall %void %firstTrailingBit_cb51ce
+ OpReturn
+ OpFunctionEnd
+%compute_main = OpFunction %void None %80
+ %98 = OpLabel
+ %99 = OpFunctionCall %void %firstTrailingBit_cb51ce
+ OpReturn
+ OpFunctionEnd
diff --git a/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.wgsl b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.wgsl
new file mode 100644
index 0000000..cee5c39
--- /dev/null
+++ b/test/tint/builtins/gen/firstTrailingBit/cb51ce.wgsl.expected.wgsl
@@ -0,0 +1,19 @@
+fn firstTrailingBit_cb51ce() {
+ var res : vec3<u32> = firstTrailingBit(vec3<u32>());
+}
+
+@stage(vertex)
+fn vertex_main() -> @builtin(position) vec4<f32> {
+ firstTrailingBit_cb51ce();
+ return vec4<f32>();
+}
+
+@stage(fragment)
+fn fragment_main() {
+ firstTrailingBit_cb51ce();
+}
+
+@stage(compute) @workgroup_size(1)
+fn compute_main() {
+ firstTrailingBit_cb51ce();
+}