Home | History | Annotate | Download | only in vbo

Lines Matching refs:I10

102 static inline float conv_i10_to_i(int i10)
105 val.x = i10;
116 static inline float conv_i10_to_norm_float(int i10)
119 val.x = i10;
130 #define ATTRI10_1( A, I10 ) ATTR( A, 1, GL_FLOAT, conv_i10_to_i((I10) & 0x3ff), 0, 0, 1 )
131 #define ATTRI10_2( A, I10 ) ATTR( A, 2, GL_FLOAT, \
132 conv_i10_to_i((I10) & 0x3ff), \
133 conv_i10_to_i(((I10) >> 10) & 0x3ff), 0, 1 )
134 #define ATTRI10_3( A, I10 ) ATTR( A, 3, GL_FLOAT, \
135 conv_i10_to_i((I10) & 0x3ff), \
136 conv_i10_to_i(((I10) >> 10) & 0x3ff), \
137 conv_i10_to_i(((I10) >> 20) & 0x3ff), 1 )
138 #define ATTRI10_4( A, I10 ) ATTR( A, 4, GL_FLOAT, \
139 conv_i10_to_i((I10) & 0x3ff), \
140 conv_i10_to_i(((I10) >> 10) & 0x3ff), \
141 conv_i10_to_i(((I10) >> 20) & 0x3ff), \
142 conv_i2_to_i(((I10) >> 30) & 0x3))
145 #define ATTRI10N_1( A, I10 ) ATTR( A, 1, GL_FLOAT, conv_i10_to_norm_float((I10) & 0x3ff), 0, 0, 1 )
146 #define ATTRI10N_2( A, I10 ) ATTR( A, 2, GL_FLOAT, \
147 conv_i10_to_norm_float((I10) & 0x3ff), \
148 conv_i10_to_norm_float(((I10) >> 10) & 0x3ff), 0, 1 )
149 #define ATTRI10N_3( A, I10 ) ATTR( A, 3, GL_FLOAT, \
150 conv_i10_to_norm_float((I10) & 0x3ff), \
151 conv_i10_to_norm_float(((I10) >> 10) & 0x3ff), \
152 conv_i10_to_norm_float(((I10) >> 20) & 0x3ff), 1 )
153 #define ATTRI10N_4( A, I10 ) ATTR( A, 4, GL_FLOAT, \
154 conv_i10_to_norm_float((I10) & 0x3ff), \
155 conv_i10_to_norm_float(((I10) >> 10) & 0x3ff), \
156 conv_i10_to_norm_float(((I10) >> 20) & 0x3ff), \
157 conv_i2_to_norm_float(((I10) >> 30) & 0x3))