HomeSort by relevance Sort by last modified time
    Searched full:swz (Results 1 - 25 of 137) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
r300_fragprog_swizzle.c 77 unsigned int swz = GET_SWZ(swizzle, comp); local
78 if (swz == RC_SWIZZLE_UNUSED)
80 if (swz != GET_SWZ(sd->hash, comp))
121 unsigned int swz = GET_SWZ(reg.Swizzle, j); local
122 if (swz == RC_SWIZZLE_UNUSED)
124 if (swz != j)
164 unsigned int swz; local
167 swz = GET_SWZ(src.Swizzle, comp);
168 if (swz == RC_SWIZZLE_UNUSED)
170 if (swz == GET_SWZ(sd->hash, comp))
229 unsigned int swz = GET_SWZ(swizzle, 0); local
    [all...]
radeon_compiler_util.c 38 unsigned int rc_swizzle_to_writemask(unsigned int swz)
44 mask |= 1 << GET_SWZ(swz, i);
51 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx)
55 return GET_SWZ(swz, idx);
89 unsigned int combine_swizzles(unsigned int src, unsigned int swz)
93 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_X));
94 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_Y)) << 3;
95 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_Z)) << 6;
96 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_W)) << 9;
120 unsigned swz = GET_SWZ(swizzle, chan) local
235 unsigned int swz = GET_SWZ(conversion_swizzle, i); local
269 unsigned int swz = GET_SWZ(swizzle, chan); local
295 rc_swizzle swz = GET_SWZ(swizzle, i); local
333 unsigned int swz = RC_SWIZZLE_UNUSED; local
725 int swz = GET_SWZ(swizzle, chan); local
744 unsigned int swz, chan; local
    [all...]
