mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-01 20:21:23 +00:00
Change-Id: I2da181af0694f73ec4be07ed40e4e70d49b53583 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97140 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
13 lines
175 B
Plaintext
13 lines
175 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
void fwidth_b83ebb() {
|
|
float2 res = fwidth(float2(1.0f));
|
|
}
|
|
|
|
fragment void fragment_main() {
|
|
fwidth_b83ebb();
|
|
return;
|
|
}
|
|
|