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)
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)
Dprogram_lexer.l81 #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]),
Dprog_parameter.c91 *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()
Dir_to_mesa.cpp344 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()
Dprogramopt.c178 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i); in insert_mvp_mad_code()
Dprogram_parse.y639 $$.swizzle = MAKE_SWIZZLE4($1.swz, $3.swz, $5.swz, $7.swz);
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c303 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 …]
Dst_glsl_to_tgsi.cpp425 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 …]
Dst_glsl_to_tgsi_private.cpp44 swizzle += component * MAKE_SWIZZLE4(1, 1, 1, 1); in swizzle_for_type()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_read.c244 swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in intel_readpixels_blorp()
Dbrw_program.c834 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_setup_tex_for_precompile()
Dbrw_wm_surface_state.c437 return MAKE_SWIZZLE4(swizzles[GET_SWZ(t->_Swizzle, 0)], in brw_get_texture_swizzle()
Dbrw_blorp.c575 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE) : in blorp_get_texture_swizzle()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp99 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) },
Dbuiltin_int64.h935 …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()
Dlower_packed_varyings.cpp315 #define SWIZZLE_ZWZW MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_Z, SWIZZLE_W)
Dbuiltin_functions.cpp5832 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/
Dffvertex_prog.c358 reg.swz = MAKE_SWIZZLE4(GET_SWZ(reg.swz, x), in swizzle()