SPIRV-Cross/reference/shaders-msl-no-opt/asm/comp/constant-composite-undef.asm.comp
2019-09-24 14:35:25 -04:00

18 lines
305 B
Plaintext

#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Block
{
float4 f;
};
constant float _15 = {};
kernel void main0(device Block& block [[buffer(0)]])
{
block.f = float4(0.100000001490116119384765625, 0.20000000298023223876953125, 0.300000011920928955078125, 0.0);
}