1 2out vec4 sk_FragColor; 3uniform vec4 colorGreen; 4void outParameterWrite_vh4(out vec4 x) { 5 x = colorGreen; 6} 7void outParameterWriteIndirect_vh4(out vec4 c) { 8 outParameterWrite_vh4(c); 9} 10void inoutParameterWrite_vh4(inout vec4 x) { 11 x *= x; 12} 13void inoutParameterWriteIndirect_vh4(inout vec4 x) { 14 inoutParameterWrite_vh4(x); 15} 16vec4 main() { 17 vec4 c; 18 outParameterWrite_vh4(c); 19 outParameterWriteIndirect_vh4(c); 20 inoutParameterWrite_vh4(c); 21 inoutParameterWriteIndirect_vh4(c); 22 false; 23 false; 24 false; 25 return c; 26} 27