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