blob: b8ae0b8f3b5ed358b367552d2c423076f602bbbf [file] [log] [blame]
#version 310 es
precision highp float;
precision highp int;
layout(binding = 0, std430)
buffer non_uniform_global_block_1_ssbo {
int inner;
} v;
layout(binding = 1, std430)
buffer tint_symbol_block_1_ssbo {
float inner;
} v_1;
bool continue_execution = true;
void foo() {
if ((v.inner < 0)) {
continue_execution = false;
}
}
void bar() {
float v_2 = dFdx(1.0f);
if (continue_execution) {
v_1.inner = v_2;
}
}
void main() {
foo();
bar();
if (!(continue_execution)) {
discard;
}
}