radeon_compiler_util.h 14 unsigned int rc_swizzle_to_writemask(unsigned int swz);
16 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx);
24 unsigned int combine_swizzles(unsigned int src, unsigned int swz);
radeon_optimize.c 187 unsigned int swz = GET_SWZ(src.Swizzle, chan); local
188 if (swz < 4) {
192 if (swz == RC_SWIZZLE_UNUSED)
196 *pswz = swz;
200 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) {
212 rc_swizzle swz = 0; local
215 if (is_src_uniform_constant(inst->U.I.SrcReg[2], &swz, &negate)) {
216 if (swz == RC_SWIZZLE_ZERO) {
222 if (is_src_uniform_constant(inst->U.I.SrcReg[1], &swz, &negate)) {
223 if (swz == RC_SWIZZLE_ONE)
253 rc_swizzle swz = 0; local
286 rc_swizzle swz = 0; local
345 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); local
423 unsigned int swz = GET_SWZ(src.Swizzle, chan); local
538 rc_swizzle swz = local
630 unsigned int i, swz; local
703 unsigned int chan = 0, swz, i; local
    [all...]
radeon_program_pair.c 135 unsigned int swz,
138 /* swz > 3 means that the swizzle is either not used, or a constant
140 if(swz > 3)
143 if(swz == RC_SWIZZLE_W) {
194 unsigned int swz = RC_SWIZZLE_UNUSED; local
199 swz = GET_SWZ(pair->RGB.Arg[i].Swizzle, chan);
200 if(swz == RC_SWIZZLE_X || swz == RC_SWIZZLE_Y
201 || swz == RC_SWIZZLE_Z || swz == RC_SWIZZLE_W
    [all...]
radeon_inline_literals.c 85 unsigned swz, chan; local
88 swz = RC_SWIZZLE_UNUSED;
100 swz = GET_SWZ(src_reg->Swizzle, chan);
101 if (swz == RC_SWIZZLE_UNUSED) {
104 float_value = constant->u.Immediate[swz];
radeon_program_constants.h 120 #define GET_SWZ(swz, idx) (((swz) >> ((idx)*3)) & 0x7)
122 #define SET_SWZ(swz, idx, newv) \
124 (swz) = ((swz) & ~(7 << ((idx)*3))) | ((newv) << ((idx)*3)); \
radeon_pair_translate.c 137 unsigned int swz = GET_SWZ(src.Swizzle, j); local
138 if (swz < 3)
140 else if (swz < 4)
224 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); local
226 if (swz < RC_SWIZZLE_W)
228 else if (swz == RC_SWIZZLE_W)
231 if (swz < RC_SWIZZLE_UNUSED)
250 unsigned int swz; local
252 swz = rc_get_scalar_src_swz(inst->SrcReg[i].Swizzle);
254 swz = GET_SWZ(inst->SrcReg[i].Swizzle, 3)
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
r300_fragprog_swizzle.c 77 unsigned int swz = GET_SWZ(swizzle, comp); local
78 if (swz == RC_SWIZZLE_UNUSED)
80 if (swz != GET_SWZ(sd->hash, comp))
121 unsigned int swz = GET_SWZ(reg.Swizzle, j); local
122 if (swz == RC_SWIZZLE_UNUSED)
124 if (swz != j)
164 unsigned int swz; local
167 swz = GET_SWZ(src.Swizzle, comp);
168 if (swz == RC_SWIZZLE_UNUSED)
170 if (swz == GET_SWZ(sd->hash, comp))
229 unsigned int swz = GET_SWZ(swizzle, 0); local
    [all...]
radeon_compiler_util.c 38 unsigned int rc_swizzle_to_writemask(unsigned int swz)
44 mask |= 1 << GET_SWZ(swz, i);
51 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx)
55 return GET_SWZ(swz, idx);
89 unsigned int combine_swizzles(unsigned int src, unsigned int swz)
93 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_X));
94 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_Y)) << 3;
95 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_Z)) << 6;
96 ret |= get_swz(src, GET_SWZ(swz, RC_SWIZZLE_W)) << 9;
120 unsigned swz = GET_SWZ(swizzle, chan) local
235 unsigned int swz = GET_SWZ(conversion_swizzle, i); local
269 unsigned int swz = GET_SWZ(swizzle, chan); local
295 rc_swizzle swz = GET_SWZ(swizzle, i); local
333 unsigned int swz = RC_SWIZZLE_UNUSED; local
725 int swz = GET_SWZ(swizzle, chan); local
744 unsigned int swz, chan; local
    [all...]
radeon_compiler_util.h 14 unsigned int rc_swizzle_to_writemask(unsigned int swz);
16 rc_swizzle get_swz(unsigned int swz, rc_swizzle idx);
24 unsigned int combine_swizzles(unsigned int src, unsigned int swz);
radeon_optimize.c 187 unsigned int swz = GET_SWZ(src.Swizzle, chan); local
188 if (swz < 4) {
192 if (swz == RC_SWIZZLE_UNUSED)
196 *pswz = swz;
200 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) {
212 rc_swizzle swz = 0; local
215 if (is_src_uniform_constant(inst->U.I.SrcReg[2], &swz, &negate)) {
216 if (swz == RC_SWIZZLE_ZERO) {
222 if (is_src_uniform_constant(inst->U.I.SrcReg[1], &swz, &negate)) {
223 if (swz == RC_SWIZZLE_ONE)
253 rc_swizzle swz = 0; local
286 rc_swizzle swz = 0; local
345 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan); local
423 unsigned int swz = GET_SWZ(src.Swizzle, chan); local
538 rc_swizzle swz = local
630 unsigned int i, swz; local
703 unsigned int chan = 0, swz, i; local
    [all...]
radeon_program_pair.c 135 unsigned int swz,
138 /* swz > 3 means that the swizzle is either not used, or a constant
140 if(swz > 3)
143 if(swz == RC_SWIZZLE_W) {
194 unsigned int swz = RC_SWIZZLE_UNUSED; local
199 swz = GET_SWZ(pair->RGB.Arg[i].Swizzle, chan);
200 if(swz == RC_SWIZZLE_X || swz == RC_SWIZZLE_Y
201 || swz == RC_SWIZZLE_Z || swz == RC_SWIZZLE_W
    [all...]
radeon_inline_literals.c 85 unsigned swz, chan; local
88 swz = RC_SWIZZLE_UNUSED;
100 swz = GET_SWZ(src_reg->Swizzle, chan);
101 if (swz == RC_SWIZZLE_UNUSED) {
104 float_value = constant->u.Immediate[swz];
radeon_program_constants.h 120 #define GET_SWZ(swz, idx) (((swz) >> ((idx)*3)) & 0x7)
122 #define SET_SWZ(swz, idx, newv) \
124 (swz) = ((swz) & ~(7 << ((idx)*3))) | ((newv) << ((idx)*3)); \
radeon_pair_translate.c 137 unsigned int swz = GET_SWZ(src.Swizzle, j); local
138 if (swz < 3)
140 else if (swz < 4)
224 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); local
226 if (swz < RC_SWIZZLE_W)
228 else if (swz == RC_SWIZZLE_W)
231 if (swz < RC_SWIZZLE_UNUSED)
250 unsigned int swz; local
252 swz = rc_get_scalar_src_swz(inst->SrcReg[i].Swizzle);
254 swz = GET_SWZ(inst->SrcReg[i].Swizzle, 3)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
nv30_texture.c 190 swizzle(const struct nv30_texfmt *fmt, unsigned cmp, unsigned swz)
192 uint32_t data = fmt->swz[swz].src << 8;
193 if (swz <= PIPE_SWIZZLE_ALPHA)
194 data |= fmt->swz[swz].cmp;
196 data |= fmt->swz[cmp].cmp;
240 so->swz = fmt->swizzle;
241 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a);
242 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2
    [all...]
nvfx_fragprog.c 151 sr |= ((src.swz[0] << NVFX_FP_REG_SWZ_X_SHIFT) |
152 (src.swz[1] << NVFX_FP_REG_SWZ_Y_SHIFT) |
153 (src.swz[2] << NVFX_FP_REG_SWZ_Z_SHIFT) |
154 (src.swz[3] << NVFX_FP_REG_SWZ_W_SHIFT));
402 src.swz[0] = fsrc->Register.SwizzleX;
403 src.swz[1] = fsrc->Register.SwizzleY;
404 src.swz[2] = fsrc->Register.SwizzleZ;
405 src.swz[3] = fsrc->Register.SwizzleW;
478 addend.swz[0] = fsrc->Register.SwizzleX;
479 addend.swz[1] = fsrc->Register.SwizzleY
    [all...]
nv30_format.h 23 } swz[6]; member in struct:nv30_texfmt
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_texture.c 190 swizzle(const struct nv30_texfmt *fmt, unsigned cmp, unsigned swz)
192 uint32_t data = fmt->swz[swz].src << 8;
193 if (swz <= PIPE_SWIZZLE_ALPHA)
194 data |= fmt->swz[swz].cmp;
196 data |= fmt->swz[cmp].cmp;
240 so->swz = fmt->swizzle;
241 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a);
242 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2
    [all...]
nvfx_fragprog.c 151 sr |= ((src.swz[0] << NVFX_FP_REG_SWZ_X_SHIFT) |
152 (src.swz[1] << NVFX_FP_REG_SWZ_Y_SHIFT) |
153 (src.swz[2] << NVFX_FP_REG_SWZ_Z_SHIFT) |
154 (src.swz[3] << NVFX_FP_REG_SWZ_W_SHIFT));
402 src.swz[0] = fsrc->Register.SwizzleX;
403 src.swz[1] = fsrc->Register.SwizzleY;
404 src.swz[2] = fsrc->Register.SwizzleZ;
405 src.swz[3] = fsrc->Register.SwizzleW;
478 addend.swz[0] = fsrc->Register.SwizzleX;
479 addend.swz[1] = fsrc->Register.SwizzleY
    [all...]
nv30_format.h 23 } swz[6]; member in struct:nv30_texfmt
  /external/llvm/test/CodeGen/X86/
vec_compare-2.ll 24 %swz.i.i28.i = shufflevector <4 x i32> %conv.i.i15.i, <4 x i32> undef, <2 x i32> <i32 0, i32 1> ; <<2 x i32>> [#uses=1]
25 %tmp6.i29.i = bitcast <2 x i32> %swz.i.i28.i to <4 x i16> ; <<4 x i16>> [#uses=1]
26 %swz.i30.i = shufflevector <4 x i16> %tmp6.i29.i, <4 x i16> undef, <2 x i32> <i32 0, i32 1> ; <<2 x i16>> [#uses=1]
27 store <2 x i16> %swz.i30.i, <2 x i16>* undef
  /external/antlr/antlr-3.4/runtime/ActionScript/project/
.actionScriptProperties 10 <crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="framework_3.0.0.477.swz"/>
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
nv50_tex.c 35 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int)
37 switch (swz) {
80 uint32_t swz[4]; local
109 swz[0] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_r, tex_int);
110 swz[1] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_g, tex_int);
111 swz[2] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_b, tex_int);
112 swz[3] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_a, tex_int);
114 (swz[0] << NV50_TIC_0_MAPR__SHIFT) |
115 (swz[1] << NV50_TIC_0_MAPG__SHIFT) |
116 (swz[2] << NV50_TIC_0_MAPB__SHIFT)
    [all...]

Completed in 338 milliseconds

1 2 3 4 5 6