Searched refs:MAKE_SWIZZLE4 (Results 1 – 10 of 10) sorted by relevance
/third_party/mesa3d/src/mesa/program/ |
D | prog_instruction.h | 58 #define MAKE_SWIZZLE4(a,b,c,d) (((a)<<0) | ((b)<<3) | ((c)<<6) | ((d)<<9)) macro 59 #define SWIZZLE_NOOP MAKE_SWIZZLE4(0,1,2,3) 65 #define SWIZZLE_XYZW MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W) 66 #define SWIZZLE_XXXX MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X) 67 #define SWIZZLE_YYYY MAKE_SWIZZLE4(SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y) 68 #define SWIZZLE_ZZZZ MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_Z, SWIZZLE_Z, SWIZZLE_Z) 69 #define SWIZZLE_WWWW MAKE_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W)
|
D | program_lexer.l | 81 #define SWIZZLE_INVAL MAKE_SWIZZLE4(SWIZZLE_NIL, SWIZZLE_NIL, \ 380 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(s, s, s, s); 386 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(swiz_from_char(yytext[1]), 437 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(s, s, s, s); 447 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, 455 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(swiz_from_char(yytext[1]),
|
D | prog_parameter.c | 92 *swizzleOut = MAKE_SWIZZLE4(j, j, j, j); in lookup_parameter_constant() 122 *swizzleOut = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in lookup_parameter_constant() 406 *swizzleOut = MAKE_SWIZZLE4(swz, swz, swz, swz); in _mesa_add_typed_unnamed_constant()
|
D | programopt.c | 178 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i); in insert_mvp_mad_code()
|
D | program_parse.y | 647 $$.swizzle = MAKE_SWIZZLE4($1.swz, $3.swz, $5.swz, $7.swz);
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_sampler_view.c | 342 return MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in swizzle_swizzle() 372 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in compute_texture_format_swizzle() 374 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle() 376 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_ZERO, in compute_texture_format_swizzle() 379 return MAKE_SWIZZLE4(SWIZZLE_ZERO, SWIZZLE_ZERO, in compute_texture_format_swizzle() 382 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle() 384 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_W); in compute_texture_format_swizzle() 393 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle() 395 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X); in compute_texture_format_swizzle() 415 return MAKE_SWIZZLE4(SWIZZLE_ZERO, SWIZZLE_ZERO, in compute_texture_format_swizzle() [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | builtin_variables.cpp | 100 MAKE_SWIZZLE4(SWIZZLE_X, 256 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) }, 258 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) }, 260 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) },
|
D | builtin_int64.h | 879 …ir_swizzle *const r00C0 = swizzle(r00BF, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X)… in umod64() 1117 …ir_swizzle *const r00F7 = swizzle(r00F4, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X)… in imod64() 1127 …ir_swizzle *const r00FB = swizzle(r00F4, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X)… in imod64()
|
D | builtin_functions.cpp | 6478 int yzx = MAKE_SWIZZLE4(SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_X, 0); in _cross() 6479 int zxy = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_X, SWIZZLE_Y, 0); in _cross()
|
/third_party/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 371 reg.swz = MAKE_SWIZZLE4(GET_SWZ(reg.swz, x), in swizzle()
|