mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 09:35:57 +00:00
See: https://github.com/gpuweb/gpuweb/pull/1754 Fixed: tint:882 Change-Id: Ibb48722dbaf6a7b200158bb87bc71c282056ed5e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55259 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org>
22 lines
423 B
WebGPU Shading Language
22 lines
423 B
WebGPU Shading Language
[[group(1), binding(0)]] var arg_0 : texture_cube_array<u32>;
|
|
|
|
fn textureDimensions_d83c45() {
|
|
var res : vec2<i32> = textureDimensions(arg_0, 1);
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
textureDimensions_d83c45();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
textureDimensions_d83c45();
|
|
}
|
|
|
|
[[stage(compute)]]
|
|
fn compute_main() {
|
|
textureDimensions_d83c45();
|
|
}
|