mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-28 10:11:33 +00:00
Fixed: tint:1453 Fixed: tint:1543 Change-Id: Idb5af752d7a3bb9e181cc47430ad4ddfb707873d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108440 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
11 lines
221 B
Plaintext
11 lines
221 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
kernel void f() {
|
|
int3 const a = int3(1, 2, 3);
|
|
uint3 const b = uint3(4u, 5u, 6u);
|
|
int3 const r = as_type<int3>((as_type<uint3>(a) << (b & uint3(31u))));
|
|
return;
|
|
}
|
|
|