NvParameterizedMacroses.h
00001 //
00002 // Redistribution and use in source and binary forms, with or without
00003 // modification, are permitted provided that the following conditions
00004 // are met:
00005 //  * Redistributions of source code must retain the above copyright
00006 //    notice, this list of conditions and the following disclaimer.
00007 //  * Redistributions in binary form must reproduce the above copyright
00008 //    notice, this list of conditions and the following disclaimer in the
00009 //    documentation and/or other materials provided with the distribution.
00010 //  * Neither the name of NVIDIA CORPORATION nor the names of its
00011 //    contributors may be used to endorse or promote products derived
00012 //    from this software without specific prior written permission.
00013 //
00014 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
00015 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00016 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00017 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00018 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00019 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00020 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00021 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
00022 // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00023 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00024 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00025 //
00026 // Copyright (c) 2008-2018 NVIDIA Corporation. All rights reserved.
00027  
00028 #ifndef NV_PARAMETERIZED_MACROSES_H
00029 #define NV_PARAMETERIZED_MACROSES_H
00030 
00033 #define NV_PARAMETRIZED_AGGREGATE_DATATYPE_LABELS \
00034 case NvParameterized::TYPE_ARRAY:\
00035 case NvParameterized::TYPE_STRUCT:\
00036 
00037 #define NV_PARAMETRIZED_LINAL_DATATYPE_LABELS \
00038 case NvParameterized::TYPE_VEC2:\
00039 case NvParameterized::TYPE_VEC3:\
00040 case NvParameterized::TYPE_VEC4:\
00041 case NvParameterized::TYPE_QUAT:\
00042 case NvParameterized::TYPE_MAT33:\
00043 case NvParameterized::TYPE_BOUNDS3:\
00044 case NvParameterized::TYPE_MAT44:\
00045 case NvParameterized::TYPE_TRANSFORM:\
00046 case NvParameterized::TYPE_MAT34:
00047  
00048 #define NV_PARAMETRIZED_ARITHMETIC_DATATYPE_LABELS \
00049 case NvParameterized::TYPE_I8:\
00050 case NvParameterized::TYPE_I16:\
00051 case NvParameterized::TYPE_I32:\
00052 case NvParameterized::TYPE_I64:\
00053 case NvParameterized::TYPE_U8:\
00054 case NvParameterized::TYPE_U16:\
00055 case NvParameterized::TYPE_U32:\
00056 case NvParameterized::TYPE_U64:\
00057 case NvParameterized::TYPE_F32:\
00058 case NvParameterized::TYPE_F64:\
00059 case NvParameterized::TYPE_BOOL: 
00060 
00061 #define NV_PARAMETRIZED_STRING_DATATYPE_LABELS \
00062 case NvParameterized::TYPE_STRING:
00063 
00064 #define NV_PARAMETRIZED_REF_DATATYPE_LABELS \
00065 case NvParameterized::TYPE_REF:
00066 
00067 #define NV_PARAMETRIZED_ENUM_DATATYPE_LABELS \
00068 case NvParameterized::TYPE_ENUM:
00069 
00070 #define NV_PARAMETRIZED_SERVICE_DATATYPE_LABELS \
00071 case NvParameterized::TYPE_POINTER:
00072 
00073 #define NV_PARAMETRIZED_UNDEFINED_AND_LAST_DATATYPE_LABELS \
00074 case NvParameterized::TYPE_UNDEFINED:\
00075 case NvParameterized::TYPE_LAST:
00076 
00078 /***********************************************************************/
00079 #define NV_PARAMETRIZED_NO_AGGREGATE_DATATYPE_LABELS \
00080 /* NV_PARAMETRIZED_AGGREGATE_DATATYPE_LABELS*/ \
00081 NV_PARAMETRIZED_LINAL_DATATYPE_LABELS \
00082 NV_PARAMETRIZED_ARITHMETIC_DATATYPE_LABELS \
00083 NV_PARAMETRIZED_STRING_DATATYPE_LABELS \
00084 NV_PARAMETRIZED_REF_DATATYPE_LABELS \
00085 NV_PARAMETRIZED_ENUM_DATATYPE_LABELS \
00086 NV_PARAMETRIZED_SERVICE_DATATYPE_LABELS \
00087 NV_PARAMETRIZED_UNDEFINED_AND_LAST_DATATYPE_LABELS
00088 
00089 #define NV_PARAMETRIZED_NO_AGGREGATE_AND_ARITHMETIC_DATATYPE_LABELS \
00090 /* NV_PARAMETRIZED_AGGREGATE_DATATYPE_LABELS*/ \
00091 NV_PARAMETRIZED_LINAL_DATATYPE_LABELS \
00092 /*NV_PARAMETRIZED_ARITHMETIC_DATATYPE_LABELS*/ \
00093 NV_PARAMETRIZED_STRING_DATATYPE_LABELS \
00094 NV_PARAMETRIZED_REF_DATATYPE_LABELS \
00095 NV_PARAMETRIZED_ENUM_DATATYPE_LABELS \
00096 NV_PARAMETRIZED_SERVICE_DATATYPE_LABELS \
00097 NV_PARAMETRIZED_UNDEFINED_AND_LAST_DATATYPE_LABELS
00098 
00099 #define NV_PARAMETRIZED_NO_AGGREGATE_AND_REF_DATATYPE_LABELS \
00100 /* NV_PARAMETRIZED_AGGREGATE_DATATYPE_LABELS*/ \
00101 NV_PARAMETRIZED_LINAL_DATATYPE_LABELS \
00102 NV_PARAMETRIZED_ARITHMETIC_DATATYPE_LABELS \
00103 NV_PARAMETRIZED_STRING_DATATYPE_LABELS \
00104 /*NV_PARAMETRIZED_REF_DATATYPE_LABELS*/ \
00105 NV_PARAMETRIZED_ENUM_DATATYPE_LABELS \
00106 NV_PARAMETRIZED_SERVICE_DATATYPE_LABELS \
00107 NV_PARAMETRIZED_UNDEFINED_AND_LAST_DATATYPE_LABELS
00108 
00109 #define NV_PARAMETRIZED_NO_ARITHMETIC_AND_LINAL_DATATYPE_LABELS \
00110 NV_PARAMETRIZED_AGGREGATE_DATATYPE_LABELS \
00111 /*NV_PARAMETRIZED_LINAL_DATATYPE_LABELS*/ \
00112 /*NV_PARAMETRIZED_ARITHMETIC_DATATYPE_LABELS*/ \
00113 NV_PARAMETRIZED_STRING_DATATYPE_LABELS \
00114 NV_PARAMETRIZED_REF_DATATYPE_LABELS \
00115 NV_PARAMETRIZED_ENUM_DATATYPE_LABELS \
00116 NV_PARAMETRIZED_SERVICE_DATATYPE_LABELS \
00117 NV_PARAMETRIZED_UNDEFINED_AND_LAST_DATATYPE_LABELS
00118 
00119 #define NV_PARAMETRIZED_SERVICE_AND_LAST_DATATYPE_LABELS \
00120 NV_PARAMETRIZED_SERVICE_DATATYPE_LABELS \
00121 case NvParameterized::TYPE_LAST:
00122 
00123 #define NV_PARAMETRIZED_LEGACY_DATATYPE_LABELS \
00124 case NvParameterized::TYPE_MAT34:
00125 
00126 #define NV_PARAMETRIZED_NO_MATH_DATATYPE_LABELS \
00127 NV_PARAMETRIZED_AGGREGATE_DATATYPE_LABELS \
00128 NV_PARAMETRIZED_STRING_DATATYPE_LABELS \
00129 NV_PARAMETRIZED_REF_DATATYPE_LABELS \
00130 NV_PARAMETRIZED_ENUM_DATATYPE_LABELS \
00131 NV_PARAMETRIZED_SERVICE_DATATYPE_LABELS \
00132 NV_PARAMETRIZED_UNDEFINED_AND_LAST_DATATYPE_LABELS
00133 
00134 /***********************************************************************/
00135 
00136 #endif // NV_PARAMETERIZED_MACROSES_H

Generated on Sat Dec 1 2018 15:52:05

Copyright © 2012-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.