df3e21a762
Just treat any undefined argument as 0. It is risky to use the undefined variable as it might not lower to a true constant.
16 lines
287 B
Plaintext
16 lines
287 B
Plaintext
#version 450
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
layout(binding = 0, std430) buffer Block
|
|
{
|
|
vec4 f;
|
|
} block;
|
|
|
|
float _15;
|
|
|
|
void main()
|
|
{
|
|
block.f = vec4(0.100000001490116119384765625, 0.20000000298023223876953125, 0.300000011920928955078125, 0.0);
|
|
}
|
|
|