Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
required.shader_test I use to experiment with the vkrunner version
[require]
vulkan 1.1.3
[vertex shader passthrough]
[fragment shader]
#version 430
layout(location = 0) out vec4 out_color;
void main()
{
out_color = vec4(0.0, 1.0, 0.0, 0.0);
}
[test]
clear
draw rect -1 -1 2 2
probe all rgba 0.0 1.0 0.0 0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.