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