Home
last modified time | relevance | path

Searched defs:swz (Results 1 – 25 of 43) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_swizzle.c77 unsigned int swz = GET_SWZ(swizzle, comp); in lookup_native_swizzle() local
121 unsigned int swz = GET_SWZ(reg.Swizzle, j); in r300_swizzle_is_native() local
164 unsigned int swz; in r300_swizzle_split() local
229 unsigned int swz = GET_SWZ(swizzle, 0); in r300FPTranslateAlphaSwizzle() local
Dradeon_optimize.c187 unsigned int swz = GET_SWZ(src.Swizzle, chan); in is_src_uniform_constant() local
212 rc_swizzle swz = 0; in constant_folding_mad() local
253 rc_swizzle swz = 0; in constant_folding_mul() local
286 rc_swizzle swz = 0; in constant_folding_add() local
345 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); in constant_folding() local
423 unsigned int swz = GET_SWZ(src.Swizzle, chan); in src_has_const_swz() local
538 rc_swizzle swz = in is_presub_candidate() local
630 unsigned int i, swz; in peephole_add_presub_inv() local
703 unsigned int chan = 0, swz, i; in peephole_mul_omod() local
Dradeon_compiler_util.c38 unsigned int rc_swizzle_to_writemask(unsigned int swz) in rc_swizzle_to_writemask()
51 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx) in get_swz()
89 unsigned int combine_swizzles(unsigned int src, unsigned int swz) in combine_swizzles()
120 unsigned swz = GET_SWZ(swizzle, chan); in swizzle_mask() local
235 unsigned int swz = GET_SWZ(conversion_swizzle, i); in rc_normal_rewrite_writemask() local
269 unsigned int swz = GET_SWZ(swizzle, chan); in rc_rewrite_swizzle() local
295 rc_swizzle swz = GET_SWZ(swizzle, i); in lmul_swizzle() local
333 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_source_type_swz() local
725 int swz = GET_SWZ(swizzle, chan); in rc_get_constant_value() local
744 unsigned int swz, chan; in rc_get_scalar_src_swz() local
Dradeon_pair_translate.c137 unsigned int swz = GET_SWZ(src.Swizzle, j); in src_uses() local
224 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); in set_pair_instruction() local
250 unsigned int swz; in set_pair_instruction() local
Dr500_fragprog.c201 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
227 unsigned int swz = GET_SWZ(reg.Swizzle, i); in r500_swizzle_is_native() local
251 unsigned int swz = GET_SWZ(src.Swizzle, i); in r500_swizzle_split() local
Dradeon_program_pair.c135 unsigned int swz, in pair_foreach_source_callback()
194 unsigned int swz = RC_SWIZZLE_UNUSED; in rc_pair_foreach_source_that_rgb_reads() local
Dradeon_program_print.c170 static char rc_swizzle_char(unsigned int swz) in rc_swizzle_char()
190 rc_swizzle swz = GET_SWZ(swizzle, comp); in rc_print_swizzle() local
Dradeon_inline_literals.c85 unsigned swz, chan; in rc_inline_literals() local
Dradeon_program_constants.h120 #define GET_SWZ(swz, idx) (((swz) >> ((idx)*3)) & 0x7) argument
122 #define SET_SWZ(swz, idx, newv) \ argument
Dradeon_vert_fc.c194 unsigned swz; in lower_if() local
Dr500_fragprog_emit.c141 static unsigned int fix_hw_swizzle(unsigned int swz) in fix_hw_swizzle()
Dradeon_pair_schedule.c847 rc_swizzle swz = get_swz(arg->Swizzle, i); in is_rgb_to_alpha_possible() local
954 unsigned int swz = get_swz(pair_inst->Alpha.Arg[i].Swizzle, j); in convert_rgb_to_alpha() local
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_tex.c35 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) in nv50_tic_swizzle()
80 uint32_t swz[4]; in nv50_create_sampler_view() local
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_tex.c37 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) in nv50_tic_swizzle()
64 uint32_t swz[4]; in nvc0_create_sampler_view() local
/external/mesa3d/src/mesa/main/
Dtexparam.c210 set_swizzle_component(GLuint *swizzle, GLuint comp, GLuint swz) in set_swizzle_component()
450 const GLint swz = comp_to_swizzle(params[0]); in set_tex_parameteri() local
471 const GLint swz = comp_to_swizzle(params[comp]); in set_tex_parameteri() local
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_texture.c190 swizzle(const struct nv30_texfmt *fmt, unsigned cmp, unsigned swz) in swizzle()
Dnv30_format.h23 } swz[6]; member
/external/mesa3d/src/mesa/program/
Dprog_parameter.c268 GLuint swz = p->Size; /* 1, 2 or 3 for Y, Z, W */ in _mesa_add_typed_unnamed_constant() local
535 GLuint swz[4]; in _mesa_lookup_parameter_constant() local
Dnvfragparse.c691 GLuint swz[4]; in Parse_CondCodeMask() local
1070 GLuint swz[4]; in Parse_VectorSrc() local
Dprog_optimize.c159 is_swizzle_regular(GLuint swz) in is_swizzle_regular()
287 const GLuint swz = GET_SWZ(inst->SrcReg[j].Swizzle, comp); in _mesa_remove_dead_code_global() local
/external/deqp/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp48 static int swizzle (const tcu::RGBA& c, deUint32 swz) in swizzle()
311 deUint32 swz = swizzles[swzNdx].swizzle; in init() local
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vs_constval.c77 GLubyte swz ) in get_active_component()
Dbrw_wm_fp.c577 struct prog_instruction *swz; in precalc_dst() local
637 struct prog_instruction *swz; in precalc_lit() local
/external/mesa3d/src/mesa/x86/rtasm/
Dx86sse.h136 #define GET_SHUF(swz, idx) (((swz) >> ((idx)*2)) & 0x3) argument
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_x86sse.h215 #define GET_SHUF(swz, idx) (((swz) >> ((idx)*2)) & 0x3) argument

12