1// --------------------------------------------------------------------------- 2// Project: NintendoWare 3// File: lyt_ConstColorShader.vsh 4// 5// Copyright (C)2009-2010 Nintendo Co., Ltd. All rights reserved. 6// 7// These coded instructions, statements, and computer programs contain 8// proprietary information of Nintendo of America Inc. and/or Nintendo 9// Company Ltd., and are protected by Federal copyright law. They may 10// not be disclosed to third parties or copied or duplicated in any form, 11// in whole or in part, without the prior written consent of Nintendo. 12// 13// $Revision: 11329 $ 14// --------------------------------------------------------------------------- 15 16// Input registers map 17 18#define aPosition v0 19#pragma bind_symbol(aPosition, v0,v0) 20 21#define uProjection c0 22#pragma bind_symbol(uProjection, c0,c3) 23 24#define uModelView c4 25#pragma bind_symbol(uModelView, c4,c7) 26 27// Output registers map 28 29#define vPosition o0 30#pragma output_map(position, o0) 31 32#define TEMP_POS r15 33 34main: 35 m4x4 TEMP_POS, aPosition, uModelView 36 m4x4 vPosition, TEMP_POS, uProjection 37 end 38endmain: 39 40