mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 09:34:09 +01:00
12 lines
212 B
Plaintext
12 lines
212 B
Plaintext
// language: metal1.0
|
|
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using metal::uint;
|
|
|
|
|
|
kernel void main_(
|
|
) {
|
|
metal::float3 a = metal::cross(metal::float3(0.0, 1.0, 2.0), metal::float3(0.0, 1.0, 2.0));
|
|
}
|