/external/mesa3d/src/glsl/builtins/ir/ |
cross | 7 (expression vec3 * (swiz yzx (var_ref a)) (swiz zxy (var_ref b))) 8 (expression vec3 * (swiz zxy (var_ref a)) (swiz yzx (var_ref b)))))))
|
all | 5 ((return (expression bool && (swiz x (var_ref arg0))(swiz y (var_ref arg0)))))) 10 ((return (expression bool && (expression bool && (swiz x (var_ref arg0))(swiz y (var_ref arg0))) (swiz z (var_ref arg0)))))) 15 ((return (expression bool && (expression bool && (expression bool && (swiz x (var_ref arg0))(swiz y (var_ref arg0))) (swiz z (var_ref arg0))) (swiz w (var_ref arg0))))))
|
pow | 14 (assign (constant bool (1)) (x) (var_ref ret) (call pow ((swiz x (var_ref b)) (swiz x (var_ref e)) ))) 15 (assign (constant bool (1)) (y) (var_ref ret) (call pow ((swiz y (var_ref b)) (swiz y (var_ref e)) ))) 26 (assign (constant bool (1)) (x) (var_ref ret) (call pow ((swiz x (var_ref b)) (swiz x (var_ref e)) ))) 27 (assign (constant bool (1)) (y) (var_ref ret) (call pow ((swiz y (var_ref b)) (swiz y (var_ref e)) ))) 28 (assign (constant bool (1)) (z) (var_ref ret) (call pow ((swiz z (var_ref b)) (swiz z (var_ref e)) )) [all...] |
transpose | 6 (assign (constant bool (1)) (x) (array_ref (var_ref t) (constant int (0))) (swiz x (array_ref (var_ref m) (constant int (0))))) 7 (assign (constant bool (1)) (x) (array_ref (var_ref t) (constant int (1))) (swiz y (array_ref (var_ref m) (constant int (0))))) 8 (assign (constant bool (1)) (y) (array_ref (var_ref t) (constant int (0))) (swiz x (array_ref (var_ref m) (constant int (1))))) 9 (assign (constant bool (1)) (y) (array_ref (var_ref t) (constant int (1))) (swiz y (array_ref (var_ref m) (constant int (1))))) 16 (assign (constant bool (1)) (x) (array_ref (var_ref t) (constant int (0))) (swiz x (array_ref (var_ref m) (constant int (0))))) 17 (assign (constant bool (1)) (x) (array_ref (var_ref t) (constant int (1))) (swiz y (array_ref (var_ref m) (constant int (0))))) 18 (assign (constant bool (1)) (x) (array_ref (var_ref t) (constant int (2))) (swiz z (array_ref (var_ref m) (constant int (0))))) 19 (assign (constant bool (1)) (y) (array_ref (var_ref t) (constant int (0))) (swiz x (array_ref (var_ref m) (constant int (1))))) 20 (assign (constant bool (1)) (y) (array_ref (var_ref t) (constant int (1))) (swiz y (array_ref (var_ref m) (constant int (1))))) 21 (assign (constant bool (1)) (y) (array_ref (var_ref t) (constant int (2))) (swiz z (array_ref (var_ref m) (constant int (1)))) [all...] |
step | 13 (assign (constant bool (1)) (x) (var_ref t) (expression float b2f (expression bool >= (swiz x (var_ref x))(var_ref edge)))) 14 (assign (constant bool (1)) (y) (var_ref t) (expression float b2f (expression bool >= (swiz y (var_ref x))(var_ref edge)))) 22 (assign (constant bool (1)) (x) (var_ref t) (expression float b2f (expression bool >= (swiz x (var_ref x))(var_ref edge)))) 23 (assign (constant bool (1)) (y) (var_ref t) (expression float b2f (expression bool >= (swiz y (var_ref x))(var_ref edge)))) 24 (assign (constant bool (1)) (z) (var_ref t) (expression float b2f (expression bool >= (swiz z (var_ref x))(var_ref edge)))) 32 (assign (constant bool (1)) (x) (var_ref t) (expression float b2f (expression bool >= (swiz x (var_ref x))(var_ref edge)))) 33 (assign (constant bool (1)) (y) (var_ref t) (expression float b2f (expression bool >= (swiz y (var_ref x))(var_ref edge)))) 34 (assign (constant bool (1)) (z) (var_ref t) (expression float b2f (expression bool >= (swiz z (var_ref x))(var_ref edge)))) 35 (assign (constant bool (1)) (w) (var_ref t) (expression float b2f (expression bool >= (swiz w (var_ref x))(var_ref edge)))) 43 (assign (constant bool (1)) (x) (var_ref t) (expression float b2f (expression bool >= (swiz x (var_ref x))(swiz x (var_ref edge)))) [all...] |
atan | 84 (call atan ((swiz x (var_ref y)) 85 (swiz x (var_ref x))))) 87 (call atan ((swiz y (var_ref y)) 88 (swiz y (var_ref x))))) 97 (call atan ((swiz x (var_ref y)) 98 (swiz x (var_ref x))))) 100 (call atan ((swiz y (var_ref y)) 101 (swiz y (var_ref x))))) 103 (call atan ((swiz z (var_ref y)) 104 (swiz z (var_ref x)))) [all...] |
mix | 64 ((assign (swiz x (var_ref a)) (x) (var_ref v1) (swiz x (var_ref v2))) 65 (assign (swiz y (var_ref a)) (y) (var_ref v1) (swiz y (var_ref v2))) 73 ((assign (swiz x (var_ref a)) (x) (var_ref v1) (swiz x (var_ref v2))) 74 (assign (swiz y (var_ref a)) (y) (var_ref v1) (swiz y (var_ref v2))) 75 (assign (swiz z (var_ref a)) (z) (var_ref v1) (swiz z (var_ref v2)) [all...] |
sin | 15 (assign (constant bool (1)) (x) (var_ref ret) (call sin ((swiz x (var_ref angle))))) 16 (assign (constant bool (1)) (y) (var_ref ret) (call sin ((swiz y (var_ref angle))))) 26 (assign (constant bool (1)) (x) (var_ref ret) (call sin ((swiz x (var_ref angle))))) 27 (assign (constant bool (1)) (y) (var_ref ret) (call sin ((swiz y (var_ref angle))))) 28 (assign (constant bool (1)) (z) (var_ref ret) (call sin ((swiz z (var_ref angle))))) 38 (assign (constant bool (1)) (x) (var_ref ret) (call sin ((swiz x (var_ref angle))))) 39 (assign (constant bool (1)) (y) (var_ref ret) (call sin ((swiz y (var_ref angle))))) 40 (assign (constant bool (1)) (z) (var_ref ret) (call sin ((swiz z (var_ref angle))))) 41 (assign (constant bool (1)) (w) (var_ref ret) (call sin ((swiz w (var_ref angle)))))
|
outerProduct | 7 (assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (0))) (expression vec2 * (var_ref u) (swiz x (var_ref v)))) 8 (assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (1))) (expression vec2 * (var_ref u) (swiz y (var_ref v)))) 16 (assign (constant bool (1)) (xyz) (array_ref (var_ref m) (constant int (0))) (expression vec3 * (var_ref u) (swiz x (var_ref v)))) 17 (assign (constant bool (1)) (xyz) (array_ref (var_ref m) (constant int (1))) (expression vec3 * (var_ref u) (swiz y (var_ref v)))) 25 (assign (constant bool (1)) (xyzw) (array_ref (var_ref m) (constant int (0))) (expression vec4 * (var_ref u) (swiz x (var_ref v)))) 26 (assign (constant bool (1)) (xyzw) (array_ref (var_ref m) (constant int (1))) (expression vec4 * (var_ref u) (swiz y (var_ref v)))) 34 (assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (0))) (expression vec2 * (var_ref u) (swiz x (var_ref v)))) 35 (assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (1))) (expression vec2 * (var_ref u) (swiz y (var_ref v)))) 36 (assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (2))) (expression vec2 * (var_ref u) (swiz z (var_ref v)))) 45 (assign (constant bool (1)) (xyz) (array_ref (var_ref m) (constant int (0))) (expression vec3 * (var_ref u) (swiz x (var_ref v))) [all...] |
/external/mesa3d/src/glsl/ |
opt_noop_swizzle.cpp | 55 ir_swizzle *swiz = (*rvalue)->as_swizzle(); 56 if (!swiz || swiz->type != swiz->val->type) 59 int elems = swiz->val->type->vector_elements; 60 if (swiz->mask.x != 0) 62 if (elems >= 2 && swiz->mask.y != 1) 64 if (elems >= 3 && swiz->mask.z != 2) 66 if (elems >= 4 && swiz->mask.w != 3) 70 *rvalue = swiz->val [all...] |
builtin_function.cpp | 152 " ((return (expression bool && (swiz x (var_ref arg0))(swiz y (var_ref arg0))))))\n" 157 " ((return (expression bool && (expression bool && (swiz x (var_ref arg0))(swiz y (var_ref arg0))) (swiz z (var_ref arg0))))))\n" 162 " ((return (expression bool && (expression bool && (expression bool && (swiz x (var_ref arg0))(swiz y (var_ref arg0))) (swiz z (var_ref arg0))) (swiz w (var_ref arg0))))))\n" 393 " (call atan ((swiz x (var_ref y))\n [all...] |
opt_constant_propagation.cpp | 129 ir_swizzle *swiz = NULL; 132 swiz = (*rvalue)->as_swizzle(); 133 if (!swiz) 136 deref = swiz->val->as_dereference_variable(); 148 if (swiz) { 150 case 0: channel = swiz->mask.x; break; 151 case 1: channel = swiz->mask.y; break; 152 case 2: channel = swiz->mask.z; break; 153 case 3: channel = swiz->mask.w; break;
|
hir_field_selection.cpp | 51 ir_swizzle *swiz = ir_swizzle::create(op, local 54 if (swiz != NULL) { 55 result = swiz;
|
ir_print_visitor.cpp | 237 const unsigned swiz[4] = { local 244 printf("(swiz "); 246 printf("%c", "xyzw"[swiz[i]]);
|
ir_reader.cpp | 580 else if (strcmp(tag->value(), "swiz") == 0) { 785 ir_read_error(st, list, "expected (swiz <swizzle> <rvalue>)"); 789 s_symbol *swiz = SX_AS_SYMBOL(list->subexpressions.head->next); local 790 if (swiz == NULL) { 795 if (strlen(swiz->value()) > 4) { 797 swiz->value()); 801 s_expression *sub = (s_expression*) swiz->next; 806 ir_swizzle *ir = ir_swizzle::create(rvalue, swiz->value(), [all...] |
README | 137 (assign (constant bool (1)) (swiz x (var_ref __retval) ) (var_ref a) ) 138 (assign (constant bool (1)) (swiz y (var_ref __retval) ) (var_ref b) ) 139 (assign (constant bool (1)) (swiz z (var_ref __retval) ) (var_ref c) )
|
ir.cpp | 77 ir_swizzle *swiz = lhs->as_swizzle(); local 79 if (swiz == NULL) 85 for (unsigned i = 0; i < swiz->mask.num_components; i++) { 89 case 0: c = swiz->mask.x; break; 90 case 1: c = swiz->mask.y; break; 91 case 2: c = swiz->mask.z; break; 92 case 3: c = swiz->mask.w; break; 101 lhs = swiz->val; [all...] |
ast_function.cpp | 835 unsigned swiz[4] = { 0, 0, 0, 0 }; local 837 swiz[i] = i; 857 rhs = new(ctx) ir_swizzle(rhs_col, swiz, last_row); [all...] |
ir.h | 707 * (swiz xyw (var_ref color))) [all...] |
/external/mesa3d/src/glsl/builtins/tools/ |
texture_builtins.py | 62 print "(swiz " + "xyzw"[:coord_dim] + " (var_ref P))", 72 print "(swiz " + "xyzw"[coord_dim + extra_dim-1] + " (var_ref P))", 78 print "(swiz w (var_ref P))", # ...array layer is z; shadow is w 80 print "(swiz z (var_ref P))",
|
/external/llvm/include/llvm/ |
IntrinsicsHexagon.td | [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonIntrinsics.td | [all...] |