Home
last modified time | relevance | path

Searched refs:SWIZZLE_W (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprog_instruction.h52 #define SWIZZLE_W 3 macro
63 #define SWIZZLE_XYZW MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W)
67 #define SWIZZLE_WWWW MAKE_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W)
Dprog_optimize.c119 if (channel_mask & (1 << comp) && coord <= SWIZZLE_W) in get_src_arg_mask()
161 return GET_SWZ(swz,0) <= SWIZZLE_W && in is_swizzle_regular()
162 GET_SWZ(swz,1) <= SWIZZLE_W && in is_swizzle_regular()
163 GET_SWZ(swz,2) <= SWIZZLE_W && in is_swizzle_regular()
164 GET_SWZ(swz,3) <= SWIZZLE_W; in is_swizzle_regular()
291 if (swz <= SWIZZLE_W) in _mesa_remove_dead_code_global()
Dprog_parameter_layout.c47 swiz |= ((s <= SWIZZLE_W) ? GET_SWZ(base, s) : s) << (i * 3); in _mesa_combine_swizzles()
Dprog_instruction.c326 if (swizzle <= SWIZZLE_W && in _mesa_check_soa_dependencies()
Dprogram_lexer.l115 return SWIZZLE_W; in swiz_from_char()
Dprogram_parse.y747 $$.swz = SWIZZLE_W;
764 $$.swz = SWIZZLE_W;
Dir_to_mesa.cpp341 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c82 if (swiz[i] == SWIZZLE_W) in apply_depthmode()
84 else if (swiz[i] < SWIZZLE_W) in apply_depthmode()
91 if (swiz[i] <= SWIZZLE_W) in apply_depthmode()
98 if (swiz[i] == SWIZZLE_W) in apply_depthmode()
100 else if (swiz[i] < SWIZZLE_W) in apply_depthmode()
106 if (swiz[i] == SWIZZLE_W) in apply_depthmode()
Dst_atom_pixeltransfer.c233 inst[ic].SrcReg[0].Swizzle = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, in get_pixel_transfer_program()
234 SWIZZLE_Z, SWIZZLE_W); in get_pixel_transfer_program()
Dst_glsl_to_tgsi.cpp460 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size()
2998 if (dst.writemask & (1 << comp) && coord <= SWIZZLE_W) in get_src_arg_mask()
3756 src0.swizzle = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_Z, SWIZZLE_W); in get_pixel_transfer_visitor()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c51 SWIZZLE_W != VSF_IN_COMPONENT_W || \
617 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) { in r200_translate_vertex_program()
618 src[i].Swizzle &= ~(SWIZZLE_W << (j*3)); in r200_translate_vertex_program()
626 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) { in r200_translate_vertex_program()
627 src[i].Swizzle &= ~(SWIZZLE_W << (j*3)); in r200_translate_vertex_program()
635 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) { in r200_translate_vertex_program()
636 src[i].Swizzle &= ~(SWIZZLE_W << (j*3)); in r200_translate_vertex_program()
641 src[i].Swizzle &= ~(SWIZZLE_W << (j*3)); in r200_translate_vertex_program()
657 SWIZZLE_Z, SWIZZLE_W, in r200_translate_vertex_program()
679 SWIZZLE_Z, SWIZZLE_W, in r200_translate_vertex_program()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_parse.py35 SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W, SWIZZLE_0, SWIZZLE_1, SWIZZLE_NONE, = range(7) variable
224 'w': SWIZZLE_W,
Du_format_table.py75 SWIZZLE_W: "UTIL_FORMAT_SWIZZLE_W",
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c63 vector[SWIZZLE_W] = texel[3]; in swizzle_texel()
Ds_texcombine.c583 vector[SWIZZLE_W] = texels[i][3]; in swizzle_texels()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_visitor.cpp2115 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation()
Dgen7_wm_surface_state.c52 case SWIZZLE_W: in swizzle_to_scs()
Dbrw_vec4.cpp47 BRW_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size()
Dbrw_wm_surface_state.c669 SWIZZLE_W, in brw_get_texture_swizzle()
Dbrw_vs_emit.c1446 case SWIZZLE_W: in emit_swz()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c339 if (field <= SWIZZLE_W) in calc_live_regs()
/external/mesa3d/src/mesa/main/
Dtexparam.c198 return SWIZZLE_W; in comp_to_swizzle()
Dffvertex_prog.c338 #define W SWIZZLE_W