Home
last modified time | relevance | path

Searched refs:swiz2 (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dopt_swizzle_swizzle.cpp56 ir_swizzle *swiz2 = ir->val->as_swizzle(); in visit_enter() local
57 if (!swiz2) in visit_enter()
61 if (swiz2->mask.num_components >= 1) in visit_enter()
62 mask2[0] = swiz2->mask.x; in visit_enter()
63 if (swiz2->mask.num_components >= 2) in visit_enter()
64 mask2[1] = swiz2->mask.y; in visit_enter()
65 if (swiz2->mask.num_components >= 3) in visit_enter()
66 mask2[2] = swiz2->mask.z; in visit_enter()
67 if (swiz2->mask.num_components >= 4) in visit_enter()
68 mask2[3] = swiz2->mask.w; in visit_enter()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cubemap_normalize.cpp73 ir_rvalue *swiz2 = new(mem_ctx) ir_swizzle(deref, 2, 0, 0, 0, 1); in visit_leave() local
77 swiz2 = new(mem_ctx) ir_expression(ir_unop_abs, swiz2->type, swiz2, NULL); in visit_leave()
86 expr, swiz2); in visit_leave()