/external/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 | 91 *swizzleOut = MAKE_SWIZZLE4(j, j, j, j); in lookup_parameter_constant() 121 *swizzleOut = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in lookup_parameter_constant() 352 *swizzleOut = MAKE_SWIZZLE4(swz, swz, swz, swz); in _mesa_add_typed_unnamed_constant()
|
D | ir_to_mesa.cpp | 344 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X), in swizzle_for_size() 345 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y), in swizzle_for_size() 346 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z), in swizzle_for_size() 347 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size() 469 src0.swizzle = MAKE_SWIZZLE4(src0_swiz, src0_swiz, in emit_scalar() 471 src1.swizzle = MAKE_SWIZZLE4(src1_swiz, src1_swiz, in emit_scalar() 844 src.swizzle = MAKE_SWIZZLE4(components[0], in emit_swz() 1406 src.swizzle = MAKE_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in visit() 1773 r.swizzle = MAKE_SWIZZLE4(swizzles[0], swizzles[1], in visit()
|
D | programopt.c | 178 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i); in insert_mvp_mad_code()
|
D | program_parse.y | 639 $$.swizzle = MAKE_SWIZZLE4($1.swz, $3.swz, $5.swz, $7.swz);
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_sampler_view.c | 303 return MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in swizzle_swizzle() 333 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in compute_texture_format_swizzle() 335 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle() 337 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_ZERO, in compute_texture_format_swizzle() 340 return MAKE_SWIZZLE4(SWIZZLE_ZERO, SWIZZLE_ZERO, in compute_texture_format_swizzle() 343 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle() 345 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_W); in compute_texture_format_swizzle() 354 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle() 356 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X); in compute_texture_format_swizzle() 376 return MAKE_SWIZZLE4(SWIZZLE_ZERO, SWIZZLE_ZERO, in compute_texture_format_swizzle() [all …]
|
D | st_glsl_to_tgsi.cpp | 425 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X), in swizzle_for_size() 426 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y), in swizzle_for_size() 427 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z), in swizzle_for_size() 428 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size() 647 dinst->src[j].swizzle = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, in emit_asm() 650 dinst->src[j].swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, in emit_asm() 663 dinst->src[j].swizzle = MAKE_SWIZZLE4(swz, swz, swz, swz); in emit_asm() 851 src0.swizzle = MAKE_SWIZZLE4(src0_swiz, src0_swiz, in emit_scalar() 853 src1.swizzle = MAKE_SWIZZLE4(src1_swiz, src1_swiz, in emit_scalar() 974 src.swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_X, SWIZZLE_Y); in st_src_reg_for_double() [all …]
|
D | st_glsl_to_tgsi_private.cpp | 44 swizzle += component * MAKE_SWIZZLE4(1, 1, 1, 1); in swizzle_for_type()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_read.c | 244 swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in intel_readpixels_blorp()
|
D | brw_program.c | 834 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_setup_tex_for_precompile()
|
D | brw_wm_surface_state.c | 437 return MAKE_SWIZZLE4(swizzles[GET_SWZ(t->_Swizzle, 0)], in brw_get_texture_swizzle()
|
D | brw_blorp.c | 575 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE) : in blorp_get_texture_swizzle()
|
/external/mesa3d/src/compiler/glsl/ |
D | builtin_variables.cpp | 99 MAKE_SWIZZLE4(SWIZZLE_X, 241 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) }, 243 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) }, 245 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) },
|
D | builtin_int64.h | 935 …ir_swizzle *const r00C0 = swizzle(r00BF, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X)… in umod64() 1173 …ir_swizzle *const r00F7 = swizzle(r00F4, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X)… in imod64() 1183 …ir_swizzle *const r00FB = swizzle(r00F4, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X)… in imod64()
|
D | lower_packed_varyings.cpp | 315 #define SWIZZLE_ZWZW MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_Z, SWIZZLE_W)
|
D | builtin_functions.cpp | 5832 int yzx = MAKE_SWIZZLE4(SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_X, 0); in _cross() 5833 int zxy = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_X, SWIZZLE_Y, 0); in _cross()
|
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 358 reg.swz = MAKE_SWIZZLE4(GET_SWZ(reg.swz, x), in swizzle()
|