diff options
Diffstat (limited to 'reference/opt/shaders-msl/comp/insert.comp')
-rw-r--r-- | reference/opt/shaders-msl/comp/insert.comp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/reference/opt/shaders-msl/comp/insert.comp b/reference/opt/shaders-msl/comp/insert.comp index 059549ae..437b7f32 100644 --- a/reference/opt/shaders-msl/comp/insert.comp +++ b/reference/opt/shaders-msl/comp/insert.comp @@ -10,16 +10,9 @@ struct SSBO constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u); -constant float4 _53 = {}; - kernel void main0(device SSBO& _27 [[buffer(0)]], uint3 gl_GlobalInvocationID [[thread_position_in_grid]]) { - float4 _46; - _46.x = 10.0; - _46.y = 30.0; - _46.z = 70.0; - _46.w = 90.0; - _27.out_data[gl_GlobalInvocationID.x] = _46; + _27.out_data[gl_GlobalInvocationID.x] = float4(10.0, 30.0, 70.0, 90.0); ((device float*)&_27.out_data[gl_GlobalInvocationID.x])[1u] = 20.0; } |