test/tint: Fix e2e test generation for vec / mat
Where the intrinsic uses the fixed-dimension form of the types.
Change-Id: I1709382f762fe7394bbd88f428f09b15a1a8a643
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108642
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl
index 438cfbf..3392a3e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl
@@ -25,9 +25,9 @@
// fn textureSampleLevel(texture: texture_depth_2d, sampler: sampler, coords: vec2<f32>, level: u32, @const offset: vec2<i32>) -> f32
fn textureSampleLevel_f3b2c8() {
- var arg_2 = vec2<f32>();
+ var arg_2 = vec2<f32>(1.f);
var arg_3 = 1u;
- const arg_4 = vec2<i32>();
+ const arg_4 = vec2<i32>(1i);
var res: f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4);
}