mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
This lets us remove some special cases where `uint` must be fully qualified, even though other similar types are not.
16 lines
362 B
Plaintext
16 lines
362 B
Plaintext
// language: metal2.0
|
|
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using metal::uint;
|
|
|
|
|
|
vertex void main_(
|
|
) {
|
|
metal::float4 v = metal::float4(0.0);
|
|
float a = ((1.0) * 57.295779513082322865);
|
|
float b = ((1.0) * 0.017453292519943295474);
|
|
metal::float4 c = ((v) * 57.295779513082322865);
|
|
metal::float4 d = ((v) * 0.017453292519943295474);
|
|
}
|