mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-15 08:06:19 +00:00
tint/resolver: Allow texture 'offset' to be const-expr
This allows the value to be declared in a `const` expression, and to use arithmetic. Fixed: tint:1636 Change-Id: Ie641a9d4183429c79c91605cd4df78f569be3579 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105623 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
d5139b4463
commit
559a248233
@@ -26,7 +26,8 @@
|
||||
// fn textureGather(texture: texture_depth_2d, sampler: sampler, coords: vec2<f32>, @const offset: vec2<i32>) -> vec4<f32>
|
||||
fn textureGather_1f7f6b() {
|
||||
var arg_2 = vec2<f32>();
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, vec2<i32>());
|
||||
const arg_3 = vec2<i32>();
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
|
||||
fn textureGather_1f7f6b() {
|
||||
var arg_2 = vec2<f32>();
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, vec2<i32>());
|
||||
const arg_3 = vec2<i32>();
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32) -> vec4<f32>
|
||||
fn textureGather_22e930() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_22e930() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d_array<u32>, sampler: sampler, coords: vec2<f32>, array_index: i32) -> vec4<u32>
|
||||
fn textureGather_2cc066() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res: vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_2cc066() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res : vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_cube<f32>, sampler: sampler, coords: vec3<f32>) -> vec4<f32>
|
||||
fn textureGather_32c4e8() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var res: vec4<f32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_32c4e8() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var res : vec4<f32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_cube<u32>, sampler: sampler, coords: vec3<f32>) -> vec4<u32>
|
||||
fn textureGather_3b32cc() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var res: vec4<u32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res: vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_3b32cc() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var res : vec4<u32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res : vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d<u32>, sampler: sampler, coords: vec2<f32>, @const offset: vec2<i32>) -> vec4<u32>
|
||||
fn textureGather_49b07f() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res: vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res: vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_49b07f() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res : vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res : vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,11 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, @const offset: vec2<i32>) -> vec4<f32>
|
||||
fn textureGather_4b8103() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, arg_4, vec2<i32>());
|
||||
const arg_5 = vec2<i32>();
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_4b8103() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, arg_4, vec2<i32>());
|
||||
const arg_5 = vec2<i32>();
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>) -> vec4<f32>
|
||||
fn textureGather_5266da() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res: vec4<f32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_5266da() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res : vec4<f32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_cube<i32>, sampler: sampler, coords: vec3<f32>) -> vec4<i32>
|
||||
fn textureGather_5ba85f() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var res: vec4<i32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res: vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_5ba85f() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var res : vec4<i32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res : vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d<u32>, sampler: sampler, coords: vec2<f32>) -> vec4<u32>
|
||||
fn textureGather_5bd491() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res: vec4<u32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res: vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_5bd491() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res : vec4<u32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res : vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_cube_array<f32>, sampler: sampler, coords: vec3<f32>, array_index: i32) -> vec4<f32>
|
||||
fn textureGather_751f8a() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_751f8a() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d<i32>, sampler: sampler, coords: vec2<f32>, @const offset: vec2<i32>) -> vec4<i32>
|
||||
fn textureGather_7c3828() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res: vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res: vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_7c3828() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res : vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res : vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d_array<i32>, sampler: sampler, coords: vec2<f32>, array_index: i32) -> vec4<i32>
|
||||
fn textureGather_8b754c() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res: vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_8b754c() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res : vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, @const offset: vec2<i32>) -> vec4<f32>
|
||||
fn textureGather_af55b3() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res: vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_af55b3() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res : vec4<f32> = textureGather(1, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d<i32>, sampler: sampler, coords: vec2<f32>) -> vec4<i32>
|
||||
fn textureGather_bb3ac5() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res: vec4<i32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res: vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_bb3ac5() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var res : vec4<i32> = textureGather(1, arg_1, arg_2, arg_3);
|
||||
var res : vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_cube_array<i32>, sampler: sampler, coords: vec3<f32>, array_index: i32) -> vec4<i32>
|
||||
fn textureGather_c0640c() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res: vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_c0640c() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res : vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,11 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d_array<u32>, sampler: sampler, coords: vec2<f32>, array_index: i32, @const offset: vec2<i32>) -> vec4<u32>
|
||||
fn textureGather_d1f187() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, arg_4, vec2<i32>());
|
||||
const arg_5 = vec2<i32>();
|
||||
var res: vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_d1f187() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, arg_4, vec2<i32>());
|
||||
const arg_5 = vec2<i32>();
|
||||
var res : vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
fn textureGather_d90605() {
|
||||
var arg_2 = vec2<f32>();
|
||||
var arg_3 = 1;
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res: vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
fn textureGather_d90605() {
|
||||
var arg_2 = vec2<f32>();
|
||||
var arg_3 = 1;
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, vec2<i32>());
|
||||
const arg_4 = vec2<i32>();
|
||||
var res : vec4<f32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,11 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_2d_array<i32>, sampler: sampler, coords: vec2<f32>, array_index: i32, @const offset: vec2<i32>) -> vec4<i32>
|
||||
fn textureGather_e9d390() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, arg_4, vec2<i32>());
|
||||
const arg_5 = vec2<i32>();
|
||||
var res: vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_e9d390() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec2<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<i32> = textureGather(1, arg_1, arg_2, arg_3, arg_4, vec2<i32>());
|
||||
const arg_5 = vec2<i32>();
|
||||
var res : vec4<i32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
|
||||
// fn textureGather(@const component: i32, texture: texture_cube_array<u32>, sampler: sampler, coords: vec3<f32>, array_index: i32) -> vec4<u32>
|
||||
fn textureGather_f2c6e3() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var arg_4 = 1;
|
||||
var res: vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res: vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
@group(1) @binding(2) var arg_2 : sampler;
|
||||
|
||||
fn textureGather_f2c6e3() {
|
||||
const arg_0 = 1;
|
||||
var arg_3 = vec3<f32>();
|
||||
var arg_4 = 1;
|
||||
var res : vec4<u32> = textureGather(1, arg_1, arg_2, arg_3, arg_4);
|
||||
var res : vec4<u32> = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
||||
Reference in New Issue
Block a user