/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_format.h | 23 } swz[6]; member in struct:nv30_texfmt
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_format.h | 23 } swz[6]; member in struct:nv30_texfmt
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
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...] |
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_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_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...] |
radeon_vert_fc.c | 194 unsigned swz; local 198 swz = rc_get_scalar_src_swz(inst->U.I.SrcReg[1].Swizzle); 202 RC_SWIZZLE_UNUSED, RC_SWIZZLE_UNUSED, swz);
|
r500_fragprog.c | 201 unsigned int swz = GET_SWZ(reg.Swizzle, i); local 202 if (swz == RC_SWIZZLE_UNUSED) { 206 if (swz >= 4) 227 unsigned int swz = GET_SWZ(reg.Swizzle, i); local 228 if (swz != RC_SWIZZLE_UNUSED && swz != RC_SWIZZLE_ZERO) 251 unsigned int swz = GET_SWZ(src.Swizzle, i); local 252 if (swz == RC_SWIZZLE_UNUSED || !GET_BIT(usemask, i))
|
radeon_program_print.c | 170 static char rc_swizzle_char(unsigned int swz) 172 switch(swz) { 182 fprintf(stderr, "bad swz: %u\n", swz); 190 rc_swizzle swz = GET_SWZ(swizzle, comp); local 193 fprintf(f, "%c", rc_swizzle_char(swz));
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
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...] |
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_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_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...] |
radeon_vert_fc.c | 194 unsigned swz; local 198 swz = rc_get_scalar_src_swz(inst->U.I.SrcReg[1].Swizzle); 202 RC_SWIZZLE_UNUSED, RC_SWIZZLE_UNUSED, swz);
|
r500_fragprog.c | 201 unsigned int swz = GET_SWZ(reg.Swizzle, i); local 202 if (swz == RC_SWIZZLE_UNUSED) { 206 if (swz >= 4) 227 unsigned int swz = GET_SWZ(reg.Swizzle, i); local 228 if (swz != RC_SWIZZLE_UNUSED && swz != RC_SWIZZLE_ZERO) 251 unsigned int swz = GET_SWZ(src.Swizzle, i); local 252 if (swz == RC_SWIZZLE_UNUSED || !GET_BIT(usemask, i))
|
radeon_program_print.c | 170 static char rc_swizzle_char(unsigned int swz) 172 switch(swz) { 182 fprintf(stderr, "bad swz: %u\n", swz); 190 rc_swizzle swz = GET_SWZ(swizzle, comp); local 193 fprintf(f, "%c", rc_swizzle_char(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...] |
/external/mesa3d/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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_tex.c | 37 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) 39 switch (swz) { 64 uint32_t swz[4]; local 92 swz[0] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_r, tex_int); 93 swz[1] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_g, tex_int); 94 swz[2] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_b, tex_int); 95 swz[3] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_a, tex_int); 97 (swz[0] << NV50_TIC_0_MAPR__SHIFT) | 98 (swz[1] << NV50_TIC_0_MAPG__SHIFT) | 99 (swz[2] << NV50_TIC_0_MAPB__SHIFT) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_parameter.c | 279 GLuint swz = p->Size; /* 1, 2 or 3 for Y, Z, W */ local 282 *swizzleOut = MAKE_SWIZZLE4(swz, swz, swz, swz); 546 GLuint swz[4]; local 550 swz[j] = j; 556 swz[j] = k; 565 swz[j] = swz[j-1] [all...] |
prog_print.c | 466 static const char swz[] = "xyzw01!?"; /* See SWIZZLE_x definitions */ local 478 s[i++] = swz[GET_SWZ(swizzle, 0)]; 486 s[i++] = swz[GET_SWZ(swizzle, 1)]; 494 s[i++] = swz[GET_SWZ(swizzle, 2)]; 502 s[i++] = swz[GET_SWZ(swizzle, 3)]; 713 fprintf(f, "SWZ"); [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_tex.c | 37 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) 39 switch (swz) { 64 uint32_t swz[4]; local 92 swz[0] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_r, tex_int); 93 swz[1] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_g, tex_int); 94 swz[2] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_b, tex_int); 95 swz[3] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_a, tex_int); 97 (swz[0] << NV50_TIC_0_MAPR__SHIFT) | 98 (swz[1] << NV50_TIC_0_MAPG__SHIFT) | 99 (swz[2] << NV50_TIC_0_MAPB__SHIFT) [all...] |
/external/mesa3d/src/mesa/program/ |
prog_parameter.c | 268 GLuint swz = p->Size; /* 1, 2 or 3 for Y, Z, W */ local 271 *swizzleOut = MAKE_SWIZZLE4(swz, swz, swz, swz); 535 GLuint swz[4]; local 539 swz[j] = j; 545 swz[j] = k; 554 swz[j] = swz[j-1] [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texparam.c | 210 set_swizzle_component(GLuint *swizzle, GLuint comp, GLuint swz) 213 ASSERT(swz <= SWIZZLE_NIL); 216 GLuint s = (*swizzle & ~mask) | (swz << (3 * comp)); 450 const GLint swz = comp_to_swizzle(params[0]); local 451 if (swz < 0) { 460 set_swizzle_component(&texObj->_Swizzle, comp, swz); 471 const GLint swz = comp_to_swizzle(params[comp]); local 472 if (swz >= 0) { 474 set_swizzle_component(&texObj->_Swizzle, comp, swz); [all...] |
/external/mesa3d/src/mesa/main/ |
texparam.c | 210 set_swizzle_component(GLuint *swizzle, GLuint comp, GLuint swz) 213 ASSERT(swz <= SWIZZLE_NIL); 216 GLuint s = (*swizzle & ~mask) | (swz << (3 * comp)); 450 const GLint swz = comp_to_swizzle(params[0]); local 451 if (swz < 0) { 460 set_swizzle_component(&texObj->_Swizzle, comp, swz); 471 const GLint swz = comp_to_swizzle(params[comp]); local 472 if (swz >= 0) { 474 set_swizzle_component(&texObj->_Swizzle, comp, swz); [all...] |