mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
Add end to end tests Fixed: tint:1026 Change-Id: I10813cbe6dc4f1bccddf9a8a29e3a249a364c051 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59663 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
10 lines
163 B
Plaintext
10 lines
163 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
kernel void f() {
|
|
float3 const a = float3(1.0f, 2.0f, 3.0f);
|
|
float3 const b = as_type<float3>(a);
|
|
return;
|
|
}
|
|
|