dawn-cmake/test/tint/builtins/gen/var/fwidth/b83ebb.wgsl.expected.hlsl
Ben Clayton c0af5c5c9c tint: Add builtin tests for arguments passed by var
Change-Id: I81b69d23e40675d7f525e6369afec9aa0659d043
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92321
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-02 14:36:10 +00:00

10 lines
138 B
HLSL

void fwidth_b83ebb() {
float2 arg_0 = (0.0f).xx;
float2 res = fwidth(arg_0);
}
void fragment_main() {
fwidth_b83ebb();
return;
}