mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
13 lines
224 B
Plaintext
13 lines
224 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));
|
|
return;
|
|
}
|