Created
May 2, 2019 13:39
-
-
Save hikiko/0a53e5f6f02b69c06a1c77ddd5b81c9b to your computer and use it in GitHub Desktop.
required.shader_test I use to experiment with the vkrunner version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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