// --------------------------------------------------------------------------- // Project: NintendoWare // File: lyt_ConstColorShader.vsh // // Copyright (C)2009-2010 Nintendo Co., Ltd. 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. // // $Revision: 11329 $ // --------------------------------------------------------------------------- // Input registers map #define aPosition v0 #pragma bind_symbol(aPosition, v0,v0) #define uProjection c0 #pragma bind_symbol(uProjection, c0,c3) #define uModelView c4 #pragma bind_symbol(uModelView, c4,c7) // Output registers map #define vPosition o0 #pragma output_map(position, o0) #define TEMP_POS r15 main: m4x4 TEMP_POS, aPosition, uModelView m4x4 vPosition, TEMP_POS, uProjection end endmain: