[hlsl] Emit `textureSampleBias` in HLSL IR
This CL adds support for the `textureSampleBias` intrinsic to the
HLSL IR backend.
Bug: 42251045
Change-Id: Ib0b3fec4f50f8cc1e8108b6dc07a8c314abf8ce6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201294
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/src/tint/lang/hlsl/builtin_fn.cc b/src/tint/lang/hlsl/builtin_fn.cc
index a691688..3db73b9 100644
--- a/src/tint/lang/hlsl/builtin_fn.cc
+++ b/src/tint/lang/hlsl/builtin_fn.cc
@@ -136,6 +136,8 @@
return "GetDimensions";
case BuiltinFn::kSample:
return "Sample";
+ case BuiltinFn::kSampleBias:
+ return "SampleBias";
case BuiltinFn::kSampleLevel:
return "SampleLevel";
}
diff --git a/src/tint/lang/hlsl/builtin_fn.h b/src/tint/lang/hlsl/builtin_fn.h
index cfb5009..b5ecb44 100644
--- a/src/tint/lang/hlsl/builtin_fn.h
+++ b/src/tint/lang/hlsl/builtin_fn.h
@@ -94,6 +94,7 @@
kGatherRed,
kGetDimensions,
kSample,
+ kSampleBias,
kSampleLevel,
kNone,
};
diff --git a/src/tint/lang/hlsl/hlsl.def b/src/tint/lang/hlsl/hlsl.def
index ea27f4b..514c43f 100644
--- a/src/tint/lang/hlsl/hlsl.def
+++ b/src/tint/lang/hlsl/hlsl.def
@@ -631,6 +631,42 @@
sampler: sampler,
coords: vec4<f32>) -> f32
+@member_function fn SampleBias(texture: texture_2d<f32>,
+ sampler: sampler,
+ coords: vec2<f32>,
+ bias: f32) -> vec4<f32>
+@member_function fn SampleBias(texture: texture_2d<f32>,
+ sampler: sampler,
+ coords: vec2<f32>,
+ bias: f32,
+ offset: vec2<i32>) -> vec4<f32>
+@member_function fn SampleBias(texture: texture_2d_array<f32>,
+ sampler: sampler,
+ coords: vec3<f32>,
+ bias: f32) -> vec4<f32>
+@member_function fn SampleBias(texture: texture_2d_array<f32>,
+ sampler: sampler,
+ coords: vec3<f32>,
+ bias: f32,
+ offset: vec2<i32>) -> vec4<f32>
+@member_function fn SampleBias(texture: texture_3d<f32>,
+ sampler: sampler,
+ coords: vec3<f32>,
+ bias: f32) -> vec4<f32>
+@member_function fn SampleBias(texture: texture_3d<f32>,
+ sampler: sampler,
+ coords: vec3<f32>,
+ bias: f32,
+ offset: vec3<i32>) -> vec4<f32>
+@member_function fn SampleBias(texture: texture_cube<f32>,
+ sampler: sampler,
+ coords: vec3<f32>,
+ bias: f32) -> vec4<f32>
+@member_function fn SampleBias(texture: texture_cube_array<f32>,
+ sampler: sampler,
+ coords: vec4<f32>,
+ bias: f32) -> vec4<f32>
+
@member_function fn SampleLevel(texture: texture_2d<f32>,
sampler: sampler,
coords: vec2<f32>,
@@ -692,3 +728,4 @@
sampler: sampler,
coords: vec4<f32>,
level: f32) -> f32
+
diff --git a/src/tint/lang/hlsl/intrinsic/data.cc b/src/tint/lang/hlsl/intrinsic/data.cc
index 5297769..7c967af 100644
--- a/src/tint/lang/hlsl/intrinsic/data.cc
+++ b/src/tint/lang/hlsl/intrinsic/data.cc
@@ -1726,7 +1726,7 @@
},
{
/* [68] */
- /* usage */ core::ParameterUsage::kLevel,
+ /* usage */ core::ParameterUsage::kBias,
/* matcher_indices */ MatcherIndicesIndex(2),
},
{
@@ -1751,7 +1751,7 @@
},
{
/* [73] */
- /* usage */ core::ParameterUsage::kLevel,
+ /* usage */ core::ParameterUsage::kBias,
/* matcher_indices */ MatcherIndicesIndex(2),
},
{
@@ -1776,7 +1776,7 @@
},
{
/* [78] */
- /* usage */ core::ParameterUsage::kLevel,
+ /* usage */ core::ParameterUsage::kBias,
/* matcher_indices */ MatcherIndicesIndex(2),
},
{
@@ -1787,7 +1787,7 @@
{
/* [80] */
/* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(173),
+ /* matcher_indices */ MatcherIndicesIndex(156),
},
{
/* [81] */
@@ -1812,7 +1812,7 @@
{
/* [85] */
/* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(174),
+ /* matcher_indices */ MatcherIndicesIndex(158),
},
{
/* [86] */
@@ -1836,248 +1836,248 @@
},
{
/* [90] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(1),
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(160),
},
{
/* [91] */
- /* usage */ core::ParameterUsage::kCompareValue,
- /* matcher_indices */ MatcherIndicesIndex(18),
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
},
{
/* [92] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(18),
- },
- {
- /* [93] */
- /* usage */ core::ParameterUsage::kOriginalValue,
- /* matcher_indices */ MatcherIndicesIndex(16),
- },
- {
- /* [94] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(0),
- },
- {
- /* [95] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(18),
- },
- {
- /* [96] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(18),
- },
- {
- /* [97] */
- /* usage */ core::ParameterUsage::kOriginalValue,
- /* matcher_indices */ MatcherIndicesIndex(16),
- },
- {
- /* [98] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(177),
- },
- {
- /* [99] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(176),
- },
- {
- /* [100] */
/* usage */ core::ParameterUsage::kCoords,
/* matcher_indices */ MatcherIndicesIndex(146),
},
{
- /* [101] */
- /* usage */ core::ParameterUsage::kDepthRef,
+ /* [93] */
+ /* usage */ core::ParameterUsage::kLevel,
/* matcher_indices */ MatcherIndicesIndex(2),
},
{
- /* [102] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(178),
+ /* [94] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(130),
},
{
- /* [103] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(176),
- },
- {
- /* [104] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [105] */
- /* usage */ core::ParameterUsage::kDepthRef,
- /* matcher_indices */ MatcherIndicesIndex(2),
- },
- {
- /* [106] */
+ /* [95] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(173),
},
{
- /* [107] */
+ /* [96] */
/* usage */ core::ParameterUsage::kSampler,
/* matcher_indices */ MatcherIndicesIndex(179),
},
{
- /* [108] */
+ /* [97] */
/* usage */ core::ParameterUsage::kCoords,
/* matcher_indices */ MatcherIndicesIndex(73),
},
{
- /* [109] */
+ /* [98] */
+ /* usage */ core::ParameterUsage::kLevel,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [99] */
/* usage */ core::ParameterUsage::kOffset,
/* matcher_indices */ MatcherIndicesIndex(14),
},
{
- /* [110] */
+ /* [100] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(174),
},
{
- /* [111] */
+ /* [101] */
/* usage */ core::ParameterUsage::kSampler,
/* matcher_indices */ MatcherIndicesIndex(179),
},
{
- /* [112] */
+ /* [102] */
/* usage */ core::ParameterUsage::kCoords,
/* matcher_indices */ MatcherIndicesIndex(146),
},
{
- /* [113] */
+ /* [103] */
+ /* usage */ core::ParameterUsage::kLevel,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [104] */
/* usage */ core::ParameterUsage::kOffset,
/* matcher_indices */ MatcherIndicesIndex(14),
},
{
- /* [114] */
+ /* [105] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(1),
+ },
+ {
+ /* [106] */
+ /* usage */ core::ParameterUsage::kCompareValue,
+ /* matcher_indices */ MatcherIndicesIndex(18),
+ },
+ {
+ /* [107] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(18),
+ },
+ {
+ /* [108] */
+ /* usage */ core::ParameterUsage::kOriginalValue,
+ /* matcher_indices */ MatcherIndicesIndex(16),
+ },
+ {
+ /* [109] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(0),
+ },
+ {
+ /* [110] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(18),
+ },
+ {
+ /* [111] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(18),
+ },
+ {
+ /* [112] */
+ /* usage */ core::ParameterUsage::kOriginalValue,
+ /* matcher_indices */ MatcherIndicesIndex(16),
+ },
+ {
+ /* [113] */
/* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(128),
+ /* matcher_indices */ MatcherIndicesIndex(177),
+ },
+ {
+ /* [114] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(176),
},
{
/* [115] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
+ },
+ {
+ /* [116] */
+ /* usage */ core::ParameterUsage::kDepthRef,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [117] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(178),
+ },
+ {
+ /* [118] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(176),
+ },
+ {
+ /* [119] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [120] */
+ /* usage */ core::ParameterUsage::kDepthRef,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [121] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(173),
+ },
+ {
+ /* [122] */
/* usage */ core::ParameterUsage::kSampler,
/* matcher_indices */ MatcherIndicesIndex(179),
},
{
- /* [116] */
+ /* [123] */
/* usage */ core::ParameterUsage::kCoords,
/* matcher_indices */ MatcherIndicesIndex(73),
},
{
- /* [117] */
+ /* [124] */
/* usage */ core::ParameterUsage::kOffset,
/* matcher_indices */ MatcherIndicesIndex(14),
},
{
- /* [118] */
+ /* [125] */
/* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(132),
+ /* matcher_indices */ MatcherIndicesIndex(174),
},
{
- /* [119] */
+ /* [126] */
/* usage */ core::ParameterUsage::kSampler,
/* matcher_indices */ MatcherIndicesIndex(179),
},
{
- /* [120] */
+ /* [127] */
/* usage */ core::ParameterUsage::kCoords,
/* matcher_indices */ MatcherIndicesIndex(146),
},
{
- /* [121] */
+ /* [128] */
/* usage */ core::ParameterUsage::kOffset,
/* matcher_indices */ MatcherIndicesIndex(14),
},
{
- /* [122] */
+ /* [129] */
/* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(126),
+ /* matcher_indices */ MatcherIndicesIndex(128),
},
{
- /* [123] */
- /* usage */ core::ParameterUsage::kLevel,
- /* matcher_indices */ MatcherIndicesIndex(7),
+ /* [130] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
},
{
- /* [124] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
+ /* [131] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(73),
},
{
- /* [125] */
- /* usage */ core::ParameterUsage::kNumLevels,
- /* matcher_indices */ MatcherIndicesIndex(11),
+ /* [132] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(14),
},
{
- /* [126] */
+ /* [133] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(132),
},
{
- /* [127] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [128] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [129] */
- /* usage */ core::ParameterUsage::kElements,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [130] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(108),
- },
- {
- /* [131] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [132] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [133] */
- /* usage */ core::ParameterUsage::kElements,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
/* [134] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(136),
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
},
{
/* [135] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
},
{
/* [136] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(14),
},
{
/* [137] */
- /* usage */ core::ParameterUsage::kDepth,
- /* matcher_indices */ MatcherIndicesIndex(11),
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(126),
},
{
/* [138] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(111),
+ /* usage */ core::ParameterUsage::kLevel,
+ /* matcher_indices */ MatcherIndicesIndex(7),
},
{
/* [139] */
@@ -2086,961 +2086,1076 @@
},
{
/* [140] */
- /* usage */ core::ParameterUsage::kHeight,
+ /* usage */ core::ParameterUsage::kNumLevels,
/* matcher_indices */ MatcherIndicesIndex(11),
},
{
/* [141] */
- /* usage */ core::ParameterUsage::kDepth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [142] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(150),
- },
- {
- /* [143] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [144] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [145] */
- /* usage */ core::ParameterUsage::kElements,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [146] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(134),
- },
- {
- /* [147] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [148] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [149] */
- /* usage */ core::ParameterUsage::kSamples,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [150] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(174),
- },
- {
- /* [151] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [152] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [153] */
- /* usage */ core::ParameterUsage::kElements,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [154] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(178),
- },
- {
- /* [155] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [156] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [157] */
- /* usage */ core::ParameterUsage::kElements,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [158] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(175),
- },
- {
- /* [159] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [160] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [161] */
- /* usage */ core::ParameterUsage::kSamples,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [162] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(156),
- },
- {
- /* [163] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [164] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(73),
- },
- {
- /* [165] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(14),
- },
- {
- /* [166] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(158),
- },
- {
- /* [167] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [168] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(146),
- },
- {
- /* [169] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(14),
- },
- {
- /* [170] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(160),
- },
- {
- /* [171] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [172] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(146),
- },
- {
- /* [173] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(130),
- },
- {
- /* [174] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(162),
- },
- {
- /* [175] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [176] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(146),
- },
- {
- /* [177] */
- /* usage */ core::ParameterUsage::kLevel,
- /* matcher_indices */ MatcherIndicesIndex(2),
- },
- {
- /* [178] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(164),
- },
- {
- /* [179] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [180] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [181] */
- /* usage */ core::ParameterUsage::kLevel,
- /* matcher_indices */ MatcherIndicesIndex(2),
- },
- {
- /* [182] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(177),
- },
- {
- /* [183] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [184] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(146),
- },
- {
- /* [185] */
- /* usage */ core::ParameterUsage::kLevel,
- /* matcher_indices */ MatcherIndicesIndex(2),
- },
- {
- /* [186] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(178),
- },
- {
- /* [187] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [188] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [189] */
- /* usage */ core::ParameterUsage::kLevel,
- /* matcher_indices */ MatcherIndicesIndex(2),
- },
- {
- /* [190] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [191] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [192] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(6),
- },
- {
- /* [193] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [194] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [195] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [196] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(1),
- },
- {
- /* [197] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(18),
- },
- {
- /* [198] */
- /* usage */ core::ParameterUsage::kOriginalValue,
- /* matcher_indices */ MatcherIndicesIndex(16),
- },
- {
- /* [199] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(63),
- },
- {
- /* [200] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(4),
- },
- {
- /* [201] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [202] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(67),
- },
- {
- /* [203] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(9),
- },
- {
- /* [204] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [205] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(71),
- },
- {
- /* [206] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(122),
- },
- {
- /* [207] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [208] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(75),
- },
- {
- /* [209] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(122),
- },
- {
- /* [210] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [211] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(78),
- },
- {
- /* [212] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(4),
- },
- {
- /* [213] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(118),
- },
- {
- /* [214] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(81),
- },
- {
- /* [215] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(9),
- },
- {
- /* [216] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(118),
- },
- {
- /* [217] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(84),
- },
- {
- /* [218] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(122),
- },
- {
- /* [219] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(118),
- },
- {
- /* [220] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(87),
- },
- {
- /* [221] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(122),
- },
- {
- /* [222] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(118),
- },
- {
- /* [223] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(90),
- },
- {
- /* [224] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(4),
- },
- {
- /* [225] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(116),
- },
- {
- /* [226] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(93),
- },
- {
- /* [227] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(9),
- },
- {
- /* [228] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(116),
- },
- {
- /* [229] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(96),
- },
- {
- /* [230] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(122),
- },
- {
- /* [231] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(116),
- },
- {
- /* [232] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(99),
- },
- {
- /* [233] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(122),
- },
- {
- /* [234] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(116),
- },
- {
- /* [235] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(134),
- },
- {
- /* [236] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(14),
- },
- {
- /* [237] */
- /* usage */ core::ParameterUsage::kSampleIndex,
- /* matcher_indices */ MatcherIndicesIndex(8),
- },
- {
- /* [238] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(175),
- },
- {
- /* [239] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(14),
- },
- {
- /* [240] */
- /* usage */ core::ParameterUsage::kSampleIndex,
- /* matcher_indices */ MatcherIndicesIndex(8),
- },
- {
- /* [241] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [242] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [243] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [244] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [245] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [246] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(65),
- },
- {
- /* [247] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [248] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [249] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(138),
- },
- {
- /* [250] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [251] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [252] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(116),
- },
- {
- /* [253] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [254] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [255] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(5),
- },
- {
- /* [256] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [257] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [258] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(69),
- },
- {
- /* [259] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [260] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [261] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(140),
- },
- {
- /* [262] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(144),
- },
- {
- /* [263] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [264] */
- /* usage */ core::ParameterUsage::kValue,
- /* matcher_indices */ MatcherIndicesIndex(142),
- },
- {
- /* [265] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(148),
- },
- {
- /* [266] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [267] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(146),
- },
- {
- /* [268] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(150),
- },
- {
- /* [269] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [270] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(120),
- },
- {
- /* [271] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(128),
- },
- {
- /* [272] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [273] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [274] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(105),
- },
- {
- /* [275] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [276] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [277] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(148),
- },
- {
- /* [278] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [279] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [280] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(173),
- },
- {
- /* [281] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [282] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [283] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(177),
- },
- {
- /* [284] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [285] */
- /* usage */ core::ParameterUsage::kHeight,
- /* matcher_indices */ MatcherIndicesIndex(11),
- },
- {
- /* [286] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(154),
- },
- {
- /* [287] */
- /* usage */ core::ParameterUsage::kSampler,
- /* matcher_indices */ MatcherIndicesIndex(179),
- },
- {
- /* [288] */
- /* usage */ core::ParameterUsage::kCoords,
- /* matcher_indices */ MatcherIndicesIndex(2),
- },
- {
- /* [289] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(20),
- },
- {
- /* [290] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(39),
- },
- {
- /* [291] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(54),
- },
- {
- /* [292] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(20),
- },
- {
- /* [293] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(28),
- },
- {
- /* [294] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(32),
- },
- {
- /* [295] */
- /* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(0),
- },
- {
- /* [296] */
- /* usage */ core::ParameterUsage::kOffset,
- /* matcher_indices */ MatcherIndicesIndex(7),
- },
- {
- /* [297] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(126),
- },
- {
- /* [298] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(14),
- },
- {
- /* [299] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(128),
- },
- {
- /* [300] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(130),
- },
- {
- /* [301] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(132),
},
{
- /* [302] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(118),
+ /* [142] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
},
{
- /* [303] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(136),
+ /* [143] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
},
{
- /* [304] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(118),
+ /* [144] */
+ /* usage */ core::ParameterUsage::kElements,
+ /* matcher_indices */ MatcherIndicesIndex(11),
},
{
- /* [305] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(173),
- },
- {
- /* [306] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(130),
- },
- {
- /* [307] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(174),
- },
- {
- /* [308] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(118),
- },
- {
- /* [309] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(102),
- },
- {
- /* [310] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(14),
- },
- {
- /* [311] */
- /* usage */ core::ParameterUsage::kTexture,
- /* matcher_indices */ MatcherIndicesIndex(105),
- },
- {
- /* [312] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(130),
- },
- {
- /* [313] */
+ /* [145] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(108),
},
{
- /* [314] */
- /* usage */ core::ParameterUsage::kLocation,
- /* matcher_indices */ MatcherIndicesIndex(118),
+ /* [146] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
},
{
- /* [315] */
+ /* [147] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [148] */
+ /* usage */ core::ParameterUsage::kElements,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [149] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(136),
+ },
+ {
+ /* [150] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [151] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [152] */
+ /* usage */ core::ParameterUsage::kDepth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [153] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(111),
},
{
- /* [316] */
- /* usage */ core::ParameterUsage::kLocation,
+ /* [154] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [155] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [156] */
+ /* usage */ core::ParameterUsage::kDepth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [157] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(150),
+ },
+ {
+ /* [158] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [159] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [160] */
+ /* usage */ core::ParameterUsage::kElements,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [161] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(134),
+ },
+ {
+ /* [162] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [163] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [164] */
+ /* usage */ core::ParameterUsage::kSamples,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [165] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(174),
+ },
+ {
+ /* [166] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [167] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [168] */
+ /* usage */ core::ParameterUsage::kElements,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [169] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(178),
+ },
+ {
+ /* [170] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [171] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [172] */
+ /* usage */ core::ParameterUsage::kElements,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [173] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(175),
+ },
+ {
+ /* [174] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [175] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [176] */
+ /* usage */ core::ParameterUsage::kSamples,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [177] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(156),
+ },
+ {
+ /* [178] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [179] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(73),
+ },
+ {
+ /* [180] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(14),
+ },
+ {
+ /* [181] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(158),
+ },
+ {
+ /* [182] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [183] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
+ },
+ {
+ /* [184] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(14),
+ },
+ {
+ /* [185] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(160),
+ },
+ {
+ /* [186] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [187] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
+ },
+ {
+ /* [188] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(130),
+ },
+ {
+ /* [189] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(162),
+ },
+ {
+ /* [190] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [191] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
+ },
+ {
+ /* [192] */
+ /* usage */ core::ParameterUsage::kBias,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [193] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(164),
+ },
+ {
+ /* [194] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [195] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [196] */
+ /* usage */ core::ParameterUsage::kBias,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [197] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(162),
+ },
+ {
+ /* [198] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [199] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
+ },
+ {
+ /* [200] */
+ /* usage */ core::ParameterUsage::kLevel,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [201] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(164),
+ },
+ {
+ /* [202] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [203] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [204] */
+ /* usage */ core::ParameterUsage::kLevel,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [205] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(177),
+ },
+ {
+ /* [206] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [207] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
+ },
+ {
+ /* [208] */
+ /* usage */ core::ParameterUsage::kLevel,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [209] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(178),
+ },
+ {
+ /* [210] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [211] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [212] */
+ /* usage */ core::ParameterUsage::kLevel,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [213] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [214] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [215] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(6),
+ },
+ {
+ /* [216] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [217] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [218] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [219] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(1),
+ },
+ {
+ /* [220] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(18),
+ },
+ {
+ /* [221] */
+ /* usage */ core::ParameterUsage::kOriginalValue,
+ /* matcher_indices */ MatcherIndicesIndex(16),
+ },
+ {
+ /* [222] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(63),
+ },
+ {
+ /* [223] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(4),
+ },
+ {
+ /* [224] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [225] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(67),
+ },
+ {
+ /* [226] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(9),
+ },
+ {
+ /* [227] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [228] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(71),
+ },
+ {
+ /* [229] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(122),
+ },
+ {
+ /* [230] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [231] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(75),
+ },
+ {
+ /* [232] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(122),
+ },
+ {
+ /* [233] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [234] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(78),
+ },
+ {
+ /* [235] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(4),
+ },
+ {
+ /* [236] */
+ /* usage */ core::ParameterUsage::kValue,
/* matcher_indices */ MatcherIndicesIndex(118),
},
{
+ /* [237] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(81),
+ },
+ {
+ /* [238] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(9),
+ },
+ {
+ /* [239] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [240] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(84),
+ },
+ {
+ /* [241] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(122),
+ },
+ {
+ /* [242] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [243] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(87),
+ },
+ {
+ /* [244] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(122),
+ },
+ {
+ /* [245] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [246] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(90),
+ },
+ {
+ /* [247] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(4),
+ },
+ {
+ /* [248] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(116),
+ },
+ {
+ /* [249] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(93),
+ },
+ {
+ /* [250] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(9),
+ },
+ {
+ /* [251] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(116),
+ },
+ {
+ /* [252] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(96),
+ },
+ {
+ /* [253] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(122),
+ },
+ {
+ /* [254] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(116),
+ },
+ {
+ /* [255] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(99),
+ },
+ {
+ /* [256] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(122),
+ },
+ {
+ /* [257] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(116),
+ },
+ {
+ /* [258] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(134),
+ },
+ {
+ /* [259] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(14),
+ },
+ {
+ /* [260] */
+ /* usage */ core::ParameterUsage::kSampleIndex,
+ /* matcher_indices */ MatcherIndicesIndex(8),
+ },
+ {
+ /* [261] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(175),
+ },
+ {
+ /* [262] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(14),
+ },
+ {
+ /* [263] */
+ /* usage */ core::ParameterUsage::kSampleIndex,
+ /* matcher_indices */ MatcherIndicesIndex(8),
+ },
+ {
+ /* [264] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [265] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [266] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [267] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [268] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [269] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(65),
+ },
+ {
+ /* [270] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [271] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [272] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(138),
+ },
+ {
+ /* [273] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [274] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [275] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(116),
+ },
+ {
+ /* [276] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [277] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [278] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(5),
+ },
+ {
+ /* [279] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [280] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [281] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(69),
+ },
+ {
+ /* [282] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [283] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [284] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(140),
+ },
+ {
+ /* [285] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(144),
+ },
+ {
+ /* [286] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [287] */
+ /* usage */ core::ParameterUsage::kValue,
+ /* matcher_indices */ MatcherIndicesIndex(142),
+ },
+ {
+ /* [288] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(148),
+ },
+ {
+ /* [289] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [290] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(146),
+ },
+ {
+ /* [291] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(150),
+ },
+ {
+ /* [292] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [293] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(120),
+ },
+ {
+ /* [294] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(128),
+ },
+ {
+ /* [295] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [296] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [297] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(105),
+ },
+ {
+ /* [298] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [299] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [300] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(148),
+ },
+ {
+ /* [301] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [302] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [303] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(173),
+ },
+ {
+ /* [304] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [305] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [306] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(177),
+ },
+ {
+ /* [307] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [308] */
+ /* usage */ core::ParameterUsage::kHeight,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [309] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(154),
+ },
+ {
+ /* [310] */
+ /* usage */ core::ParameterUsage::kSampler,
+ /* matcher_indices */ MatcherIndicesIndex(179),
+ },
+ {
+ /* [311] */
+ /* usage */ core::ParameterUsage::kCoords,
+ /* matcher_indices */ MatcherIndicesIndex(2),
+ },
+ {
+ /* [312] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(20),
+ },
+ {
+ /* [313] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(39),
+ },
+ {
+ /* [314] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(54),
+ },
+ {
+ /* [315] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(20),
+ },
+ {
+ /* [316] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(28),
+ },
+ {
/* [317] */
/* usage */ core::ParameterUsage::kNone,
- /* matcher_indices */ MatcherIndicesIndex(152),
+ /* matcher_indices */ MatcherIndicesIndex(32),
},
{
/* [318] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(0),
},
{
/* [319] */
+ /* usage */ core::ParameterUsage::kOffset,
+ /* matcher_indices */ MatcherIndicesIndex(7),
+ },
+ {
+ /* [320] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(126),
},
{
- /* [320] */
- /* usage */ core::ParameterUsage::kWidth,
- /* matcher_indices */ MatcherIndicesIndex(11),
+ /* [321] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(14),
},
{
- /* [321] */
+ /* [322] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(128),
+ },
+ {
+ /* [323] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(130),
+ },
+ {
+ /* [324] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(132),
+ },
+ {
+ /* [325] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [326] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(136),
+ },
+ {
+ /* [327] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [328] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(173),
+ },
+ {
+ /* [329] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(130),
+ },
+ {
+ /* [330] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(174),
+ },
+ {
+ /* [331] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [332] */
/* usage */ core::ParameterUsage::kTexture,
/* matcher_indices */ MatcherIndicesIndex(102),
},
{
- /* [322] */
+ /* [333] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(14),
+ },
+ {
+ /* [334] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(105),
+ },
+ {
+ /* [335] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(130),
+ },
+ {
+ /* [336] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(108),
+ },
+ {
+ /* [337] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [338] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(111),
+ },
+ {
+ /* [339] */
+ /* usage */ core::ParameterUsage::kLocation,
+ /* matcher_indices */ MatcherIndicesIndex(118),
+ },
+ {
+ /* [340] */
+ /* usage */ core::ParameterUsage::kNone,
+ /* matcher_indices */ MatcherIndicesIndex(152),
+ },
+ {
+ /* [341] */
/* usage */ core::ParameterUsage::kWidth,
/* matcher_indices */ MatcherIndicesIndex(11),
},
{
- /* [323] */
+ /* [342] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(126),
+ },
+ {
+ /* [343] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [344] */
+ /* usage */ core::ParameterUsage::kTexture,
+ /* matcher_indices */ MatcherIndicesIndex(102),
+ },
+ {
+ /* [345] */
+ /* usage */ core::ParameterUsage::kWidth,
+ /* matcher_indices */ MatcherIndicesIndex(11),
+ },
+ {
+ /* [346] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(4),
},
{
- /* [324] */
+ /* [347] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(2),
},
{
- /* [325] */
+ /* [348] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(51),
},
{
- /* [326] */
+ /* [349] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(48),
},
{
- /* [327] */
+ /* [350] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(116),
},
{
- /* [328] */
+ /* [351] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(118),
},
{
- /* [329] */
+ /* [352] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(60),
},
{
- /* [330] */
+ /* [353] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(170),
},
{
- /* [331] */
+ /* [354] */
/* usage */ core::ParameterUsage::kNone,
/* matcher_indices */ MatcherIndicesIndex(169),
},
@@ -3207,7 +3322,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(21),
- /* parameters */ ParameterIndex(317),
+ /* parameters */ ParameterIndex(340),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3218,7 +3333,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(319),
+ /* parameters */ ParameterIndex(342),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3229,7 +3344,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(122),
+ /* parameters */ ParameterIndex(137),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3240,7 +3355,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(20),
- /* parameters */ ParameterIndex(321),
+ /* parameters */ ParameterIndex(344),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3251,7 +3366,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(271),
+ /* parameters */ ParameterIndex(294),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3273,7 +3388,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(20),
- /* parameters */ ParameterIndex(274),
+ /* parameters */ ParameterIndex(297),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3284,7 +3399,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(126),
+ /* parameters */ ParameterIndex(141),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3306,7 +3421,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(20),
- /* parameters */ ParameterIndex(130),
+ /* parameters */ ParameterIndex(145),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3317,7 +3432,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(134),
+ /* parameters */ ParameterIndex(149),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3339,7 +3454,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(20),
- /* parameters */ ParameterIndex(138),
+ /* parameters */ ParameterIndex(153),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3350,7 +3465,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(277),
+ /* parameters */ ParameterIndex(300),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3372,7 +3487,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(142),
+ /* parameters */ ParameterIndex(157),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3394,7 +3509,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(146),
+ /* parameters */ ParameterIndex(161),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3405,7 +3520,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(280),
+ /* parameters */ ParameterIndex(303),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3427,7 +3542,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(150),
+ /* parameters */ ParameterIndex(165),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3449,7 +3564,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(283),
+ /* parameters */ ParameterIndex(306),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3471,7 +3586,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(154),
+ /* parameters */ ParameterIndex(169),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3493,7 +3608,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(158),
+ /* parameters */ ParameterIndex(173),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3504,7 +3619,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
+ /* parameters */ ParameterIndex(318),
/* return_matcher_indices */ MatcherIndicesIndex(7),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3515,7 +3630,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(297),
+ /* parameters */ ParameterIndex(320),
/* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3526,7 +3641,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(299),
+ /* parameters */ ParameterIndex(322),
/* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3537,7 +3652,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(301),
+ /* parameters */ ParameterIndex(324),
/* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3548,7 +3663,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(235),
+ /* parameters */ ParameterIndex(258),
/* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3559,7 +3674,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(303),
+ /* parameters */ ParameterIndex(326),
/* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3570,7 +3685,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(305),
+ /* parameters */ ParameterIndex(328),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3581,7 +3696,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(307),
+ /* parameters */ ParameterIndex(330),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3592,7 +3707,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(238),
+ /* parameters */ ParameterIndex(261),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3603,7 +3718,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(14),
- /* parameters */ ParameterIndex(309),
+ /* parameters */ ParameterIndex(332),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3614,7 +3729,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(14),
- /* parameters */ ParameterIndex(311),
+ /* parameters */ ParameterIndex(334),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3625,7 +3740,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(14),
- /* parameters */ ParameterIndex(313),
+ /* parameters */ ParameterIndex(336),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3636,7 +3751,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(14),
- /* parameters */ ParameterIndex(315),
+ /* parameters */ ParameterIndex(338),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3647,7 +3762,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(16),
- /* parameters */ ParameterIndex(309),
+ /* parameters */ ParameterIndex(332),
/* return_matcher_indices */ MatcherIndicesIndex(116),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3658,7 +3773,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(16),
- /* parameters */ ParameterIndex(311),
+ /* parameters */ ParameterIndex(334),
/* return_matcher_indices */ MatcherIndicesIndex(116),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3669,7 +3784,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(16),
- /* parameters */ ParameterIndex(313),
+ /* parameters */ ParameterIndex(336),
/* return_matcher_indices */ MatcherIndicesIndex(116),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3680,7 +3795,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(16),
- /* parameters */ ParameterIndex(315),
+ /* parameters */ ParameterIndex(338),
/* return_matcher_indices */ MatcherIndicesIndex(116),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3691,7 +3806,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(18),
- /* parameters */ ParameterIndex(309),
+ /* parameters */ ParameterIndex(332),
/* return_matcher_indices */ MatcherIndicesIndex(118),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3702,7 +3817,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(18),
- /* parameters */ ParameterIndex(311),
+ /* parameters */ ParameterIndex(334),
/* return_matcher_indices */ MatcherIndicesIndex(118),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3713,7 +3828,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(18),
- /* parameters */ ParameterIndex(313),
+ /* parameters */ ParameterIndex(336),
/* return_matcher_indices */ MatcherIndicesIndex(118),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3724,7 +3839,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(18),
- /* parameters */ ParameterIndex(315),
+ /* parameters */ ParameterIndex(338),
/* return_matcher_indices */ MatcherIndicesIndex(118),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3735,7 +3850,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(286),
+ /* parameters */ ParameterIndex(309),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3757,7 +3872,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(162),
+ /* parameters */ ParameterIndex(177),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3779,7 +3894,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(166),
+ /* parameters */ ParameterIndex(181),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3801,7 +3916,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(170),
+ /* parameters */ ParameterIndex(185),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3812,7 +3927,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(174),
+ /* parameters */ ParameterIndex(189),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3823,7 +3938,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(178),
+ /* parameters */ ParameterIndex(193),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3834,7 +3949,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(80),
+ /* parameters */ ParameterIndex(95),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3845,7 +3960,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(106),
+ /* parameters */ ParameterIndex(121),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3856,7 +3971,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(85),
+ /* parameters */ ParameterIndex(100),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3867,7 +3982,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(110),
+ /* parameters */ ParameterIndex(125),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3878,7 +3993,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(182),
+ /* parameters */ ParameterIndex(205),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3889,7 +4004,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(186),
+ /* parameters */ ParameterIndex(209),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3900,7 +4015,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(65),
+ /* parameters */ ParameterIndex(80),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3911,7 +4026,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(65),
+ /* parameters */ ParameterIndex(80),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3922,7 +4037,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(70),
+ /* parameters */ ParameterIndex(85),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3933,7 +4048,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(70),
+ /* parameters */ ParameterIndex(85),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3944,7 +4059,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(75),
+ /* parameters */ ParameterIndex(90),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3955,7 +4070,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(75),
+ /* parameters */ ParameterIndex(90),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3966,7 +4081,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(174),
+ /* parameters */ ParameterIndex(197),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3977,7 +4092,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(178),
+ /* parameters */ ParameterIndex(201),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3988,7 +4103,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(80),
+ /* parameters */ ParameterIndex(95),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -3999,7 +4114,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(80),
+ /* parameters */ ParameterIndex(95),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4010,7 +4125,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(85),
+ /* parameters */ ParameterIndex(100),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4021,7 +4136,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(85),
+ /* parameters */ ParameterIndex(100),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4032,7 +4147,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(182),
+ /* parameters */ ParameterIndex(205),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4043,7 +4158,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(186),
+ /* parameters */ ParameterIndex(209),
/* return_matcher_indices */ MatcherIndicesIndex(2),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4054,7 +4169,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(199),
+ /* parameters */ ParameterIndex(222),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4065,7 +4180,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(202),
+ /* parameters */ ParameterIndex(225),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4076,7 +4191,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(205),
+ /* parameters */ ParameterIndex(228),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4087,7 +4202,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(208),
+ /* parameters */ ParameterIndex(231),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4098,7 +4213,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(211),
+ /* parameters */ ParameterIndex(234),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4109,7 +4224,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(214),
+ /* parameters */ ParameterIndex(237),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4120,7 +4235,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(217),
+ /* parameters */ ParameterIndex(240),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4131,7 +4246,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(220),
+ /* parameters */ ParameterIndex(243),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4142,7 +4257,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(223),
+ /* parameters */ ParameterIndex(246),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4153,7 +4268,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(226),
+ /* parameters */ ParameterIndex(249),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4164,7 +4279,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(229),
+ /* parameters */ ParameterIndex(252),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4175,7 +4290,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(22),
- /* parameters */ ParameterIndex(232),
+ /* parameters */ ParameterIndex(255),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4186,7 +4301,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(35),
+ /* parameters */ ParameterIndex(65),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4197,7 +4312,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(35),
+ /* parameters */ ParameterIndex(65),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4208,7 +4323,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(40),
+ /* parameters */ ParameterIndex(70),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4219,7 +4334,7 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(40),
+ /* parameters */ ParameterIndex(70),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4230,29 +4345,29 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(98),
+ /* parameters */ ParameterIndex(75),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [94] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 4,
+ /* num_parameters */ 5,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(102),
+ /* parameters */ ParameterIndex(75),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [95] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 4,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(80),
+ /* parameters */ ParameterIndex(189),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4263,63 +4378,63 @@
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(106),
+ /* parameters */ ParameterIndex(193),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [97] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 4,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(85),
+ /* parameters */ ParameterIndex(35),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [98] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 4,
+ /* num_parameters */ 5,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(110),
+ /* parameters */ ParameterIndex(35),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [99] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 4,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(182),
+ /* parameters */ ParameterIndex(40),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [100] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 5,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(186),
+ /* parameters */ ParameterIndex(40),
/* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [101] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 4,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(114),
- /* return_matcher_indices */ MatcherIndicesIndex(124),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(113),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
@@ -4327,10 +4442,10 @@
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
/* num_parameters */ 4,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(114),
- /* return_matcher_indices */ MatcherIndicesIndex(124),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(117),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
@@ -4338,10 +4453,10 @@
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
/* num_parameters */ 3,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(118),
- /* return_matcher_indices */ MatcherIndicesIndex(124),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(95),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
@@ -4349,10 +4464,10 @@
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
/* num_parameters */ 4,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(118),
- /* return_matcher_indices */ MatcherIndicesIndex(124),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(121),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
@@ -4360,142 +4475,142 @@
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
/* num_parameters */ 3,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(265),
- /* return_matcher_indices */ MatcherIndicesIndex(124),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(100),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [106] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 4,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(23),
- /* parameters */ ParameterIndex(268),
- /* return_matcher_indices */ MatcherIndicesIndex(124),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(125),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [107] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 2,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
/* num_explicit_templates */ 0,
- /* num_templates */ 3,
- /* templates */ TemplateIndex(4),
- /* parameters */ ParameterIndex(289),
- /* return_matcher_indices */ MatcherIndicesIndex(54),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(205),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [108] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 2,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
/* num_explicit_templates */ 0,
- /* num_templates */ 3,
- /* templates */ TemplateIndex(4),
- /* parameters */ ParameterIndex(291),
- /* return_matcher_indices */ MatcherIndicesIndex(39),
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(209),
+ /* return_matcher_indices */ MatcherIndicesIndex(120),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [109] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 2,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
/* num_explicit_templates */ 0,
- /* num_templates */ 4,
- /* templates */ TemplateIndex(0),
- /* parameters */ ParameterIndex(293),
- /* return_matcher_indices */ MatcherIndicesIndex(24),
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(23),
+ /* parameters */ ParameterIndex(129),
+ /* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [110] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 4,
/* num_explicit_templates */ 0,
/* num_templates */ 1,
- /* templates */ TemplateIndex(7),
- /* parameters */ ParameterIndex(323),
- /* return_matcher_indices */ MatcherIndicesIndex(8),
+ /* templates */ TemplateIndex(23),
+ /* parameters */ ParameterIndex(129),
+ /* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [111] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
/* num_explicit_templates */ 0,
- /* num_templates */ 2,
- /* templates */ TemplateIndex(7),
- /* parameters */ ParameterIndex(290),
- /* return_matcher_indices */ MatcherIndicesIndex(36),
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(23),
+ /* parameters */ ParameterIndex(133),
+ /* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [112] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 4,
/* num_explicit_templates */ 0,
/* num_templates */ 1,
- /* templates */ TemplateIndex(10),
- /* parameters */ ParameterIndex(323),
- /* return_matcher_indices */ MatcherIndicesIndex(7),
+ /* templates */ TemplateIndex(23),
+ /* parameters */ ParameterIndex(133),
+ /* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [113] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
/* num_explicit_templates */ 0,
- /* num_templates */ 2,
- /* templates */ TemplateIndex(10),
- /* parameters */ ParameterIndex(290),
- /* return_matcher_indices */ MatcherIndicesIndex(42),
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(23),
+ /* parameters */ ParameterIndex(288),
+ /* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [114] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
/* num_explicit_templates */ 0,
/* num_templates */ 1,
- /* templates */ TemplateIndex(12),
- /* parameters */ ParameterIndex(323),
- /* return_matcher_indices */ MatcherIndicesIndex(2),
+ /* templates */ TemplateIndex(23),
+ /* parameters */ ParameterIndex(291),
+ /* return_matcher_indices */ MatcherIndicesIndex(124),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [115] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
- /* num_templates */ 2,
- /* templates */ TemplateIndex(12),
- /* parameters */ ParameterIndex(290),
- /* return_matcher_indices */ MatcherIndicesIndex(45),
+ /* num_templates */ 3,
+ /* templates */ TemplateIndex(4),
+ /* parameters */ ParameterIndex(312),
+ /* return_matcher_indices */ MatcherIndicesIndex(54),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [116] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(324),
- /* return_matcher_indices */ MatcherIndicesIndex(7),
+ /* num_templates */ 3,
+ /* templates */ TemplateIndex(4),
+ /* parameters */ ParameterIndex(314),
+ /* return_matcher_indices */ MatcherIndicesIndex(39),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [117] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 1,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(8),
- /* parameters */ ParameterIndex(325),
- /* return_matcher_indices */ MatcherIndicesIndex(48),
+ /* num_templates */ 4,
+ /* templates */ TemplateIndex(0),
+ /* parameters */ ParameterIndex(316),
+ /* return_matcher_indices */ MatcherIndicesIndex(24),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
@@ -4503,10 +4618,10 @@
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(190),
- /* return_matcher_indices */ MatcherIndicesIndex(2),
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(7),
+ /* parameters */ ParameterIndex(346),
+ /* return_matcher_indices */ MatcherIndicesIndex(8),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
@@ -4514,25 +4629,113 @@
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
- /* num_templates */ 1,
- /* templates */ TemplateIndex(8),
- /* parameters */ ParameterIndex(326),
- /* return_matcher_indices */ MatcherIndicesIndex(51),
+ /* num_templates */ 2,
+ /* templates */ TemplateIndex(7),
+ /* parameters */ ParameterIndex(313),
+ /* return_matcher_indices */ MatcherIndicesIndex(36),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [120] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
- /* num_parameters */ 4,
+ /* num_parameters */ 1,
/* num_explicit_templates */ 0,
/* num_templates */ 1,
- /* templates */ TemplateIndex(12),
- /* parameters */ ParameterIndex(90),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* templates */ TemplateIndex(10),
+ /* parameters */ ParameterIndex(346),
+ /* return_matcher_indices */ MatcherIndicesIndex(7),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [121] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 1,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 2,
+ /* templates */ TemplateIndex(10),
+ /* parameters */ ParameterIndex(313),
+ /* return_matcher_indices */ MatcherIndicesIndex(42),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [122] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 1,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(12),
+ /* parameters */ ParameterIndex(346),
+ /* return_matcher_indices */ MatcherIndicesIndex(2),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [123] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 1,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 2,
+ /* templates */ TemplateIndex(12),
+ /* parameters */ ParameterIndex(313),
+ /* return_matcher_indices */ MatcherIndicesIndex(45),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [124] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 1,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(347),
+ /* return_matcher_indices */ MatcherIndicesIndex(7),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [125] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 1,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(8),
+ /* parameters */ ParameterIndex(348),
+ /* return_matcher_indices */ MatcherIndicesIndex(48),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [126] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 1,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(213),
+ /* return_matcher_indices */ MatcherIndicesIndex(2),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [127] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 1,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(8),
+ /* parameters */ ParameterIndex(349),
+ /* return_matcher_indices */ MatcherIndicesIndex(51),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [128] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
+ /* num_parameters */ 4,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 1,
+ /* templates */ TemplateIndex(12),
+ /* parameters */ ParameterIndex(105),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [129] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
/* num_parameters */ 5,
/* num_explicit_templates */ 0,
@@ -4543,277 +4746,277 @@
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [122] */
+ /* [130] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 3,
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(12),
- /* parameters */ ParameterIndex(196),
+ /* parameters */ ParameterIndex(219),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [123] */
+ /* [131] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
/* num_parameters */ 4,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(94),
+ /* parameters */ ParameterIndex(109),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [124] */
+ /* [132] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
/* num_templates */ 1,
/* templates */ TemplateIndex(9),
- /* parameters */ ParameterIndex(323),
+ /* parameters */ ParameterIndex(346),
/* return_matcher_indices */ MatcherIndicesIndex(8),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [125] */
+ /* [133] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
/* num_templates */ 2,
/* templates */ TemplateIndex(8),
- /* parameters */ ParameterIndex(329),
+ /* parameters */ ParameterIndex(352),
/* return_matcher_indices */ MatcherIndicesIndex(57),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [126] */
+ /* [134] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 3,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(190),
+ /* parameters */ ParameterIndex(213),
/* return_matcher_indices */ MatcherIndicesIndex(8),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [127] */
+ /* [135] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 3,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(193),
+ /* parameters */ ParameterIndex(216),
/* return_matcher_indices */ MatcherIndicesIndex(7),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [128] */
+ /* [136] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(327),
+ /* parameters */ ParameterIndex(350),
/* return_matcher_indices */ MatcherIndicesIndex(169),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [129] */
+ /* [137] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(328),
+ /* parameters */ ParameterIndex(351),
/* return_matcher_indices */ MatcherIndicesIndex(170),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [130] */
+ /* [138] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(330),
+ /* parameters */ ParameterIndex(353),
/* return_matcher_indices */ MatcherIndicesIndex(118),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [131] */
+ /* [139] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline),
/* num_parameters */ 1,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(331),
+ /* parameters */ ParameterIndex(354),
/* return_matcher_indices */ MatcherIndicesIndex(116),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
- /* [132] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 2,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
- /* return_matcher_indices */ MatcherIndicesIndex(65),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
- /* [133] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 2,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
- /* return_matcher_indices */ MatcherIndicesIndex(138),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
- /* [134] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 2,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
- /* return_matcher_indices */ MatcherIndicesIndex(116),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
- /* [135] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 2,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
- /* return_matcher_indices */ MatcherIndicesIndex(5),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
- /* [136] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 2,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
- /* return_matcher_indices */ MatcherIndicesIndex(69),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
- /* [137] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 2,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
- /* return_matcher_indices */ MatcherIndicesIndex(140),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
- /* [138] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 2,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(295),
- /* return_matcher_indices */ MatcherIndicesIndex(142),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
- /* [139] */
- /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
- /* num_explicit_templates */ 0,
- /* num_templates */ 0,
- /* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(241),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
- /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
- },
- {
/* [140] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(244),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* parameters */ ParameterIndex(318),
+ /* return_matcher_indices */ MatcherIndicesIndex(65),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [141] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(247),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* parameters */ ParameterIndex(318),
+ /* return_matcher_indices */ MatcherIndicesIndex(138),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [142] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(250),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* parameters */ ParameterIndex(318),
+ /* return_matcher_indices */ MatcherIndicesIndex(116),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [143] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(253),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* parameters */ ParameterIndex(318),
+ /* return_matcher_indices */ MatcherIndicesIndex(5),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [144] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(256),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* parameters */ ParameterIndex(318),
+ /* return_matcher_indices */ MatcherIndicesIndex(69),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [145] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
- /* num_parameters */ 3,
+ /* num_parameters */ 2,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(259),
- /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* parameters */ ParameterIndex(318),
+ /* return_matcher_indices */ MatcherIndicesIndex(140),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
{
/* [146] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 2,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(318),
+ /* return_matcher_indices */ MatcherIndicesIndex(142),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [147] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
/* num_parameters */ 3,
/* num_explicit_templates */ 0,
/* num_templates */ 0,
/* templates */ TemplateIndex(/* invalid */),
- /* parameters */ ParameterIndex(262),
+ /* parameters */ ParameterIndex(264),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [148] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(267),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [149] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(270),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [150] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(273),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [151] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(276),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [152] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(279),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [153] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(282),
+ /* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
+ /* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
+ },
+ {
+ /* [154] */
+ /* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsVertexPipeline, OverloadFlag::kSupportsFragmentPipeline, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMemberFunction),
+ /* num_parameters */ 3,
+ /* num_explicit_templates */ 0,
+ /* num_templates */ 0,
+ /* templates */ TemplateIndex(/* invalid */),
+ /* parameters */ ParameterIndex(285),
/* return_matcher_indices */ MatcherIndicesIndex(/* invalid */),
/* const_eval_fn */ ConstEvalFunctionIndex(/* invalid */),
},
@@ -4828,103 +5031,103 @@
/* fn asint[T : f32_u32](T) -> i32 */
/* fn asint[T : f32_u32, N : num](vec<N, T>) -> vec<N, i32> */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(110),
+ /* overloads */ OverloadIndex(118),
},
{
/* [1] */
/* fn asuint[T : f32_i32](T) -> u32 */
/* fn asuint[T : f32_i32, N : num](vec<N, T>) -> vec<N, u32> */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(112),
+ /* overloads */ OverloadIndex(120),
},
{
/* [2] */
/* fn asfloat[T : iu32](T) -> f32 */
/* fn asfloat[T : iu32, N : num](vec<N, T>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(114),
+ /* overloads */ OverloadIndex(122),
},
{
/* [3] */
/* fn dot4add_i8packed(u32, u32, ptr<function, i32, writable>) -> i32 */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(126),
+ /* overloads */ OverloadIndex(134),
},
{
/* [4] */
/* fn dot4add_u8packed(u32, u32, ptr<function, u32, writable>) -> u32 */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(127),
+ /* overloads */ OverloadIndex(135),
},
{
/* [5] */
/* fn f32tof16(f32) -> u32 */
/* fn f32tof16[N : num](vec<N, f32>) -> vec<N, u32> */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(116),
+ /* overloads */ OverloadIndex(124),
},
{
/* [6] */
/* fn f16tof32(u32) -> f32 */
/* fn f16tof32[N : num](vec<N, u32>) -> vec<N, f32> */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(118),
+ /* overloads */ OverloadIndex(126),
},
{
/* [7] */
/* fn InterlockedCompareExchange[T : iu32](ptr<workgroup, atomic<T>, read_write>, compare_value: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedCompareExchange(byte_address_buffer<read_write>, offset: iu32, compare_value: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(120),
+ /* overloads */ OverloadIndex(128),
},
{
/* [8] */
/* fn InterlockedExchange[T : iu32](ptr<workgroup, atomic<T>, read_write>, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedExchange(byte_address_buffer<readable>, offset: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(122),
+ /* overloads */ OverloadIndex(130),
},
{
/* [9] */
/* fn InterlockedAdd[T : iu32](ptr<workgroup, atomic<T>, read_write>, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedAdd(byte_address_buffer<readable>, offset: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(122),
+ /* overloads */ OverloadIndex(130),
},
{
/* [10] */
/* fn InterlockedMax[T : iu32](ptr<workgroup, atomic<T>, read_write>, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedMax(byte_address_buffer<readable>, offset: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(122),
+ /* overloads */ OverloadIndex(130),
},
{
/* [11] */
/* fn InterlockedMin[T : iu32](ptr<workgroup, atomic<T>, read_write>, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedMin(byte_address_buffer<readable>, offset: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(122),
+ /* overloads */ OverloadIndex(130),
},
{
/* [12] */
/* fn InterlockedAnd[T : iu32](ptr<workgroup, atomic<T>, read_write>, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedAnd(byte_address_buffer<readable>, offset: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(122),
+ /* overloads */ OverloadIndex(130),
},
{
/* [13] */
/* fn InterlockedOr[T : iu32](ptr<workgroup, atomic<T>, read_write>, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedOr(byte_address_buffer<readable>, offset: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(122),
+ /* overloads */ OverloadIndex(130),
},
{
/* [14] */
/* fn InterlockedXor[T : iu32](ptr<workgroup, atomic<T>, read_write>, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* fn InterlockedXor(byte_address_buffer<readable>, offset: iu32, value: iu32, original_value: ptr<function, iu32, read_write>) */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(122),
+ /* overloads */ OverloadIndex(130),
},
{
/* [15] */
@@ -4932,32 +5135,32 @@
/* fn mul[T : f32_f16, C : num, R : num](vec<R, T>, mat<R, C, T>) -> vec<C, T> */
/* fn mul[T : f32_f16, K : num, C : num, R : num](mat<R, K, T>, mat<K, C, T>) -> mat<R, C, T> */
/* num overloads */ 3,
- /* overloads */ OverloadIndex(107),
+ /* overloads */ OverloadIndex(115),
},
{
/* [16] */
/* fn pack_u8(vec4<u32>) -> uint8_t4_packed */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(128),
+ /* overloads */ OverloadIndex(136),
},
{
/* [17] */
/* fn pack_s8(vec4<i32>) -> int8_t4_packed */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(129),
+ /* overloads */ OverloadIndex(137),
},
{
/* [18] */
/* fn pack_clamp_s8(vec4<i32>) -> int8_t4_packed */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(129),
+ /* overloads */ OverloadIndex(137),
},
{
/* [19] */
/* fn sign[T : fi32_f16](T) -> i32 */
/* fn sign[N : num, T : fi32_f16](vec<N, T>) -> vec<N, i32> */
/* num overloads */ 2,
- /* overloads */ OverloadIndex(124),
+ /* overloads */ OverloadIndex(132),
},
{
/* [20] */
@@ -4980,13 +5183,13 @@
/* [21] */
/* fn unpack_s8s32(int8_t4_packed) -> vec4<i32> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(130),
+ /* overloads */ OverloadIndex(138),
},
{
/* [22] */
/* fn unpack_u8u32(uint8_t4_packed) -> vec4<u32> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(131),
+ /* overloads */ OverloadIndex(139),
},
{
/* [23] */
@@ -5018,91 +5221,91 @@
/* [24] */
/* fn Load2(byte_address_buffer<readable>, offset: u32) -> vec2<u32> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(132),
+ /* overloads */ OverloadIndex(140),
},
{
/* [25] */
/* fn Load3(byte_address_buffer<readable>, offset: u32) -> vec3<u32> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(133),
+ /* overloads */ OverloadIndex(141),
},
{
/* [26] */
/* fn Load4(byte_address_buffer<readable>, offset: u32) -> vec4<u32> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(134),
+ /* overloads */ OverloadIndex(142),
},
{
/* [27] */
/* fn LoadF16(byte_address_buffer<readable>, offset: u32) -> f16 */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(135),
+ /* overloads */ OverloadIndex(143),
},
{
/* [28] */
/* fn Load2F16(byte_address_buffer<readable>, offset: u32) -> vec2<f16> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(136),
+ /* overloads */ OverloadIndex(144),
},
{
/* [29] */
/* fn Load3F16(byte_address_buffer<readable>, offset: u32) -> vec3<f16> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(137),
+ /* overloads */ OverloadIndex(145),
},
{
/* [30] */
/* fn Load4F16(byte_address_buffer<readable>, offset: u32) -> vec4<f16> */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(138),
+ /* overloads */ OverloadIndex(146),
},
{
/* [31] */
/* fn Store(byte_address_buffer<writable>, offset: u32, value: u32) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(139),
+ /* overloads */ OverloadIndex(147),
},
{
/* [32] */
/* fn Store2(byte_address_buffer<writable>, offset: u32, value: vec2<u32>) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(140),
+ /* overloads */ OverloadIndex(148),
},
{
/* [33] */
/* fn Store3(byte_address_buffer<writable>, offset: u32, value: vec3<u32>) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(141),
+ /* overloads */ OverloadIndex(149),
},
{
/* [34] */
/* fn Store4(byte_address_buffer<writable>, offset: u32, value: vec4<u32>) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(142),
+ /* overloads */ OverloadIndex(150),
},
{
/* [35] */
/* fn StoreF16(byte_address_buffer<writable>, offset: u32, value: f16) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(143),
+ /* overloads */ OverloadIndex(151),
},
{
/* [36] */
/* fn Store2F16(byte_address_buffer<writable>, offset: u32, value: vec2<f16>) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(144),
+ /* overloads */ OverloadIndex(152),
},
{
/* [37] */
/* fn Store3F16(byte_address_buffer<writable>, offset: u32, value: vec3<f16>) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(145),
+ /* overloads */ OverloadIndex(153),
},
{
/* [38] */
/* fn Store4F16(byte_address_buffer<writable>, offset: u32, value: vec4<f16>) */
/* num overloads */ 1,
- /* overloads */ OverloadIndex(146),
+ /* overloads */ OverloadIndex(154),
},
{
/* [39] */
@@ -5113,7 +5316,7 @@
/* fn GatherCmp(texture: texture_depth_cube, sampler: sampler_comparison, coords: vec3<f32>, depth_ref: f32) -> vec4<f32> */
/* fn GatherCmp(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec4<f32>, depth_ref: f32) -> vec4<f32> */
/* num overloads */ 6,
- /* overloads */ OverloadIndex(89),
+ /* overloads */ OverloadIndex(97),
},
{
/* [40] */
@@ -5124,7 +5327,7 @@
/* fn Gather(texture: texture_depth_cube, sampler: sampler, coords: vec3<f32>) -> vec4<f32> */
/* fn Gather(texture: texture_depth_cube_array, sampler: sampler, coords: vec4<f32>) -> vec4<f32> */
/* num overloads */ 6,
- /* overloads */ OverloadIndex(95),
+ /* overloads */ OverloadIndex(103),
},
{
/* [41] */
@@ -5135,7 +5338,7 @@
/* fn GatherAlpha[T : fiu32](texture: texture_cube<T>, sampler: sampler, coords: vec3<f32>) -> vec4<T> */
/* fn GatherAlpha[T : fiu32](texture: texture_cube_array<T>, sampler: sampler, coords: vec4<f32>) -> vec4<T> */
/* num overloads */ 6,
- /* overloads */ OverloadIndex(101),
+ /* overloads */ OverloadIndex(109),
},
{
/* [42] */
@@ -5146,7 +5349,7 @@
/* fn GatherBlue[T : fiu32](texture: texture_cube<T>, sampler: sampler, coords: vec3<f32>) -> vec4<T> */
/* fn GatherBlue[T : fiu32](texture: texture_cube_array<T>, sampler: sampler, coords: vec4<f32>) -> vec4<T> */
/* num overloads */ 6,
- /* overloads */ OverloadIndex(101),
+ /* overloads */ OverloadIndex(109),
},
{
/* [43] */
@@ -5157,7 +5360,7 @@
/* fn GatherGreen[T : fiu32](texture: texture_cube<T>, sampler: sampler, coords: vec3<f32>) -> vec4<T> */
/* fn GatherGreen[T : fiu32](texture: texture_cube_array<T>, sampler: sampler, coords: vec4<f32>) -> vec4<T> */
/* num overloads */ 6,
- /* overloads */ OverloadIndex(101),
+ /* overloads */ OverloadIndex(109),
},
{
/* [44] */
@@ -5168,7 +5371,7 @@
/* fn GatherRed[T : fiu32](texture: texture_cube<T>, sampler: sampler, coords: vec3<f32>) -> vec4<T> */
/* fn GatherRed[T : fiu32](texture: texture_cube_array<T>, sampler: sampler, coords: vec4<f32>) -> vec4<T> */
/* num overloads */ 6,
- /* overloads */ OverloadIndex(101),
+ /* overloads */ OverloadIndex(109),
},
{
/* [45] */
@@ -5224,6 +5427,19 @@
},
{
/* [47] */
+ /* fn SampleBias(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, bias: f32) -> vec4<f32> */
+ /* fn SampleBias(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, bias: f32, offset: vec2<i32>) -> vec4<f32> */
+ /* fn SampleBias(texture: texture_2d_array<f32>, sampler: sampler, coords: vec3<f32>, bias: f32) -> vec4<f32> */
+ /* fn SampleBias(texture: texture_2d_array<f32>, sampler: sampler, coords: vec3<f32>, bias: f32, offset: vec2<i32>) -> vec4<f32> */
+ /* fn SampleBias(texture: texture_3d<f32>, sampler: sampler, coords: vec3<f32>, bias: f32) -> vec4<f32> */
+ /* fn SampleBias(texture: texture_3d<f32>, sampler: sampler, coords: vec3<f32>, bias: f32, offset: vec3<i32>) -> vec4<f32> */
+ /* fn SampleBias(texture: texture_cube<f32>, sampler: sampler, coords: vec3<f32>, bias: f32) -> vec4<f32> */
+ /* fn SampleBias(texture: texture_cube_array<f32>, sampler: sampler, coords: vec4<f32>, bias: f32) -> vec4<f32> */
+ /* num overloads */ 8,
+ /* overloads */ OverloadIndex(89),
+ },
+ {
+ /* [48] */
/* fn SampleLevel(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, level: f32) -> vec4<f32> */
/* fn SampleLevel(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, level: f32, offset: vec2<i32>) -> vec4<f32> */
/* fn SampleLevel(texture: texture_2d_array<f32>, sampler: sampler, coords: vec3<f32>, level: f32) -> vec4<f32> */
diff --git a/src/tint/lang/hlsl/writer/builtin_test.cc b/src/tint/lang/hlsl/writer/builtin_test.cc
index 98450d1..f05d8ef 100644
--- a/src/tint/lang/hlsl/writer/builtin_test.cc
+++ b/src/tint/lang/hlsl/writer/builtin_test.cc
@@ -2786,6 +2786,303 @@
)");
}
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_2d) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+Texture2D<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float2 v_2 = float2(1.0f, 2.0f);
+ float4 x = v.SampleBias(v_1, v_2, 3.0f);
+}
+
+)");
+}
+
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_2d_Offset) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+ auto* offset = b.Composite<vec2<i32>>(4_i, 5_i);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f, offset));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+Texture2D<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float2 v_2 = float2(1.0f, 2.0f);
+ float4 x = v.SampleBias(v_1, v_2, 3.0f, int2(4, 5));
+}
+
+)");
+}
+
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_2d_Array) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2dArray, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+ auto* array_idx = b.Value(4_u);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, array_idx, 3_f));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+Texture2DArray<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float2 v_2 = float2(1.0f, 2.0f);
+ Texture2DArray<float4> v_3 = v;
+ SamplerState v_4 = v_1;
+ float4 x = v_3.SampleBias(v_4, float3(v_2, float(4u)), 3.0f);
+}
+
+)");
+}
+
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_2d_Array_Offset) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2dArray, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+ auto* array_idx = b.Value(4_u);
+ auto* offset = b.Composite<vec2<i32>>(4_i, 5_i);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, array_idx,
+ 3_f, offset));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+Texture2DArray<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float2 v_2 = float2(1.0f, 2.0f);
+ Texture2DArray<float4> v_3 = v;
+ SamplerState v_4 = v_1;
+ float4 x = v_3.SampleBias(v_4, float3(v_2, float(4u)), 3.0f, int2(4, 5));
+}
+
+)");
+}
+
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_3d) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k3d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+Texture3D<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float3 v_2 = float3(1.0f, 2.0f, 3.0f);
+ float4 x = v.SampleBias(v_1, v_2, 3.0f);
+}
+
+)");
+}
+
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_3d_Offset) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k3d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+ auto* offset = b.Composite<vec3<i32>>(4_i, 5_i, 6_i);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f, offset));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+Texture3D<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float3 v_2 = float3(1.0f, 2.0f, 3.0f);
+ float4 x = v.SampleBias(v_1, v_2, 3.0f, int3(4, 5, 6));
+}
+
+)");
+}
+
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_Cube) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::kCube, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+TextureCube<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float3 v_2 = float3(1.0f, 2.0f, 3.0f);
+ float4 x = v.SampleBias(v_1, v_2, 3.0f);
+}
+
+)");
+}
+
+TEST_F(HlslWriterTest, BuiltinTextureSampleBias_Cube_Array) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::kCubeArray, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+ auto* array_idx = b.Value(4_u);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, array_idx, 3_f));
+ b.Return(func);
+ });
+
+ ASSERT_TRUE(Generate()) << err_ << output_.hlsl;
+ EXPECT_EQ(output_.hlsl, R"(
+TextureCubeArray<float4> v : register(t0);
+SamplerState v_1 : register(s1);
+void foo() {
+ float3 v_2 = float3(1.0f, 2.0f, 3.0f);
+ TextureCubeArray<float4> v_3 = v;
+ SamplerState v_4 = v_1;
+ float4 x = v_3.SampleBias(v_4, float4(v_2, float(4u)), 3.0f);
+}
+
+)");
+}
+
TEST_F(HlslWriterTest, BuiltinTextureSample_Depth2d) {
core::ir::Var* tex = nullptr;
core::ir::Var* sampler = nullptr;
diff --git a/src/tint/lang/hlsl/writer/raise/builtin_polyfill.cc b/src/tint/lang/hlsl/writer/raise/builtin_polyfill.cc
index 1d30657..4ecde01 100644
--- a/src/tint/lang/hlsl/writer/raise/builtin_polyfill.cc
+++ b/src/tint/lang/hlsl/writer/raise/builtin_polyfill.cc
@@ -122,6 +122,7 @@
case core::BuiltinFn::kTextureNumLevels:
case core::BuiltinFn::kTextureNumSamples:
case core::BuiltinFn::kTextureSample:
+ case core::BuiltinFn::kTextureSampleBias:
case core::BuiltinFn::kTextureSampleLevel:
case core::BuiltinFn::kTextureStore:
case core::BuiltinFn::kTrunc:
@@ -266,6 +267,9 @@
case core::BuiltinFn::kTextureSample:
TextureSample(call);
break;
+ case core::BuiltinFn::kTextureSampleBias:
+ TextureSampleBias(call);
+ break;
case core::BuiltinFn::kTextureSampleLevel:
TextureSampleLevel(call);
break;
@@ -1189,6 +1193,61 @@
call->Destroy();
}
+ void TextureSampleBias(core::ir::CoreBuiltinCall* call) {
+ auto args = call->Args();
+ b.InsertBefore(call, [&] {
+ core::ir::Value* tex = args[0];
+
+ Vector<core::ir::Value*, 4> params;
+
+ auto* tex_type = tex->Type()->As<core::type::Texture>();
+ TINT_ASSERT(tex_type);
+
+ params.Push(args[1]); // sampler
+ core::ir::Value* coords = args[2];
+
+ switch (tex_type->dim()) {
+ case core::type::TextureDimension::k2d:
+ params.Push(coords);
+ params.Push(args[3]); // bias
+
+ if (args.Length() > 4) {
+ params.Push(args[4]);
+ }
+ break;
+ case core::type::TextureDimension::k2dArray:
+ params.Push(
+ b.Construct(ty.vec3<f32>(), coords, b.Convert<f32>(args[3]))->Result(0));
+ params.Push(args[4]);
+
+ if (args.Length() > 5) {
+ params.Push(args[5]);
+ }
+ break;
+ case core::type::TextureDimension::k3d:
+ case core::type::TextureDimension::kCube:
+ params.Push(coords);
+ params.Push(args[3]);
+
+ if (args.Length() > 4) {
+ params.Push(args[4]);
+ }
+ break;
+ case core::type::TextureDimension::kCubeArray:
+ params.Push(
+ b.Construct(ty.vec4<f32>(), coords, b.Convert<f32>(args[3]))->Result(0));
+ params.Push(args[4]);
+ break;
+ default:
+ TINT_UNREACHABLE();
+ }
+
+ b.MemberCallWithResult<hlsl::ir::MemberBuiltinCall>(
+ call->DetachResult(), hlsl::BuiltinFn::kSampleBias, tex, params);
+ });
+ call->Destroy();
+ }
+
void TextureSampleLevel(core::ir::CoreBuiltinCall* call) {
auto args = call->Args();
b.InsertBefore(call, [&] {
diff --git a/src/tint/lang/hlsl/writer/raise/builtin_polyfill_test.cc b/src/tint/lang/hlsl/writer/raise/builtin_polyfill_test.cc
index 708e814..66edb8d 100644
--- a/src/tint/lang/hlsl/writer/raise/builtin_polyfill_test.cc
+++ b/src/tint/lang/hlsl/writer/raise/builtin_polyfill_test.cc
@@ -2897,6 +2897,527 @@
EXPECT_EQ(expect, str());
}
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_2d) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = %5.SampleBias %6, %4, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_2d_Offset) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+ auto* offset = b.Composite<vec2<i32>>(4_i, 5_i);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f, offset));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 3.0f, vec2<i32>(4i, 5i)
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = %5.SampleBias %6, %4, 3.0f, vec2<i32>(4i, 5i)
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_2d_Array) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2dArray, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+ auto* array_idx = b.Value(4_u);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, array_idx, 3_f));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d_array<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d_array<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 4u, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d_array<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d_array<f32> = load %1
+ %6:sampler = load %2
+ %7:f32 = convert 4u
+ %8:vec3<f32> = construct %4, %7
+ %9:vec4<f32> = %5.SampleBias %6, %8, 3.0f
+ %x:vec4<f32> = let %9
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_2d_Array_Offset) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k2dArray, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec2<f32>(), b.Value(1_f), b.Value(2_f));
+ auto* array_idx = b.Value(4_u);
+ auto* offset = b.Composite<vec2<i32>>(4_i, 5_i);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, array_idx,
+ 3_f, offset));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d_array<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d_array<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 4u, 3.0f, vec2<i32>(4i, 5i)
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_2d_array<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec2<f32> = construct 1.0f, 2.0f
+ %5:texture_2d_array<f32> = load %1
+ %6:sampler = load %2
+ %7:f32 = convert 4u
+ %8:vec3<f32> = construct %4, %7
+ %9:vec4<f32> = %5.SampleBias %6, %8, 3.0f, vec2<i32>(4i, 5i)
+ %x:vec4<f32> = let %9
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_3d) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k3d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_3d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_3d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_3d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_3d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = %5.SampleBias %6, %4, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_3d_Offset) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::k3d, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+ auto* offset = b.Composite<vec3<i32>>(4_i, 5_i, 6_i);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f, offset));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_3d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_3d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 3.0f, vec3<i32>(4i, 5i, 6i)
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_3d<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_3d<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = %5.SampleBias %6, %4, 3.0f, vec3<i32>(4i, 5i, 6i)
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_Cube) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::kCube, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x", b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, 3_f));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_cube<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_cube<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_cube<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_cube<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = %5.SampleBias %6, %4, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
+TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleBias_Cube_Array) {
+ core::ir::Var* tex = nullptr;
+ core::ir::Var* sampler = nullptr;
+ b.Append(b.ir.root_block, [&] {
+ tex = b.Var(ty.ptr(handle, ty.Get<core::type::SampledTexture>(
+ core::type::TextureDimension::kCubeArray, ty.f32())));
+ tex->SetBindingPoint(0, 0);
+
+ sampler =
+ b.Var(ty.ptr(handle, ty.Get<core::type::Sampler>(core::type::SamplerKind::kSampler)));
+ sampler->SetBindingPoint(0, 1);
+ });
+
+ auto* func = b.Function("foo", ty.void_(), core::ir::Function::PipelineStage::kFragment);
+ b.Append(func->Block(), [&] {
+ auto* coords = b.Construct(ty.vec3<f32>(), b.Value(1_f), b.Value(2_f), b.Value(3_f));
+ auto* array_idx = b.Value(4_u);
+
+ auto* t = b.Load(tex);
+ auto* s = b.Load(sampler);
+ b.Let("x",
+ b.Call<vec4<f32>>(core::BuiltinFn::kTextureSampleBias, t, s, coords, array_idx, 3_f));
+ b.Return(func);
+ });
+
+ auto* src = R"(
+$B1: { # root
+ %1:ptr<handle, texture_cube_array<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_cube_array<f32> = load %1
+ %6:sampler = load %2
+ %7:vec4<f32> = textureSampleBias %5, %6, %4, 4u, 3.0f
+ %x:vec4<f32> = let %7
+ ret
+ }
+}
+)";
+ ASSERT_EQ(src, str());
+
+ auto* expect = R"(
+$B1: { # root
+ %1:ptr<handle, texture_cube_array<f32>, read> = var @binding_point(0, 0)
+ %2:ptr<handle, sampler, read> = var @binding_point(0, 1)
+}
+
+%foo = @fragment func():void {
+ $B2: {
+ %4:vec3<f32> = construct 1.0f, 2.0f, 3.0f
+ %5:texture_cube_array<f32> = load %1
+ %6:sampler = load %2
+ %7:f32 = convert 4u
+ %8:vec4<f32> = construct %4, %7
+ %9:vec4<f32> = %5.SampleBias %6, %8, 3.0f
+ %x:vec4<f32> = let %9
+ ret
+ }
+}
+)";
+ Run(BuiltinPolyfill);
+ EXPECT_EQ(expect, str());
+}
+
TEST_F(HlslWriter_BuiltinPolyfillTest, TextureSampleLevel_2d) {
core::ir::Var* tex = nullptr;
core::ir::Var* sampler = nullptr;
diff --git a/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.dxc.hlsl b/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.dxc.hlsl
index 236df8d..e1c3987 100644
--- a/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.dxc.hlsl
@@ -48,7 +48,7 @@
return v_10;
}
-vector<float16_t, 2> tint_bitcast_to_f16(uint src) {
+vector<float16_t, 2> tint_bitcast_to_f16_1(uint src) {
uint v = src;
float t_low = f16tof32((v & 65535u));
float t_high = f16tof32(((v >> 16u) & 65535u));
@@ -58,13 +58,13 @@
matrix<float16_t, 4, 2> v_12(uint start_byte_offset) {
uint4 v_13 = ub[(start_byte_offset / 16u)];
- vector<float16_t, 2> v_14 = tint_bitcast_to_f16((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_13.z) : (v_13.x)));
+ vector<float16_t, 2> v_14 = tint_bitcast_to_f16_1((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_13.z) : (v_13.x)));
uint4 v_15 = ub[((4u + start_byte_offset) / 16u)];
- vector<float16_t, 2> v_16 = tint_bitcast_to_f16(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_15.z) : (v_15.x)));
+ vector<float16_t, 2> v_16 = tint_bitcast_to_f16_1(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_15.z) : (v_15.x)));
uint4 v_17 = ub[((8u + start_byte_offset) / 16u)];
- vector<float16_t, 2> v_18 = tint_bitcast_to_f16(((((((8u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_17.z) : (v_17.x)));
+ vector<float16_t, 2> v_18 = tint_bitcast_to_f16_1(((((((8u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_17.z) : (v_17.x)));
uint4 v_19 = ub[((12u + start_byte_offset) / 16u)];
- return matrix<float16_t, 4, 2>(v_14, v_16, v_18, tint_bitcast_to_f16(((((((12u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_19.z) : (v_19.x))));
+ return matrix<float16_t, 4, 2>(v_14, v_16, v_18, tint_bitcast_to_f16_1(((((((12u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_19.z) : (v_19.x))));
}
typedef matrix<float16_t, 4, 2> ary_ret_1[2];
@@ -111,7 +111,7 @@
return v_27;
}
-vector<float16_t, 4> tint_bitcast_to_f16_1(uint4 src) {
+vector<float16_t, 4> tint_bitcast_to_f16(uint4 src) {
uint4 v = src;
uint4 mask = (65535u).xxxx;
uint4 shift = (16u).xxxx;
@@ -124,55 +124,55 @@
}
matrix<float16_t, 4, 4> v_31(uint start_byte_offset) {
- vector<float16_t, 4> v_32 = tint_bitcast_to_f16_1(ub[(start_byte_offset / 16u)]);
- vector<float16_t, 4> v_33 = tint_bitcast_to_f16_1(ub[((8u + start_byte_offset) / 16u)]);
- vector<float16_t, 4> v_34 = tint_bitcast_to_f16_1(ub[((16u + start_byte_offset) / 16u)]);
- return matrix<float16_t, 4, 4>(v_32, v_33, v_34, tint_bitcast_to_f16_1(ub[((24u + start_byte_offset) / 16u)]));
+ vector<float16_t, 4> v_32 = tint_bitcast_to_f16(ub[(start_byte_offset / 16u)]);
+ vector<float16_t, 4> v_33 = tint_bitcast_to_f16(ub[((8u + start_byte_offset) / 16u)]);
+ vector<float16_t, 4> v_34 = tint_bitcast_to_f16(ub[((16u + start_byte_offset) / 16u)]);
+ return matrix<float16_t, 4, 4>(v_32, v_33, v_34, tint_bitcast_to_f16(ub[((24u + start_byte_offset) / 16u)]));
}
matrix<float16_t, 4, 3> v_35(uint start_byte_offset) {
- vector<float16_t, 3> v_36 = tint_bitcast_to_f16_1(ub[(start_byte_offset / 16u)]).xyz;
- vector<float16_t, 3> v_37 = tint_bitcast_to_f16_1(ub[((8u + start_byte_offset) / 16u)]).xyz;
- vector<float16_t, 3> v_38 = tint_bitcast_to_f16_1(ub[((16u + start_byte_offset) / 16u)]).xyz;
- return matrix<float16_t, 4, 3>(v_36, v_37, v_38, tint_bitcast_to_f16_1(ub[((24u + start_byte_offset) / 16u)]).xyz);
+ vector<float16_t, 3> v_36 = tint_bitcast_to_f16(ub[(start_byte_offset / 16u)]).xyz;
+ vector<float16_t, 3> v_37 = tint_bitcast_to_f16(ub[((8u + start_byte_offset) / 16u)]).xyz;
+ vector<float16_t, 3> v_38 = tint_bitcast_to_f16(ub[((16u + start_byte_offset) / 16u)]).xyz;
+ return matrix<float16_t, 4, 3>(v_36, v_37, v_38, tint_bitcast_to_f16(ub[((24u + start_byte_offset) / 16u)]).xyz);
}
matrix<float16_t, 3, 4> v_39(uint start_byte_offset) {
- vector<float16_t, 4> v_40 = tint_bitcast_to_f16_1(ub[(start_byte_offset / 16u)]);
- vector<float16_t, 4> v_41 = tint_bitcast_to_f16_1(ub[((8u + start_byte_offset) / 16u)]);
- return matrix<float16_t, 3, 4>(v_40, v_41, tint_bitcast_to_f16_1(ub[((16u + start_byte_offset) / 16u)]));
+ vector<float16_t, 4> v_40 = tint_bitcast_to_f16(ub[(start_byte_offset / 16u)]);
+ vector<float16_t, 4> v_41 = tint_bitcast_to_f16(ub[((8u + start_byte_offset) / 16u)]);
+ return matrix<float16_t, 3, 4>(v_40, v_41, tint_bitcast_to_f16(ub[((16u + start_byte_offset) / 16u)]));
}
matrix<float16_t, 3, 3> v_42(uint start_byte_offset) {
- vector<float16_t, 3> v_43 = tint_bitcast_to_f16_1(ub[(start_byte_offset / 16u)]).xyz;
- vector<float16_t, 3> v_44 = tint_bitcast_to_f16_1(ub[((8u + start_byte_offset) / 16u)]).xyz;
- return matrix<float16_t, 3, 3>(v_43, v_44, tint_bitcast_to_f16_1(ub[((16u + start_byte_offset) / 16u)]).xyz);
+ vector<float16_t, 3> v_43 = tint_bitcast_to_f16(ub[(start_byte_offset / 16u)]).xyz;
+ vector<float16_t, 3> v_44 = tint_bitcast_to_f16(ub[((8u + start_byte_offset) / 16u)]).xyz;
+ return matrix<float16_t, 3, 3>(v_43, v_44, tint_bitcast_to_f16(ub[((16u + start_byte_offset) / 16u)]).xyz);
}
matrix<float16_t, 3, 2> v_45(uint start_byte_offset) {
uint4 v_46 = ub[(start_byte_offset / 16u)];
- vector<float16_t, 2> v_47 = tint_bitcast_to_f16((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_46.z) : (v_46.x)));
+ vector<float16_t, 2> v_47 = tint_bitcast_to_f16_1((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_46.z) : (v_46.x)));
uint4 v_48 = ub[((4u + start_byte_offset) / 16u)];
- vector<float16_t, 2> v_49 = tint_bitcast_to_f16(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_48.z) : (v_48.x)));
+ vector<float16_t, 2> v_49 = tint_bitcast_to_f16_1(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_48.z) : (v_48.x)));
uint4 v_50 = ub[((8u + start_byte_offset) / 16u)];
- return matrix<float16_t, 3, 2>(v_47, v_49, tint_bitcast_to_f16(((((((8u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_50.z) : (v_50.x))));
+ return matrix<float16_t, 3, 2>(v_47, v_49, tint_bitcast_to_f16_1(((((((8u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_50.z) : (v_50.x))));
}
matrix<float16_t, 2, 4> v_51(uint start_byte_offset) {
- vector<float16_t, 4> v_52 = tint_bitcast_to_f16_1(ub[(start_byte_offset / 16u)]);
- return matrix<float16_t, 2, 4>(v_52, tint_bitcast_to_f16_1(ub[((8u + start_byte_offset) / 16u)]));
+ vector<float16_t, 4> v_52 = tint_bitcast_to_f16(ub[(start_byte_offset / 16u)]);
+ return matrix<float16_t, 2, 4>(v_52, tint_bitcast_to_f16(ub[((8u + start_byte_offset) / 16u)]));
}
matrix<float16_t, 2, 3> v_53(uint start_byte_offset) {
- vector<float16_t, 3> v_54 = tint_bitcast_to_f16_1(ub[(start_byte_offset / 16u)]).xyz;
- return matrix<float16_t, 2, 3>(v_54, tint_bitcast_to_f16_1(ub[((8u + start_byte_offset) / 16u)]).xyz);
+ vector<float16_t, 3> v_54 = tint_bitcast_to_f16(ub[(start_byte_offset / 16u)]).xyz;
+ return matrix<float16_t, 2, 3>(v_54, tint_bitcast_to_f16(ub[((8u + start_byte_offset) / 16u)]).xyz);
}
matrix<float16_t, 2, 2> v_55(uint start_byte_offset) {
uint4 v_56 = ub[(start_byte_offset / 16u)];
- vector<float16_t, 2> v_57 = tint_bitcast_to_f16((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_56.z) : (v_56.x)));
+ vector<float16_t, 2> v_57 = tint_bitcast_to_f16_1((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_56.z) : (v_56.x)));
uint4 v_58 = ub[((4u + start_byte_offset) / 16u)];
- return matrix<float16_t, 2, 2>(v_57, tint_bitcast_to_f16(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_58.z) : (v_58.x))));
+ return matrix<float16_t, 2, 2>(v_57, tint_bitcast_to_f16_1(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_58.z) : (v_58.x))));
}
float4x4 v_59(uint start_byte_offset) {
@@ -247,15 +247,15 @@
float2 vec2_f32 = asfloat(ub[1u].xy);
int2 vec2_i32 = asint(ub[1u].zw);
uint2 vec2_u32 = ub[2u].xy;
- vector<float16_t, 2> vec2_f16 = tint_bitcast_to_f16(ub[2u].z);
+ vector<float16_t, 2> vec2_f16 = tint_bitcast_to_f16_1(ub[2u].z);
float3 vec3_f32 = asfloat(ub[3u].xyz);
int3 vec3_i32 = asint(ub[4u].xyz);
uint3 vec3_u32 = ub[5u].xyz;
- vector<float16_t, 3> vec3_f16 = tint_bitcast_to_f16_1(ub[6u]).xyz;
+ vector<float16_t, 3> vec3_f16 = tint_bitcast_to_f16(ub[6u]).xyz;
float4 vec4_f32 = asfloat(ub[7u]);
int4 vec4_i32 = asint(ub[8u]);
uint4 vec4_u32 = ub[9u];
- vector<float16_t, 4> vec4_f16 = tint_bitcast_to_f16_1(ub[10u]);
+ vector<float16_t, 4> vec4_f16 = tint_bitcast_to_f16(ub[10u]);
float2x2 mat2x2_f32 = v_91(168u);
float2x3 mat2x3_f32 = v_89(192u);
float2x4 mat2x4_f32 = v_87(224u);
diff --git a/test/tint/bug/tint/1703.wgsl.expected.ir.dxc.hlsl b/test/tint/bug/tint/1703.wgsl.expected.ir.dxc.hlsl
index 49d2f50..4923d92 100644
--- a/test/tint/bug/tint/1703.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/bug/tint/1703.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,31 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+static float4 my_global = (0.0f).xxxx;
+cbuffer cbuffer_my_uniform : register(b0) {
+ uint4 my_uniform[1];
+};
+Texture2D<float4> my_texture : register(t1);
+SamplerState my_sampler : register(s2);
+void foo_member_initialize() {
+ bool2 vb2 = (false).xx;
+ vb2[0u] = (my_global.z != 0.0f);
+ vb2[0u] = (asfloat(my_uniform[0u].x) == -1.0f);
+ vb2 = bool2((asfloat(my_uniform[0u].x) == -1.0f), false);
+ if (vb2.x) {
+ float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+ }
+}
+
+void foo_default_initialize() {
+ bool2 vb2 = (false).xx;
+ vb2[0u] = (my_global.z != 0.0f);
+ vb2[0u] = (asfloat(my_uniform[0u].x) == -1.0f);
+ vb2 = (false).xx;
+ if (vb2.x) {
+ float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+ }
+}
+
+[numthreads(1, 1, 1)]
+void unused_entry_point() {
+}
+
diff --git a/test/tint/bug/tint/1703.wgsl.expected.ir.fxc.hlsl b/test/tint/bug/tint/1703.wgsl.expected.ir.fxc.hlsl
index 49d2f50..4923d92 100644
--- a/test/tint/bug/tint/1703.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/bug/tint/1703.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,31 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+static float4 my_global = (0.0f).xxxx;
+cbuffer cbuffer_my_uniform : register(b0) {
+ uint4 my_uniform[1];
+};
+Texture2D<float4> my_texture : register(t1);
+SamplerState my_sampler : register(s2);
+void foo_member_initialize() {
+ bool2 vb2 = (false).xx;
+ vb2[0u] = (my_global.z != 0.0f);
+ vb2[0u] = (asfloat(my_uniform[0u].x) == -1.0f);
+ vb2 = bool2((asfloat(my_uniform[0u].x) == -1.0f), false);
+ if (vb2.x) {
+ float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+ }
+}
+
+void foo_default_initialize() {
+ bool2 vb2 = (false).xx;
+ vb2[0u] = (my_global.z != 0.0f);
+ vb2[0u] = (asfloat(my_uniform[0u].x) == -1.0f);
+ vb2 = (false).xx;
+ if (vb2.x) {
+ float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+ }
+}
+
+[numthreads(1, 1, 1)]
+void unused_entry_point() {
+}
+
diff --git a/test/tint/bug/tint/2177.wgsl.expected.ir.dxc.hlsl b/test/tint/bug/tint/2177.wgsl.expected.ir.dxc.hlsl
index e728ed8..af525b9 100644
--- a/test/tint/bug/tint/2177.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/bug/tint/2177.wgsl.expected.ir.dxc.hlsl
@@ -1,61 +1,21 @@
-SKIP: FAILED
-
-@binding(0) @group(0) var<storage, read_write> arr : array<u32>;
-
-fn f2(p : ptr<storage, array<u32>, read_write>) -> u32 {
- return arrayLength(p);
+RWByteAddressBuffer arr : register(u0);
+uint f2(uint tint_array_length) {
+ return tint_array_length;
}
-fn f1(p : ptr<storage, array<u32>, read_write>) -> u32 {
- return f2(p);
+uint f1(uint tint_array_length) {
+ return f2(tint_array_length);
}
-fn f0(p : ptr<storage, array<u32>, read_write>) -> u32 {
- return f1(p);
+uint f0(uint tint_array_length) {
+ return f1(tint_array_length);
}
-@compute @workgroup_size(1)
-fn main() {
- arr[0] = f0(&(arr));
-}
-
-Failed to generate: :25:31 error: call: operand is undefined
- %15:u32 = call %f0, %arr, undef
- ^^^^^
-
-:23:3 note: in block
- $B5: {
- ^^^
-
-note: # Disassembly
-$B1: { # root
- %arr:ptr<storage, array<u32>, read_write> = var @binding_point(0, 0)
-}
-
-%f2 = func(%p:ptr<storage, array<u32>, read_write>, %tint_array_length:u32):u32 {
- $B2: {
- ret %tint_array_length
- }
-}
-%f1 = func(%p_1:ptr<storage, array<u32>, read_write>, %tint_array_length_1:u32):u32 { # %p_1: 'p', %tint_array_length_1: 'tint_array_length'
- $B3: {
- %8:u32 = call %f2, %p_1, %tint_array_length_1
- ret %8
- }
-}
-%f0 = func(%p_2:ptr<storage, array<u32>, read_write>, %tint_array_length_2:u32):u32 { # %p_2: 'p', %tint_array_length_2: 'tint_array_length'
- $B4: {
- %12:u32 = call %f1, %p_2, %tint_array_length_2
- ret %12
- }
-}
-%main = @compute @workgroup_size(1, 1, 1) func():void {
- $B5: {
- %14:ptr<storage, u32, read_write> = access %arr, 0i
- %15:u32 = call %f0, %arr, undef
- store %14, %15
- ret
- }
+[numthreads(1, 1, 1)]
+void main() {
+ uint v = 0u;
+ arr.GetDimensions(v);
+ arr.Store(0u, f0((v / 4u)));
}
diff --git a/test/tint/bug/tint/2177.wgsl.expected.ir.fxc.hlsl b/test/tint/bug/tint/2177.wgsl.expected.ir.fxc.hlsl
index e728ed8..af525b9 100644
--- a/test/tint/bug/tint/2177.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/bug/tint/2177.wgsl.expected.ir.fxc.hlsl
@@ -1,61 +1,21 @@
-SKIP: FAILED
-
-@binding(0) @group(0) var<storage, read_write> arr : array<u32>;
-
-fn f2(p : ptr<storage, array<u32>, read_write>) -> u32 {
- return arrayLength(p);
+RWByteAddressBuffer arr : register(u0);
+uint f2(uint tint_array_length) {
+ return tint_array_length;
}
-fn f1(p : ptr<storage, array<u32>, read_write>) -> u32 {
- return f2(p);
+uint f1(uint tint_array_length) {
+ return f2(tint_array_length);
}
-fn f0(p : ptr<storage, array<u32>, read_write>) -> u32 {
- return f1(p);
+uint f0(uint tint_array_length) {
+ return f1(tint_array_length);
}
-@compute @workgroup_size(1)
-fn main() {
- arr[0] = f0(&(arr));
-}
-
-Failed to generate: :25:31 error: call: operand is undefined
- %15:u32 = call %f0, %arr, undef
- ^^^^^
-
-:23:3 note: in block
- $B5: {
- ^^^
-
-note: # Disassembly
-$B1: { # root
- %arr:ptr<storage, array<u32>, read_write> = var @binding_point(0, 0)
-}
-
-%f2 = func(%p:ptr<storage, array<u32>, read_write>, %tint_array_length:u32):u32 {
- $B2: {
- ret %tint_array_length
- }
-}
-%f1 = func(%p_1:ptr<storage, array<u32>, read_write>, %tint_array_length_1:u32):u32 { # %p_1: 'p', %tint_array_length_1: 'tint_array_length'
- $B3: {
- %8:u32 = call %f2, %p_1, %tint_array_length_1
- ret %8
- }
-}
-%f0 = func(%p_2:ptr<storage, array<u32>, read_write>, %tint_array_length_2:u32):u32 { # %p_2: 'p', %tint_array_length_2: 'tint_array_length'
- $B4: {
- %12:u32 = call %f1, %p_2, %tint_array_length_2
- ret %12
- }
-}
-%main = @compute @workgroup_size(1, 1, 1) func():void {
- $B5: {
- %14:ptr<storage, u32, read_write> = access %arr, 0i
- %15:u32 = call %f0, %arr, undef
- store %14, %15
- ret
- }
+[numthreads(1, 1, 1)]
+void main() {
+ uint v = 0u;
+ arr.GetDimensions(v);
+ arr.Store(0u, f0((v / 4u)));
}
diff --git a/test/tint/bug/tint/948.wgsl.expected.ir.dxc.hlsl b/test/tint/bug/tint/948.wgsl.expected.ir.dxc.hlsl
index 49d2f50..dfc20b3 100644
--- a/test/tint/bug/tint/948.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/bug/tint/948.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,243 @@
-SKIP: FAILED
+struct main_out {
+ float4 glFragColor_1;
+};
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+struct main_outputs {
+ float4 main_out_glFragColor_1 : SV_Target0;
+};
+
+struct main_inputs {
+ float3 vPosition_param : TEXCOORD0;
+ float2 vUV_param : TEXCOORD1;
+ float2 tUV_param : TEXCOORD2;
+ float2 stageUnits_1_param : TEXCOORD3;
+ float2 levelUnits_param : TEXCOORD4;
+ float2 tileID_1_param : TEXCOORD5;
+};
+
+
+cbuffer cbuffer_x_20 : register(b9, space2) {
+ uint4 x_20[8];
+};
+Texture2D<float4> frameMapTexture : register(t3, space2);
+SamplerState frameMapSampler : register(s2, space2);
+static float2 tUV = (0.0f).xx;
+Texture2D<float4> tileMapsTexture0 : register(t5, space2);
+SamplerState tileMapsSampler : register(s4, space2);
+Texture2D<float4> tileMapsTexture1 : register(t6, space2);
+Texture2D<float4> animationMapTexture : register(t8, space2);
+SamplerState animationMapSampler : register(s7, space2);
+static float mt = 0.0f;
+Texture2D<float4> spriteSheetTexture : register(t1, space2);
+SamplerState spriteSheetSampler : register(s0, space2);
+static float4 glFragColor = (0.0f).xxxx;
+static float2 tileID_1 = (0.0f).xx;
+static float2 levelUnits = (0.0f).xx;
+static float2 stageUnits_1 = (0.0f).xx;
+static float3 vPosition = (0.0f).xxx;
+static float2 vUV = (0.0f).xx;
+float4x4 getFrameData_f1_(inout float frameID) {
+ float fX = 0.0f;
+ float x_15 = frameID;
+ float x_25 = asfloat(x_20[6u].w);
+ fX = (x_15 / x_25);
+ float x_37 = fX;
+ Texture2D<float4> v = frameMapTexture;
+ SamplerState v_1 = frameMapSampler;
+ float4 x_40 = v.SampleBias(v_1, float2(x_37, 0.0f), 0.0f);
+ float x_44 = fX;
+ Texture2D<float4> v_2 = frameMapTexture;
+ SamplerState v_3 = frameMapSampler;
+ float4 x_47 = v_2.SampleBias(v_3, float2(x_44, 0.25f), 0.0f);
+ float x_51 = fX;
+ Texture2D<float4> v_4 = frameMapTexture;
+ SamplerState v_5 = frameMapSampler;
+ float4 x_54 = v_4.SampleBias(v_5, float2(x_51, 0.5f), 0.0f);
+ float4 v_6 = float4(x_40[0u], x_40[1u], x_40[2u], x_40[3u]);
+ float4 v_7 = float4(x_47[0u], x_47[1u], x_47[2u], x_47[3u]);
+ return float4x4(v_6, v_7, float4(x_54[0u], x_54[1u], x_54[2u], x_54[3u]), (0.0f).xxxx);
+}
+
+void main_1() {
+ float4 color = (0.0f).xxxx;
+ float2 tileUV = (0.0f).xx;
+ float2 tileID = (0.0f).xx;
+ float2 sheetUnits = (0.0f).xx;
+ float spriteUnits = 0.0f;
+ float2 stageUnits = (0.0f).xx;
+ int i = 0;
+ float frameID_1 = 0.0f;
+ float4 animationData = (0.0f).xxxx;
+ float f = 0.0f;
+ float4x4 frameData = float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
+ float param = 0.0f;
+ float2 frameSize = (0.0f).xx;
+ float2 offset_1 = (0.0f).xx;
+ float2 ratio = (0.0f).xx;
+ float4 nc = (0.0f).xxxx;
+ float alpha = 0.0f;
+ float3 mixed = (0.0f).xxx;
+ color = (0.0f).xxxx;
+ float2 x_86 = tUV;
+ tileUV = frac(x_86);
+ float x_91 = tileUV.y;
+ tileUV[1u] = (1.0f - x_91);
+ float2 x_95 = tUV;
+ tileID = floor(x_95);
+ float2 x_101 = asfloat(x_20[6u].xy);
+ sheetUnits = ((1.0f).xx / x_101);
+ float x_106 = asfloat(x_20[6u].w);
+ spriteUnits = (1.0f / x_106);
+ float2 x_111 = asfloat(x_20[5u].zw);
+ stageUnits = ((1.0f).xx / x_111);
+ i = 0;
+ {
+ while(true) {
+ int x_122 = i;
+ if ((x_122 < 2)) {
+ } else {
+ break;
+ }
+ int x_126 = i;
+ switch(x_126) {
+ case 1:
+ {
+ float2 x_150 = tileID;
+ float2 x_154 = asfloat(x_20[5u].zw);
+ float4 x_156 = tileMapsTexture1.SampleBias(tileMapsSampler, ((x_150 + (0.5f).xx) / x_154), 0.0f);
+ frameID_1 = x_156[0u];
+ break;
+ }
+ case 0:
+ {
+ float2 x_136 = tileID;
+ float2 x_140 = asfloat(x_20[5u].zw);
+ float4 x_142 = tileMapsTexture0.SampleBias(tileMapsSampler, ((x_136 + (0.5f).xx) / x_140), 0.0f);
+ frameID_1 = x_142[0u];
+ break;
+ }
+ default:
+ {
+ break;
+ }
+ }
+ float x_166 = frameID_1;
+ float x_169 = asfloat(x_20[6u].w);
+ Texture2D<float4> v_8 = animationMapTexture;
+ SamplerState v_9 = animationMapSampler;
+ float4 x_172 = v_8.SampleBias(v_9, float2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f);
+ animationData = x_172;
+ float x_174 = animationData.y;
+ if ((x_174 > 0.0f)) {
+ float x_181 = asfloat(x_20[0u].x);
+ float x_184 = animationData.z;
+ float v_10 = ((x_181 * x_184) / 1.0f);
+ float v_11 = floor(v_10);
+ mt = (((x_181 * x_184) - (((v_10 < 0.0f)) ? (ceil(v_10)) : (v_11))) * 1.0f);
+ f = 0.0f;
+ {
+ while(true) {
+ float x_193 = f;
+ if ((x_193 < 8.0f)) {
+ } else {
+ break;
+ }
+ float x_197 = animationData.y;
+ float x_198 = mt;
+ if ((x_197 > x_198)) {
+ float x_203 = animationData.x;
+ frameID_1 = x_203;
+ break;
+ }
+ float x_208 = frameID_1;
+ float x_211 = asfloat(x_20[6u].w);
+ float x_214 = f;
+ float4 x_217 = (0.0f).xxxx;
+ animationData = x_217;
+ {
+ float x_218 = f;
+ f = (x_218 + 1.0f);
+ }
+ continue;
+ }
+ }
+ }
+ float x_222 = frameID_1;
+ param = (x_222 + 0.5f);
+ float4x4 x_225 = getFrameData_f1_(param);
+ frameData = x_225;
+ float4 x_228 = frameData[0];
+ float2 x_231 = asfloat(x_20[6u].xy);
+ frameSize = (float2(x_228[3u], x_228[2u]) / x_231);
+ float4 x_235 = frameData[0];
+ float2 x_237 = sheetUnits;
+ offset_1 = (float2(x_235[0u], x_235[1u]) * x_237);
+ float4 x_241 = frameData[2];
+ float4 x_244 = frameData[0];
+ float2 v_12 = float2(x_241[0u], x_241[1u]);
+ ratio = (v_12 / float2(x_244[3u], x_244[2u]));
+ float x_248 = frameData[2].z;
+ if ((x_248 == 1.0f)) {
+ float2 x_252 = tileUV;
+ tileUV = float2(x_252[1u], x_252[0u]);
+ }
+ int x_254 = i;
+ if ((x_254 == 0)) {
+ float2 x_263 = tileUV;
+ float2 x_264 = frameSize;
+ float2 x_266 = offset_1;
+ float4 x_268 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_263 * x_264) + x_266));
+ color = x_268;
+ } else {
+ float2 x_274 = tileUV;
+ float2 x_275 = frameSize;
+ float2 x_277 = offset_1;
+ float4 x_279 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_274 * x_275) + x_277));
+ nc = x_279;
+ float x_283 = color.w;
+ float x_285 = nc.w;
+ alpha = min((x_283 + x_285), 1.0f);
+ float4 x_290 = color;
+ float4 x_292 = nc;
+ float x_295 = nc.w;
+ float3 v_13 = float3(x_290[0u], x_290[1u], x_290[2u]);
+ float3 v_14 = float3(x_292[0u], x_292[1u], x_292[2u]);
+ mixed = lerp(v_13, v_14, float3(x_295, x_295, x_295));
+ float3 x_298 = mixed;
+ float x_299 = alpha;
+ color = float4(x_298[0u], x_298[1u], x_298[2u], x_299);
+ }
+ {
+ int x_304 = i;
+ i = (x_304 + 1);
+ }
+ continue;
+ }
+ }
+ float3 x_310 = asfloat(x_20[7u].xyz);
+ float4 x_311 = color;
+ float3 x_313 = (float3(x_311[0u], x_311[1u], x_311[2u]) * x_310);
+ float4 x_314 = color;
+ color = float4(x_313[0u], x_313[1u], x_313[2u], x_314[3u]);
+ float4 x_318 = color;
+ glFragColor = x_318;
+}
+
+main_out main_inner(float2 tUV_param, float2 tileID_1_param, float2 levelUnits_param, float2 stageUnits_1_param, float3 vPosition_param, float2 vUV_param) {
+ tUV = tUV_param;
+ tileID_1 = tileID_1_param;
+ levelUnits = levelUnits_param;
+ stageUnits_1 = stageUnits_1_param;
+ vPosition = vPosition_param;
+ vUV = vUV_param;
+ main_1();
+ main_out v_15 = {glFragColor};
+ return v_15;
+}
+
+main_outputs main(main_inputs inputs) {
+ main_out v_16 = main_inner(inputs.tUV_param, inputs.tileID_1_param, inputs.levelUnits_param, inputs.stageUnits_1_param, inputs.vPosition_param, inputs.vUV_param);
+ main_outputs v_17 = {v_16.glFragColor_1};
+ return v_17;
+}
+
diff --git a/test/tint/bug/tint/948.wgsl.expected.ir.fxc.hlsl b/test/tint/bug/tint/948.wgsl.expected.ir.fxc.hlsl
index 49d2f50..dfc20b3 100644
--- a/test/tint/bug/tint/948.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/bug/tint/948.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,243 @@
-SKIP: FAILED
+struct main_out {
+ float4 glFragColor_1;
+};
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+struct main_outputs {
+ float4 main_out_glFragColor_1 : SV_Target0;
+};
+
+struct main_inputs {
+ float3 vPosition_param : TEXCOORD0;
+ float2 vUV_param : TEXCOORD1;
+ float2 tUV_param : TEXCOORD2;
+ float2 stageUnits_1_param : TEXCOORD3;
+ float2 levelUnits_param : TEXCOORD4;
+ float2 tileID_1_param : TEXCOORD5;
+};
+
+
+cbuffer cbuffer_x_20 : register(b9, space2) {
+ uint4 x_20[8];
+};
+Texture2D<float4> frameMapTexture : register(t3, space2);
+SamplerState frameMapSampler : register(s2, space2);
+static float2 tUV = (0.0f).xx;
+Texture2D<float4> tileMapsTexture0 : register(t5, space2);
+SamplerState tileMapsSampler : register(s4, space2);
+Texture2D<float4> tileMapsTexture1 : register(t6, space2);
+Texture2D<float4> animationMapTexture : register(t8, space2);
+SamplerState animationMapSampler : register(s7, space2);
+static float mt = 0.0f;
+Texture2D<float4> spriteSheetTexture : register(t1, space2);
+SamplerState spriteSheetSampler : register(s0, space2);
+static float4 glFragColor = (0.0f).xxxx;
+static float2 tileID_1 = (0.0f).xx;
+static float2 levelUnits = (0.0f).xx;
+static float2 stageUnits_1 = (0.0f).xx;
+static float3 vPosition = (0.0f).xxx;
+static float2 vUV = (0.0f).xx;
+float4x4 getFrameData_f1_(inout float frameID) {
+ float fX = 0.0f;
+ float x_15 = frameID;
+ float x_25 = asfloat(x_20[6u].w);
+ fX = (x_15 / x_25);
+ float x_37 = fX;
+ Texture2D<float4> v = frameMapTexture;
+ SamplerState v_1 = frameMapSampler;
+ float4 x_40 = v.SampleBias(v_1, float2(x_37, 0.0f), 0.0f);
+ float x_44 = fX;
+ Texture2D<float4> v_2 = frameMapTexture;
+ SamplerState v_3 = frameMapSampler;
+ float4 x_47 = v_2.SampleBias(v_3, float2(x_44, 0.25f), 0.0f);
+ float x_51 = fX;
+ Texture2D<float4> v_4 = frameMapTexture;
+ SamplerState v_5 = frameMapSampler;
+ float4 x_54 = v_4.SampleBias(v_5, float2(x_51, 0.5f), 0.0f);
+ float4 v_6 = float4(x_40[0u], x_40[1u], x_40[2u], x_40[3u]);
+ float4 v_7 = float4(x_47[0u], x_47[1u], x_47[2u], x_47[3u]);
+ return float4x4(v_6, v_7, float4(x_54[0u], x_54[1u], x_54[2u], x_54[3u]), (0.0f).xxxx);
+}
+
+void main_1() {
+ float4 color = (0.0f).xxxx;
+ float2 tileUV = (0.0f).xx;
+ float2 tileID = (0.0f).xx;
+ float2 sheetUnits = (0.0f).xx;
+ float spriteUnits = 0.0f;
+ float2 stageUnits = (0.0f).xx;
+ int i = 0;
+ float frameID_1 = 0.0f;
+ float4 animationData = (0.0f).xxxx;
+ float f = 0.0f;
+ float4x4 frameData = float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
+ float param = 0.0f;
+ float2 frameSize = (0.0f).xx;
+ float2 offset_1 = (0.0f).xx;
+ float2 ratio = (0.0f).xx;
+ float4 nc = (0.0f).xxxx;
+ float alpha = 0.0f;
+ float3 mixed = (0.0f).xxx;
+ color = (0.0f).xxxx;
+ float2 x_86 = tUV;
+ tileUV = frac(x_86);
+ float x_91 = tileUV.y;
+ tileUV[1u] = (1.0f - x_91);
+ float2 x_95 = tUV;
+ tileID = floor(x_95);
+ float2 x_101 = asfloat(x_20[6u].xy);
+ sheetUnits = ((1.0f).xx / x_101);
+ float x_106 = asfloat(x_20[6u].w);
+ spriteUnits = (1.0f / x_106);
+ float2 x_111 = asfloat(x_20[5u].zw);
+ stageUnits = ((1.0f).xx / x_111);
+ i = 0;
+ {
+ while(true) {
+ int x_122 = i;
+ if ((x_122 < 2)) {
+ } else {
+ break;
+ }
+ int x_126 = i;
+ switch(x_126) {
+ case 1:
+ {
+ float2 x_150 = tileID;
+ float2 x_154 = asfloat(x_20[5u].zw);
+ float4 x_156 = tileMapsTexture1.SampleBias(tileMapsSampler, ((x_150 + (0.5f).xx) / x_154), 0.0f);
+ frameID_1 = x_156[0u];
+ break;
+ }
+ case 0:
+ {
+ float2 x_136 = tileID;
+ float2 x_140 = asfloat(x_20[5u].zw);
+ float4 x_142 = tileMapsTexture0.SampleBias(tileMapsSampler, ((x_136 + (0.5f).xx) / x_140), 0.0f);
+ frameID_1 = x_142[0u];
+ break;
+ }
+ default:
+ {
+ break;
+ }
+ }
+ float x_166 = frameID_1;
+ float x_169 = asfloat(x_20[6u].w);
+ Texture2D<float4> v_8 = animationMapTexture;
+ SamplerState v_9 = animationMapSampler;
+ float4 x_172 = v_8.SampleBias(v_9, float2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f);
+ animationData = x_172;
+ float x_174 = animationData.y;
+ if ((x_174 > 0.0f)) {
+ float x_181 = asfloat(x_20[0u].x);
+ float x_184 = animationData.z;
+ float v_10 = ((x_181 * x_184) / 1.0f);
+ float v_11 = floor(v_10);
+ mt = (((x_181 * x_184) - (((v_10 < 0.0f)) ? (ceil(v_10)) : (v_11))) * 1.0f);
+ f = 0.0f;
+ {
+ while(true) {
+ float x_193 = f;
+ if ((x_193 < 8.0f)) {
+ } else {
+ break;
+ }
+ float x_197 = animationData.y;
+ float x_198 = mt;
+ if ((x_197 > x_198)) {
+ float x_203 = animationData.x;
+ frameID_1 = x_203;
+ break;
+ }
+ float x_208 = frameID_1;
+ float x_211 = asfloat(x_20[6u].w);
+ float x_214 = f;
+ float4 x_217 = (0.0f).xxxx;
+ animationData = x_217;
+ {
+ float x_218 = f;
+ f = (x_218 + 1.0f);
+ }
+ continue;
+ }
+ }
+ }
+ float x_222 = frameID_1;
+ param = (x_222 + 0.5f);
+ float4x4 x_225 = getFrameData_f1_(param);
+ frameData = x_225;
+ float4 x_228 = frameData[0];
+ float2 x_231 = asfloat(x_20[6u].xy);
+ frameSize = (float2(x_228[3u], x_228[2u]) / x_231);
+ float4 x_235 = frameData[0];
+ float2 x_237 = sheetUnits;
+ offset_1 = (float2(x_235[0u], x_235[1u]) * x_237);
+ float4 x_241 = frameData[2];
+ float4 x_244 = frameData[0];
+ float2 v_12 = float2(x_241[0u], x_241[1u]);
+ ratio = (v_12 / float2(x_244[3u], x_244[2u]));
+ float x_248 = frameData[2].z;
+ if ((x_248 == 1.0f)) {
+ float2 x_252 = tileUV;
+ tileUV = float2(x_252[1u], x_252[0u]);
+ }
+ int x_254 = i;
+ if ((x_254 == 0)) {
+ float2 x_263 = tileUV;
+ float2 x_264 = frameSize;
+ float2 x_266 = offset_1;
+ float4 x_268 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_263 * x_264) + x_266));
+ color = x_268;
+ } else {
+ float2 x_274 = tileUV;
+ float2 x_275 = frameSize;
+ float2 x_277 = offset_1;
+ float4 x_279 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_274 * x_275) + x_277));
+ nc = x_279;
+ float x_283 = color.w;
+ float x_285 = nc.w;
+ alpha = min((x_283 + x_285), 1.0f);
+ float4 x_290 = color;
+ float4 x_292 = nc;
+ float x_295 = nc.w;
+ float3 v_13 = float3(x_290[0u], x_290[1u], x_290[2u]);
+ float3 v_14 = float3(x_292[0u], x_292[1u], x_292[2u]);
+ mixed = lerp(v_13, v_14, float3(x_295, x_295, x_295));
+ float3 x_298 = mixed;
+ float x_299 = alpha;
+ color = float4(x_298[0u], x_298[1u], x_298[2u], x_299);
+ }
+ {
+ int x_304 = i;
+ i = (x_304 + 1);
+ }
+ continue;
+ }
+ }
+ float3 x_310 = asfloat(x_20[7u].xyz);
+ float4 x_311 = color;
+ float3 x_313 = (float3(x_311[0u], x_311[1u], x_311[2u]) * x_310);
+ float4 x_314 = color;
+ color = float4(x_313[0u], x_313[1u], x_313[2u], x_314[3u]);
+ float4 x_318 = color;
+ glFragColor = x_318;
+}
+
+main_out main_inner(float2 tUV_param, float2 tileID_1_param, float2 levelUnits_param, float2 stageUnits_1_param, float3 vPosition_param, float2 vUV_param) {
+ tUV = tUV_param;
+ tileID_1 = tileID_1_param;
+ levelUnits = levelUnits_param;
+ stageUnits_1 = stageUnits_1_param;
+ vPosition = vPosition_param;
+ vUV = vUV_param;
+ main_1();
+ main_out v_15 = {glFragColor};
+ return v_15;
+}
+
+main_outputs main(main_inputs inputs) {
+ main_out v_16 = main_inner(inputs.tUV_param, inputs.tileID_1_param, inputs.levelUnits_param, inputs.stageUnits_1_param, inputs.vPosition_param, inputs.vUV_param);
+ main_outputs v_17 = {v_16.glFragColor_1};
+ return v_17;
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl
index 49d2f50..585f53b 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_1c707e() {
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float3((1.0f).xx, float(1u)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_1c707e()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl
index 49d2f50..585f53b 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_1c707e() {
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float3((1.0f).xx, float(1u)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_1c707e()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl
index 49d2f50..ab7028c 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCube<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_53b9f7() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xxx, 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_53b9f7()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl
index 49d2f50..ab7028c 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCube<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_53b9f7() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xxx, 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_53b9f7()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl
index 49d2f50..c10f455 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture3D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_594824() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xxx, 1.0f, (1).xxx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_594824()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl
index 49d2f50..32690b5 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_6a9113() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xx, 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_6a9113()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl
index 49d2f50..32690b5 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_6a9113() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xx, 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_6a9113()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl
index 49d2f50..bb83d78 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_80e579() {
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float3((1.0f).xx, float(1)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_80e579()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl
index 49d2f50..bb83d78 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_80e579() {
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float3((1.0f).xx, float(1)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_80e579()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl
index 49d2f50..3c5d861 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_87915c() {
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float3((1.0f).xx, float(1u)), 1.0f, (1).xx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_87915c()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl
index 49d2f50..11e329a 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_9dbb51() {
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float3((1.0f).xx, float(1)), 1.0f, (1).xx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_9dbb51()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl
index 49d2f50..7757092 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_a161cf() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xx, 1.0f, (1).xx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_a161cf()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl
index 49d2f50..e7a7065 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_c6953d() {
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float4((1.0f).xxx, float(1u)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_c6953d()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl
index 49d2f50..e7a7065 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_c6953d() {
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float4((1.0f).xxx, float(1u)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_c6953d()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl
index 49d2f50..fe38756 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture3D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_d3fa1b() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xxx, 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_d3fa1b()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl
index 49d2f50..fe38756 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,13 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture3D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_d3fa1b() {
+ float4 res = arg_0.SampleBias(arg_1, (1.0f).xxx, 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_d3fa1b()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl
index 49d2f50..f6ab88f 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_eed7c4() {
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float4((1.0f).xxx, float(1)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_eed7c4()));
+}
+
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl
index 49d2f50..f6ab88f 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_eed7c4() {
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float4 res = v.SampleBias(v_1, float4((1.0f).xxx, float(1)), 1.0f);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_eed7c4()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl
index 49d2f50..db4c1bd 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_1c707e() {
+ float2 arg_2 = (1.0f).xx;
+ uint arg_3 = 1u;
+ float arg_4 = 1.0f;
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float2 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float3(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_1c707e()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl
index 49d2f50..db4c1bd 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_1c707e() {
+ float2 arg_2 = (1.0f).xx;
+ uint arg_3 = 1u;
+ float arg_4 = 1.0f;
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float2 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float3(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_1c707e()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl
index 49d2f50..b33a566 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCube<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_53b9f7() {
+ float3 arg_2 = (1.0f).xxx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_53b9f7()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl
index 49d2f50..b33a566 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCube<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_53b9f7() {
+ float3 arg_2 = (1.0f).xxx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_53b9f7()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl
index 49d2f50..addcca7 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture3D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_594824() {
+ float3 arg_2 = (1.0f).xxx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3, (1).xxx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_594824()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl
index 49d2f50..62eca0e 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_6a9113() {
+ float2 arg_2 = (1.0f).xx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_6a9113()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl
index 49d2f50..62eca0e 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_6a9113() {
+ float2 arg_2 = (1.0f).xx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_6a9113()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl
index 49d2f50..5efe37c 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_80e579() {
+ float2 arg_2 = (1.0f).xx;
+ int arg_3 = 1;
+ float arg_4 = 1.0f;
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float2 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float3(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_80e579()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl
index 49d2f50..5efe37c 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_80e579() {
+ float2 arg_2 = (1.0f).xx;
+ int arg_3 = 1;
+ float arg_4 = 1.0f;
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float2 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float3(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_80e579()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl
index 49d2f50..2c263bb 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_87915c() {
+ float2 arg_2 = (1.0f).xx;
+ uint arg_3 = 1u;
+ float arg_4 = 1.0f;
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float2 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float3(v_2, float(arg_3)), v_3, (1).xx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_87915c()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl
index 49d2f50..ec857ec 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2DArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_9dbb51() {
+ float2 arg_2 = (1.0f).xx;
+ int arg_3 = 1;
+ float arg_4 = 1.0f;
+ Texture2DArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float2 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float3(v_2, float(arg_3)), v_3, (1).xx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_9dbb51()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl
index 49d2f50..897054f 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture2D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_a161cf() {
+ float2 arg_2 = (1.0f).xx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3, (1).xx);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_a161cf()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl
index 49d2f50..5731cea 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_c6953d() {
+ float3 arg_2 = (1.0f).xxx;
+ uint arg_3 = 1u;
+ float arg_4 = 1.0f;
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float3 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float4(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_c6953d()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl
index 49d2f50..5731cea 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_c6953d() {
+ float3 arg_2 = (1.0f).xxx;
+ uint arg_3 = 1u;
+ float arg_4 = 1.0f;
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float3 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float4(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_c6953d()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl
index 49d2f50..23a0213 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture3D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_d3fa1b() {
+ float3 arg_2 = (1.0f).xxx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_d3fa1b()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl
index 49d2f50..23a0213 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,15 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+Texture3D<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_d3fa1b() {
+ float3 arg_2 = (1.0f).xxx;
+ float arg_3 = 1.0f;
+ float4 res = arg_0.SampleBias(arg_1, arg_2, arg_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_d3fa1b()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl
index 49d2f50..fd0a9b9 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.dxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_eed7c4() {
+ float3 arg_2 = (1.0f).xxx;
+ int arg_3 = 1;
+ float arg_4 = 1.0f;
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float3 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float4(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_eed7c4()));
+}
+
diff --git a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl
index 49d2f50..fd0a9b9 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.fxc.hlsl
@@ -1,9 +1,20 @@
-SKIP: FAILED
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
+RWByteAddressBuffer prevent_dce : register(u0);
+TextureCubeArray<float4> arg_0 : register(t0, space1);
+SamplerState arg_1 : register(s1, space1);
+float4 textureSampleBias_eed7c4() {
+ float3 arg_2 = (1.0f).xxx;
+ int arg_3 = 1;
+ float arg_4 = 1.0f;
+ TextureCubeArray<float4> v = arg_0;
+ SamplerState v_1 = arg_1;
+ float3 v_2 = arg_2;
+ float v_3 = arg_4;
+ float4 res = v.SampleBias(v_1, float4(v_2, float(arg_3)), v_3);
+ return res;
+}
+
+void fragment_main() {
+ prevent_dce.Store4(0u, asuint(textureSampleBias_eed7c4()));
+}
+
diff --git a/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.dxc.hlsl b/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.dxc.hlsl
index 361510b..3fe0ad3 100644
--- a/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.ir.dxc.hlsl
@@ -2,7 +2,7 @@
cbuffer cbuffer_data : register(b0) {
uint4 data[2];
};
-vector<float16_t, 4> tint_bitcast_to_f16_1(uint4 src) {
+vector<float16_t, 4> tint_bitcast_to_f16(uint4 src) {
uint4 v = src;
uint4 mask = (65535u).xxxx;
uint4 shift = (16u).xxxx;
@@ -14,7 +14,7 @@
return vector<float16_t, 4>(v_1, v_2, v_3, float16_t(t_high.y));
}
-vector<float16_t, 2> tint_bitcast_to_f16(uint src) {
+vector<float16_t, 2> tint_bitcast_to_f16_1(uint src) {
uint v = src;
float t_low = f16tof32((v & 65535u));
float t_high = f16tof32(((v >> 16u) & 65535u));
@@ -24,15 +24,15 @@
matrix<float16_t, 3, 2> v_5(uint start_byte_offset) {
uint4 v_6 = data[(start_byte_offset / 16u)];
- vector<float16_t, 2> v_7 = tint_bitcast_to_f16((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_6.z) : (v_6.x)));
+ vector<float16_t, 2> v_7 = tint_bitcast_to_f16_1((((((start_byte_offset % 16u) / 4u) == 2u)) ? (v_6.z) : (v_6.x)));
uint4 v_8 = data[((4u + start_byte_offset) / 16u)];
- vector<float16_t, 2> v_9 = tint_bitcast_to_f16(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_8.z) : (v_8.x)));
+ vector<float16_t, 2> v_9 = tint_bitcast_to_f16_1(((((((4u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_8.z) : (v_8.x)));
uint4 v_10 = data[((8u + start_byte_offset) / 16u)];
- return matrix<float16_t, 3, 2>(v_7, v_9, tint_bitcast_to_f16(((((((8u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_10.z) : (v_10.x))));
+ return matrix<float16_t, 3, 2>(v_7, v_9, tint_bitcast_to_f16_1(((((((8u + start_byte_offset) % 16u) / 4u) == 2u)) ? (v_10.z) : (v_10.x))));
}
void main() {
matrix<float16_t, 3, 2> v_11 = v_5(0u);
- vector<float16_t, 2> x = mul(tint_bitcast_to_f16_1(data[1u]).xyz, v_11);
+ vector<float16_t, 2> x = mul(tint_bitcast_to_f16(data[1u]).xyz, v_11);
}
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.dxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.dxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.fxc.hlsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.fxc.hlsl
deleted file mode 100644
index 49d2f50..0000000
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-..\..\src\tint\lang\hlsl\writer\printer\printer.cc:1010 internal compiler error: TINT_UNREACHABLE unhandled: textureSampleBias
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************