Harbor

branch main
showing the latest snapshot on main
workflow_branch_output.glsl 233 B · Plain text
gpu/shader/tests/golden/workflow_branch_output.glsl 0644 Raw
#version 450

layout(location = 0) in vec2 in_uv;
layout(location = 0) out vec4 out_color;

void main() {
	if ((in_uv.x > 0.5)) {
		out_color = vec4(1.0, in_uv.y, 0.0, 1.0);
	} else {
		out_color = vec4(0.0, in_uv.y, 1.0, 1.0);
	}
}