/*---------------------------------------------------------------------------* Copyright (C) Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ #extension GL_EXT_Cafe : enable layout(binding = 0) uniform vec4 u_positions[4]; layout(binding = 4) uniform vec2 u_texCoords[4]; varying vec2 v_texCoord; void main() { gl_Position = u_positions[gl_VertexID]; v_texCoord = u_texCoords[gl_VertexID]; }