1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: gr_Prefix.h 4 5 Copyright (C)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 $Rev: 33946 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_GR_PREFIX_H_ 17 #define NN_GR_PREFIX_H_ 18 19 #include <nn.h> 20 #include <nn/types.h> 21 #include <nn/gx.h> 22 #include <nn/gx/CTR/gx_CommandAccess.h> 23 24 #define NN_GR_ASSERT NN_ASSERT 25 #define NN_GR_ERR(...) do { NN_LOG(__VA_ARGS__); int* a = NULL; *a = 1; } while(0) 26 27 namespace nn 28 { 29 namespace gr 30 { 31 namespace CTR 32 { 33 /* Please see man pages for details 34 35 */ 36 typedef PicaDataVertexAttrType PicaDataVertexArrayType; 37 38 /* Please see man pages for details 39 40 41 */ 42 typedef PicaDataFragLightSampler PicaDataLookUpTableType; 43 44 /* Please see man pages for details 45 46 */ 47 typedef PicaDataFragLightEnvTexture PicaDataFragLightTexture; 48 49 /* Please see man pages for details 50 51 */ 52 typedef PicaDataFragLightEnvLayerConfig PicaDataFragLightLayerConfig; 53 54 /* Please see man pages for details 55 56 */ 57 typedef PicaDataFragLightEnvBump PicaDataFragLightBump; 58 59 /* Please see man pages for details 60 61 */ 62 typedef PicaDataFragLightEnvLutInput PicaDataLutInput; 63 64 /* Please see man pages for details 65 66 */ 67 typedef PicaDataFragLightEnvLutScale PicaDataLutScale; 68 69 } // namespace CTR 70 } // namespace gr 71 } // namespace nn 72 73 #include <nn/gr/CTR/gr_Utility.h> 74 75 #endif // NN_GR_PREFIX_H_ 76