Home
last modified time | relevance | path

Searched refs:MAKE_SWIZZLE4 (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprog_instruction.h58 #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)
Dprogram_lexer.l76 #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]),
Dprog_parameter.c271 *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()
Dir_to_mesa.cpp338 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 …]
Dnvfragparse.c699 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()
Dprogramopt.c180 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i); in _mesa_insert_mvp_mad_code()
Dprogram_parse.y693 $$.swizzle = MAKE_SWIZZLE4($1.swz, $3.swz, $5.swz, $7.swz);
/external/mesa3d/src/glsl/
Dbuiltin_variables.cpp170 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/
Dst_atom_texture.c113 return MAKE_SWIZZLE4(swiz[0], swiz[1], swiz[2], swiz[3]); in apply_depthmode()
Dst_atom_pixeltransfer.c233 inst[ic].SrcReg[0].Swizzle = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, in get_pixel_transfer_program()
Dst_glsl_to_tgsi.cpp457 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/
Dbrw_vs.c482 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_vs_precompile()
Dbrw_wm_fp.c114 reg.Swizzle = MAKE_SWIZZLE4(x,y,z,w); in src_swizzle()
Dbrw_vs_emit.c1253 if (src->Swizzle == MAKE_SWIZZLE4(SWIZZLE_ZERO, in get_src_reg()
1258 } else if (src->Swizzle == MAKE_SWIZZLE4(SWIZZLE_ONE, in get_src_reg()
Dbrw_fs.cpp2185 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_fs_precompile()
Dbrw_wm_surface_state.c705 return MAKE_SWIZZLE4(swizzles[GET_SWZ(t->_Swizzle, 0)], in brw_get_texture_swizzle()
/external/mesa3d/src/mesa/main/
Dnvprogram.c543 inst->SrcReg[0].Swizzle = MAKE_SWIZZLE4(SWIZZLE_ZERO, in _mesa_emit_nv_temp_initialization()
Dffvertex_prog.c365 reg.swz = MAKE_SWIZZLE4(GET_SWZ(reg.swz, x), in swizzle()