[msl] Regenerate E2E expectations
Recent changes to the builtin template file change many test outputs.
Bug: 42251016
No-Try: true
Change-Id: Ie6f740c5cbe403352272c06f1ecf2259c9818c40
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193660
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: James Price <jrprice@google.com>
diff --git a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.msl
index 0dfd90d..ffbb13d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.msl
+++ b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.msl
@@ -4,27 +4,35 @@
texture3d<uint, access::read_write> arg_0;
device uint4* prevent_dce;
};
+struct VertexOutput {
+ float4 pos;
+ uint4 prevent_dce;
+};
struct vertex_main_outputs {
- float4 tint_symbol [[position]];
+ float4 VertexOutput_pos [[position]];
+ uint4 VertexOutput_prevent_dce [[user(locn0)]] [[flat]];
};
-void textureLoad_622278(tint_module_vars_struct tint_module_vars) {
+uint4 textureLoad_622278(tint_module_vars_struct tint_module_vars) {
uint4 res = tint_module_vars.arg_0.read(uint3(int3(1)));
- (*tint_module_vars.prevent_dce) = res;
-}
-float4 vertex_main_inner(tint_module_vars_struct tint_module_vars) {
- textureLoad_622278(tint_module_vars);
- return float4(0.0f);
+ return res;
}
fragment void fragment_main(texture3d<uint, access::read_write> arg_0 [[texture(0)]], device uint4* prevent_dce [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.arg_0=arg_0, .prevent_dce=prevent_dce};
- textureLoad_622278(tint_module_vars);
+ (*tint_module_vars.prevent_dce) = textureLoad_622278(tint_module_vars);
}
kernel void compute_main(texture3d<uint, access::read_write> arg_0 [[texture(0)]], device uint4* prevent_dce [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.arg_0=arg_0, .prevent_dce=prevent_dce};
- textureLoad_622278(tint_module_vars);
+ (*tint_module_vars.prevent_dce) = textureLoad_622278(tint_module_vars);
}
-vertex vertex_main_outputs vertex_main(texture3d<uint, access::read_write> arg_0 [[texture(0)]], device uint4* prevent_dce [[buffer(0)]]) {
- tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.arg_0=arg_0, .prevent_dce=prevent_dce};
- return vertex_main_outputs{.tint_symbol=vertex_main_inner(tint_module_vars)};
+VertexOutput vertex_main_inner(tint_module_vars_struct tint_module_vars) {
+ VertexOutput out = {};
+ out.pos = float4(0.0f);
+ out.prevent_dce = textureLoad_622278(tint_module_vars);
+ return out;
+}
+vertex vertex_main_outputs vertex_main(texture3d<uint, access::read_write> arg_0 [[texture(0)]]) {
+ tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.arg_0=arg_0};
+ VertexOutput const v = vertex_main_inner(tint_module_vars);
+ return vertex_main_outputs{.VertexOutput_pos=v.pos, .VertexOutput_prevent_dce=v.prevent_dce};
}