mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-01 12:11:34 +00:00
Bug: tint:1581 Change-Id: I6268e291540bc8c712f6925f0bcb82c5873359c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96902 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
20 lines
282 B
WebGPU Shading Language
20 lines
282 B
WebGPU Shading Language
fn atan2_c4be45() {
|
|
var res = atan2(vec4(1), vec4(1));
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
atan2_c4be45();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
atan2_c4be45();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
atan2_c4be45();
|
|
}
|