/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) 63 #define SWIZZLE_XYZW MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W) 64 #define SWIZZLE_XXXX MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X) 65 #define SWIZZLE_YYYY MAKE_SWIZZLE4(SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y) 66 #define SWIZZLE_ZZZZ MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_Z, SWIZZLE_Z, SWIZZLE_Z) 67 #define SWIZZLE_WWWW MAKE_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W)
|
D | program_lexer.l | 76 #define SWIZZLE_INVAL MAKE_SWIZZLE4(SWIZZLE_NIL, SWIZZLE_NIL, \ 399 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(s, s, s, s); 405 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(swiz_from_char(yytext[1]), 456 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(s, s, s, s); 466 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, 474 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(swiz_from_char(yytext[1]),
|
D | prog_parameter.c | 271 *swizzleOut = MAKE_SWIZZLE4(swz, swz, swz, swz); in _mesa_add_typed_unnamed_constant() 528 *swizzleOut = MAKE_SWIZZLE4(j, j, j, j); in _mesa_lookup_parameter_constant() 558 *swizzleOut = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in _mesa_lookup_parameter_constant()
|
D | ir_to_mesa.cpp | 338 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X), in swizzle_for_size() 339 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y), in swizzle_for_size() 340 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z), in swizzle_for_size() 341 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size() 463 src0.swizzle = MAKE_SWIZZLE4(src0_swiz, src0_swiz, in emit_scalar() 465 src1.swizzle = MAKE_SWIZZLE4(src1_swiz, src1_swiz, in emit_scalar() 540 src0.swizzle = MAKE_SWIZZLE4(src0_swiz, src0_swiz, in emit_scs() 565 tmp.swizzle = MAKE_SWIZZLE4(component, component, in emit_scs() 1065 src.swizzle = MAKE_SWIZZLE4(components[0], in emit_swz() 1514 src.swizzle = MAKE_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in visit() [all …]
|
D | nvfragparse.c | 699 dstReg->CondSwizzle = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in Parse_CondCodeMask() 1078 srcReg->Swizzle = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in Parse_VectorSrc()
|
D | programopt.c | 180 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i); in _mesa_insert_mvp_mad_code()
|
D | program_parse.y | 693 $$.swizzle = MAKE_SWIZZLE4($1.swz, $3.swz, $5.swz, $7.swz);
|
/external/mesa3d/src/glsl/ |
D | builtin_variables.cpp | 170 MAKE_SWIZZLE4(SWIZZLE_X, 320 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) }, 322 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) }, 324 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) },
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_texture.c | 113 return MAKE_SWIZZLE4(swiz[0], swiz[1], swiz[2], swiz[3]); in apply_depthmode()
|
D | st_atom_pixeltransfer.c | 233 inst[ic].SrcReg[0].Swizzle = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, in get_pixel_transfer_program()
|
D | st_glsl_to_tgsi.cpp | 457 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X), in swizzle_for_size() 458 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y), in swizzle_for_size() 459 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z), in swizzle_for_size() 460 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size() 736 src0.swizzle = MAKE_SWIZZLE4(src0_swiz, src0_swiz, in emit_scalar() 738 src1.swizzle = MAKE_SWIZZLE4(src1_swiz, src1_swiz, in emit_scalar() 825 src0.swizzle = MAKE_SWIZZLE4(src0_swiz, src0_swiz, in emit_scs() 850 tmp.swizzle = MAKE_SWIZZLE4(component, component, in emit_scs() 1934 src.swizzle = MAKE_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in visit() 2248 r.swizzle = MAKE_SWIZZLE4(swizzles[0], swizzles[1], in visit() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vs.c | 482 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_vs_precompile()
|
D | brw_wm_fp.c | 114 reg.Swizzle = MAKE_SWIZZLE4(x,y,z,w); in src_swizzle()
|
D | brw_vs_emit.c | 1253 if (src->Swizzle == MAKE_SWIZZLE4(SWIZZLE_ZERO, in get_src_reg() 1258 } else if (src->Swizzle == MAKE_SWIZZLE4(SWIZZLE_ONE, in get_src_reg()
|
D | brw_fs.cpp | 2185 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_fs_precompile()
|
D | brw_wm_surface_state.c | 705 return MAKE_SWIZZLE4(swizzles[GET_SWZ(t->_Swizzle, 0)], in brw_get_texture_swizzle()
|
/external/mesa3d/src/mesa/main/ |
D | nvprogram.c | 543 inst->SrcReg[0].Swizzle = MAKE_SWIZZLE4(SWIZZLE_ZERO, in _mesa_emit_nv_temp_initialization()
|
D | ffvertex_prog.c | 365 reg.swz = MAKE_SWIZZLE4(GET_SWZ(reg.swz, x), in swizzle()
|