• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[require]
2vertexPipelineStoresAndAtomics
3
4[vertex shader passthrough]
5[fragment shader]
6#version 430
7
8layout(location = 0) out vec4 final_color;
9
10void main() {
11  final_color = vec4(1, 0, 0, 1);
12}
13
14[test]
15clear
16draw rect 0.0 0.0 0.6 0.6
17probe rect rgba (0, 0, 125, 125) (0.0, 0, 0, 0.0)
18probe rect rgba (125, 125, 75, 75) (1.0, 0, 0, 1.0)
19probe rect rgba (200, 200, 50, 50) (0.0, 0, 0, 0.0)
20
21clear
22draw rect ortho 125 125 75 75
23probe rect rgba (0, 0, 125, 125) (0.0, 0, 0, 0.0)
24probe rect rgba (125, 125, 75, 75) (1.0, 0, 0, 1.0)
25probe rect rgba (200, 200, 50, 50) (0.0, 0, 0, 0.0)
26