Home
last modified time | relevance | path

Searched refs:PTR_ELT (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/math/
Dm_translate.c97 #define PTR_ELT(ptr, elt) (((SRC *)ptr)[elt]) macro
116 #define TRX_3FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
118 #define TRX_4F(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
120 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
122 #define TRX_4FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
123 #define TRX_UB(ub, f,n) ub = BYTE_TO_UBYTE( PTR_ELT(f,n) )
124 #define TRX_US(ch, f,n) ch = BYTE_TO_USHORT( PTR_ELT(f,n) )
125 #define TRX_UI(f,n) (PTR_ELT(f,n) < 0 ? 0 : (GLuint) PTR_ELT(f,n))
174 #define TRX_3FN(f,n) UBYTE_TO_FLOAT(PTR_ELT(f,n))
175 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
[all …]