1#version 450 2 3layout(location = 1, component = 0) out float A[2]; 4layout(location = 1, component = 2) out vec2 B[2]; 5layout(location = 0, component = 1) out float C[3]; 6layout(location = 0, component = 3) out float D; 7 8layout(location = 1, component = 0) flat in float InA[2]; 9layout(location = 1, component = 2) flat in vec2 InB[2]; 10layout(location = 0, component = 1) flat in float InC[3]; 11layout(location = 3, component = 1) sample in float InD; 12layout(location = 4, component = 2) noperspective in float InE; 13layout(location = 5, component = 3) centroid in float InF; 14 15void main() 16{ 17 A = InA; 18 B = InB; 19 C = InC; 20 D = InD + InE + InF; 21} 22