Skip to content

Instantly share code, notes, and snippets.

@hikiko
Created May 2, 2019 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hikiko/0a53e5f6f02b69c06a1c77ddd5b81c9b to your computer and use it in GitHub Desktop.
Save hikiko/0a53e5f6f02b69c06a1c77ddd5b81c9b to your computer and use it in GitHub Desktop.
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