ea02a0c03a
Need to be careful not to emit globals we're not supposed to.
24 lines
268 B
Plaintext
24 lines
268 B
Plaintext
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(64u, 1u, 1u);
|
|
|
|
struct UBO
|
|
{
|
|
float v;
|
|
};
|
|
|
|
struct SSBO
|
|
{
|
|
float v;
|
|
};
|
|
|
|
kernel void main0()
|
|
{
|
|
threadgroup float w;
|
|
float v;
|
|
}
|
|
|