blob: db2294fe6c06829c38d6da6d73864b138a6173d5 [file] [log] [blame]
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct SSBO
{
float a;
};
struct UBO
{
float b;
};
constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u);
kernel void main0(device SSBO& _9 [[buffer(0)]], constant UBO& _14 [[buffer(1)]])
{
_9.a = as_type<float>(as_type<int>(_14.b) ^ int(0x80000000));
}