23662668dd
Speculate that we can modify the SSA value in-place. As long as it is not used after the modify, this is fine. Also need to make sure we don't attempt to RMW something that is impossible to modify.
22 lines
378 B
Plaintext
22 lines
378 B
Plaintext
#version 310 es
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
layout(binding = 0, std430) writeonly buffer SSBO
|
|
{
|
|
vec4 out_data[];
|
|
} _27;
|
|
|
|
vec4 _53;
|
|
|
|
void main()
|
|
{
|
|
vec4 _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].y = 20.0;
|
|
}
|
|
|