GLSL 4.2 を 1.2 に移植しようとしていますが (Mac を使用しているため)、out パラメータを 1.2 に変換する方法がわかりません (エラーが発生するため)。
out vec3 vNormal;
out vec2 texcoord;
out vec3 vPosition;
コンパイルエラーは次のとおりです。
Invalid qualifiers 'out' in global variable context
ERROR: 0:13: Invalid qualifiers 'out' in global variable context
ERROR: 0:14: Invalid qualifiers 'out' in global variable context
ERROR: 0:19: Use of undeclared identifier 'texcoord'
ERROR: 0:20: Use of undeclared identifier 'vNormal'
ERROR: 0:21: Use of undeclared identifier 'vPosition'