/external/chromium_org/third_party/mesa/src/src/glsl/ |
opt_noop_swizzle.cpp | 59 ir_swizzle *swiz = (*rvalue)->as_swizzle(); 60 if (!swiz || swiz->type != swiz->val->type) 63 int elems = swiz->val->type->vector_elements; 64 if (swiz->mask.x != 0) 66 if (elems >= 2 && swiz->mask.y != 1) 68 if (elems >= 3 && swiz->mask.z != 2) 70 if (elems >= 4 && swiz->mask.w != 3) 74 *rvalue = swiz->val [all...] |
hir_field_selection.cpp | 51 ir_swizzle *swiz = ir_swizzle::create(op, local 54 if (swiz != NULL) { 55 result = swiz;
|
opt_constant_propagation.cpp | 144 ir_swizzle *swiz = NULL; 147 swiz = (*rvalue)->as_swizzle(); 148 if (!swiz) 151 deref = swiz->val->as_dereference_variable(); 163 if (swiz) { 165 case 0: channel = swiz->mask.x; break; 166 case 1: channel = swiz->mask.y; break; 167 case 2: channel = swiz->mask.z; break; 168 case 3: channel = swiz->mask.w; break;
|
opt_copy_propagation_elements.cpp | 445 ir_swizzle *swiz = ir->rhs->as_swizzle(); local 446 if (!swiz) 449 rhs = swiz->val->as_dereference_variable(); 453 orig_swizzle[0] = swiz->mask.x; 454 orig_swizzle[1] = swiz->mask.y; 455 orig_swizzle[2] = swiz->mask.z; 456 orig_swizzle[3] = swiz->mask.w;
|
ir.cpp | 82 ir_swizzle *swiz = lhs->as_swizzle(); local 84 if (swiz == NULL) 90 for (unsigned i = 0; i < swiz->mask.num_components; i++) { 94 case 0: c = swiz->mask.x; break; 95 case 1: c = swiz->mask.y; break; 96 case 2: c = swiz->mask.z; break; 97 case 3: c = swiz->mask.w; break; 106 lhs = swiz->val; [all...] |
ir_reader.cpp | 525 else if (strcmp(tag->value(), "swiz") == 0) { 730 s_symbol *swiz; local 733 s_pattern pat[] = { "swiz", swiz, sub }; 735 ir_read_error(expr, "expected (swiz <swizzle> <rvalue>)"); 739 if (strlen(swiz->value()) > 4) { 740 ir_read_error(expr, "expected a valid swizzle; found %s", swiz->value()); 748 ir_swizzle *ir = ir_swizzle::create(rvalue, swiz->value(),
|
/external/mesa3d/src/glsl/ |
opt_noop_swizzle.cpp | 59 ir_swizzle *swiz = (*rvalue)->as_swizzle(); 60 if (!swiz || swiz->type != swiz->val->type) 63 int elems = swiz->val->type->vector_elements; 64 if (swiz->mask.x != 0) 66 if (elems >= 2 && swiz->mask.y != 1) 68 if (elems >= 3 && swiz->mask.z != 2) 70 if (elems >= 4 && swiz->mask.w != 3) 74 *rvalue = swiz->val [all...] |
hir_field_selection.cpp | 51 ir_swizzle *swiz = ir_swizzle::create(op, local 54 if (swiz != NULL) { 55 result = swiz;
|
opt_constant_propagation.cpp | 144 ir_swizzle *swiz = NULL; 147 swiz = (*rvalue)->as_swizzle(); 148 if (!swiz) 151 deref = swiz->val->as_dereference_variable(); 163 if (swiz) { 165 case 0: channel = swiz->mask.x; break; 166 case 1: channel = swiz->mask.y; break; 167 case 2: channel = swiz->mask.z; break; 168 case 3: channel = swiz->mask.w; break;
|
opt_copy_propagation_elements.cpp | 445 ir_swizzle *swiz = ir->rhs->as_swizzle(); local 446 if (!swiz) 449 rhs = swiz->val->as_dereference_variable(); 453 orig_swizzle[0] = swiz->mask.x; 454 orig_swizzle[1] = swiz->mask.y; 455 orig_swizzle[2] = swiz->mask.z; 456 orig_swizzle[3] = swiz->mask.w;
|
ir.cpp | 82 ir_swizzle *swiz = lhs->as_swizzle(); local 84 if (swiz == NULL) 90 for (unsigned i = 0; i < swiz->mask.num_components; i++) { 94 case 0: c = swiz->mask.x; break; 95 case 1: c = swiz->mask.y; break; 96 case 2: c = swiz->mask.z; break; 97 case 3: c = swiz->mask.w; break; 106 lhs = swiz->val; [all...] |
ir_reader.cpp | 525 else if (strcmp(tag->value(), "swiz") == 0) { 730 s_symbol *swiz; local 733 s_pattern pat[] = { "swiz", swiz, sub }; 735 ir_read_error(expr, "expected (swiz <swizzle> <rvalue>)"); 739 if (strlen(swiz->value()) > 4) { 740 ir_read_error(expr, "expected a valid swizzle; found %s", swiz->value()); 748 ir_swizzle *ir = ir_swizzle::create(rvalue, swiz->value(),
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_texture.c | 66 unsigned char swiz[4]; local 76 swiz[i] = GET_SWZ(swizzle, i); 82 if (swiz[i] == SWIZZLE_W) 83 swiz[i] = SWIZZLE_ONE; 84 else if (swiz[i] < SWIZZLE_W) 85 swiz[i] = SWIZZLE_X; 91 if (swiz[i] <= SWIZZLE_W) 92 swiz[i] = SWIZZLE_X; 98 if (swiz[i] == SWIZZLE_W) 99 swiz[i] = SWIZZLE_X [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_texture.c | 66 unsigned char swiz[4]; local 76 swiz[i] = GET_SWZ(swizzle, i); 82 if (swiz[i] == SWIZZLE_W) 83 swiz[i] = SWIZZLE_ONE; 84 else if (swiz[i] < SWIZZLE_W) 85 swiz[i] = SWIZZLE_X; 91 if (swiz[i] <= SWIZZLE_W) 92 swiz[i] = SWIZZLE_X; 98 if (swiz[i] == SWIZZLE_W) 99 swiz[i] = SWIZZLE_X [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_fs_vector_splitting.cpp | 241 ir_swizzle *swiz = (*rvalue)->as_swizzle(); 242 if (!swiz || !swiz->type->is_scalar()) 245 ir_dereference_variable *deref_var = swiz->val->as_dereference_variable(); 253 ir_variable *var = entry->components[swiz->mask.x];
|
brw_eu.h | 56 static inline bool brw_is_single_value_swizzle(int swiz) 58 return (swiz == BRW_SWIZZLE_XXXX || 59 swiz == BRW_SWIZZLE_YYYY || 60 swiz == BRW_SWIZZLE_ZZZZ || 61 swiz == BRW_SWIZZLE_WWWW);
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrConfigConversionEffect.cpp | 39 const char* swiz = fSwapRedAndBlue ? "bgr" : "rgb"; variable 44 outputColor, outputColor, swiz, outputColor, outputColor); 53 outputColor, outputColor, swiz, outputColor, outputColor); 57 outputColor, outputColor, outputColor, swiz, outputColor, outputColor); 61 outputColor, outputColor, outputColor, swiz, outputColor, outputColor);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_vector_splitting.cpp | 241 ir_swizzle *swiz = (*rvalue)->as_swizzle(); 242 if (!swiz || !swiz->type->is_scalar()) 245 ir_dereference_variable *deref_var = swiz->val->as_dereference_variable(); 253 ir_variable *var = entry->components[swiz->mask.x];
|
/external/skia/src/gpu/effects/ |
GrConfigConversionEffect.cpp | 39 const char* swiz = fSwapRedAndBlue ? "bgr" : "rgb"; variable 44 outputColor, outputColor, swiz, outputColor, outputColor); 53 outputColor, outputColor, swiz, outputColor, outputColor); 57 outputColor, outputColor, outputColor, swiz, outputColor, outputColor); 61 outputColor, outputColor, outputColor, swiz, outputColor, outputColor);
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_parameter_layout.c | 41 unsigned swiz = 0; local 47 swiz |= ((s <= SWIZZLE_W) ? GET_SWZ(base, s) : s) << (i * 3); 50 return swiz;
|
prog_opt_constant_fold.c | 50 unsigned swiz; local 56 (gl_constant_value *) &val, 1, &swiz); 57 src.Swizzle = swiz; 65 unsigned swiz; local 71 (gl_constant_value *) val, 4, &swiz); 72 src.Swizzle = swiz;
|
/external/mesa3d/src/mesa/program/ |
prog_parameter_layout.c | 41 unsigned swiz = 0; local 47 swiz |= ((s <= SWIZZLE_W) ? GET_SWZ(base, s) : s) << (i * 3); 50 return swiz;
|
prog_opt_constant_fold.c | 50 unsigned swiz; local 56 (gl_constant_value *) &val, 1, &swiz); 57 src.Swizzle = swiz; 65 unsigned swiz; local 71 (gl_constant_value *) val, 4, &swiz); 72 src.Swizzle = swiz;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_state_derived.c | 199 enum r300_rs_swizzle swiz) 202 if (swiz == SWIZ_0001) { 219 enum r300_rs_swizzle swiz) 221 if (swiz == SWIZ_X001) { 227 } else if (swiz == SWIZ_XY01) { 250 enum r300_rs_swizzle swiz) 253 if (swiz == SWIZ_0001) { 274 enum r300_rs_swizzle swiz) 276 if (swiz == SWIZ_X001) { 281 } else if (swiz == SWIZ_XY01) [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_state_derived.c | 199 enum r300_rs_swizzle swiz) 202 if (swiz == SWIZ_0001) { 219 enum r300_rs_swizzle swiz) 221 if (swiz == SWIZ_X001) { 227 } else if (swiz == SWIZ_XY01) { 250 enum r300_rs_swizzle swiz) 253 if (swiz == SWIZ_0001) { 274 enum r300_rs_swizzle swiz) 276 if (swiz == SWIZ_X001) { 281 } else if (swiz == SWIZ_XY01) [all...] |