Commit aacc0e59 authored by Timothy Arceri's avatar Timothy Arceri Committed by Timothy Arceri

glsl-1.10: rename function chain test and better test the inout param

The following patch will add a number of variants of this test so
we want to give it a more descriptive name.
parent 7cf9e743
...@@ -16,7 +16,7 @@ void f10(inout float f); ...@@ -16,7 +16,7 @@ void f10(inout float f);
void f14(inout float f); void f14(inout float f);
void main() void main()
{ {
float g; float g = 0.1;
f01(g); f01(g);
gl_FragColor = vec4(g, 0, 0, 1.0); gl_FragColor = vec4(g, 0, 0, 1.0);
} }
...@@ -52,7 +52,7 @@ void f13(inout float f); ...@@ -52,7 +52,7 @@ void f13(inout float f);
void f04(inout float f) {f05(f);} void f04(inout float f) {f05(f);}
void f08(inout float f) {f09(f);} void f08(inout float f) {f09(f);}
void f12(inout float f) {f13(f);} void f12(inout float f) {f13(f);}
void f16(inout float f) {f=0.2;} void f16(inout float f) {f+=0.1;}
[test] [test]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment