Lines Matching refs:SRC

229 #define COPY_4V( DST, SRC )         \
231 (DST)[0] = (SRC)[0]; \
232 (DST)[1] = (SRC)[1]; \
233 (DST)[2] = (SRC)[2]; \
234 (DST)[3] = (SRC)[3]; \
244 /* The GLuint cast might fail if DST or SRC are not dword-aligned (RISC) */
258 #define COPY_SZ_4V(DST, SZ, SRC) \
261 case 4: (DST)[3] = (SRC)[3]; \
262 case 3: (DST)[2] = (SRC)[2]; \
263 case 2: (DST)[1] = (SRC)[1]; \
264 case 1: (DST)[0] = (SRC)[0]; \
270 #define COPY_CLEAN_4V(DST, SZ, SRC) \
273 COPY_SZ_4V( DST, SZ, SRC ); \
304 #define ACC_4V( DST, SRC ) \
306 (DST)[0] += (SRC)[0]; \
307 (DST)[1] += (SRC)[1]; \
308 (DST)[2] += (SRC)[2]; \
309 (DST)[3] += (SRC)[3]; \
374 #define COPY_3V( DST, SRC ) \
376 (DST)[0] = (SRC)[0]; \
377 (DST)[1] = (SRC)[1]; \
378 (DST)[2] = (SRC)[2]; \
382 #define COPY_3V_CAST( DST, SRC, CAST ) \
384 (DST)[0] = (CAST)(SRC)[0]; \
385 (DST)[1] = (CAST)(SRC)[1]; \
386 (DST)[2] = (CAST)(SRC)[2]; \
390 #define COPY_3FV( DST, SRC ) \
392 const GLfloat *_tmp = (SRC); \
423 #define SELF_SCALE_3V( DST, SRC ) \
425 (DST)[0] *= (SRC)[0]; \
426 (DST)[1] *= (SRC)[1]; \
427 (DST)[2] *= (SRC)[2]; \
431 #define ACC_3V( DST, SRC ) \
433 (DST)[0] += (SRC)[0]; \
434 (DST)[1] += (SRC)[1]; \
435 (DST)[2] += (SRC)[2]; \
497 #define COPY_2V( DST, SRC ) \
499 (DST)[0] = (SRC)[0]; \
500 (DST)[1] = (SRC)[1]; \
504 #define COPY_2V_CAST( DST, SRC, CAST ) \
506 (DST)[0] = (CAST)(SRC)[0]; \
507 (DST)[1] = (CAST)(SRC)[1]; \
511 #define COPY_2FV( DST, SRC ) \
513 const GLfloat *_tmp = (SRC); \
540 #define ACC_2V( DST, SRC ) \
542 (DST)[0] += (SRC)[0]; \
543 (DST)[1] += (SRC)[1]; \