1/*---------------------------------------------------------------------------* 2 3 Copyright (C) Nintendo. All rights reserved. 4 5 These coded instructions, statements, and computer programs contain 6 proprietary information of Nintendo of America Inc. and/or Nintendo 7 Company Ltd., and are protected by Federal copyright law. They may 8 not be disclosed to third parties or copied or duplicated in any form, 9 in whole or in part, without the prior written consent of Nintendo. 10 11 *---------------------------------------------------------------------------*/ 12#extension GL_EXT_Cafe : enable 13 14layout(binding = 0) uniform vec4 u_positions[4]; 15layout(binding = 4) uniform vec2 u_texCoords[4]; 16 17varying vec2 v_texCoord; 18 19void main() 20{ 21 gl_Position = u_positions[gl_VertexID]; 22 v_texCoord = u_texCoords[gl_VertexID]; 23} 24