mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 03:11:29 +00:00
Change-Id: Iaf31627798a83625a075e529aa3886cf84b164b1 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/52040 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
13 lines
203 B
Plaintext
13 lines
203 B
Plaintext
SKIP: crbug.com/tint/816
|
|
|
|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
kernel void tint_symbol() {
|
|
float3 v = float3(1.0f, 2.0f, 3.0f);
|
|
thread float* const f = &(v.y);
|
|
*(f) = 5.0f;
|
|
return;
|
|
}
|
|
|