Home
last modified time | relevance | path

Searched refs:BRW_SWIZZLE4 (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_gs.c157 BRW_SWIZZLE4(0, 1, 2, 3), in populate_key()
158 BRW_SWIZZLE4(1, 2, 3, 3), in populate_key()
159 BRW_SWIZZLE4(2, 3, 3, 3), in populate_key()
160 BRW_SWIZZLE4(3, 3, 3, 3) in populate_key()
Dbrw_eu.h45 #define BRW_SWIZZLE4(a,b,c,d) (((a)<<0) | ((b)<<2) | ((c)<<4) | ((d)<<6)) macro
48 #define BRW_SWIZZLE_NOOP BRW_SWIZZLE4(0,1,2,3)
49 #define BRW_SWIZZLE_XYZW BRW_SWIZZLE4(0,1,2,3)
50 #define BRW_SWIZZLE_XXXX BRW_SWIZZLE4(0,0,0,0)
51 #define BRW_SWIZZLE_YYYY BRW_SWIZZLE4(1,1,1,1)
52 #define BRW_SWIZZLE_ZZZZ BRW_SWIZZLE4(2,2,2,2)
53 #define BRW_SWIZZLE_WWWW BRW_SWIZZLE4(3,3,3,3)
54 #define BRW_SWIZZLE_XYXY BRW_SWIZZLE4(0,1,0,1)
675 reg.dw1.bits.swizzle = BRW_SWIZZLE4(BRW_GET_SWZ(reg.dw1.bits.swizzle, x), in brw_swizzle()
Dbrw_vec4.cpp44 BRW_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X), in swizzle_for_size()
45 BRW_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Y, SWIZZLE_Y), in swizzle_for_size()
46 BRW_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z), in swizzle_for_size()
47 BRW_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W), in swizzle_for_size()
133 this->swizzle = BRW_SWIZZLE4(swizzles[0], swizzles[1], in src_reg()
509 inst->src[i].swizzle = BRW_SWIZZLE4(sx, sy, sz, sw); in pack_uniform_registers()
Dbrw_vec4_visitor.cpp1353 packed_consts.swizzle += BRW_SWIZZLE4(const_offset % 16 / 4, in visit()
1413 src.swizzle = BRW_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in visit()
1714 src.swizzle = BRW_SWIZZLE4(swizzles[0], swizzles[1], in visit()
1940 src.swizzle = BRW_SWIZZLE4(BRW_GET_SWZ(src.swizzle, j), in visit()
1985 dPdx.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in visit()
1986 dPdy.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in visit()
2044 orig_val.swizzle = BRW_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in swizzle_result()
2115 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation()
Dbrw_vec4_copy_propagation.cpp193 value.swizzle = BRW_SWIZZLE4(s[0], s[1], s[2], s[3]); in try_copy_propagation()
Dbrw_vs_emit.c1364 reg.dw1.bits.swizzle = BRW_SWIZZLE4(GET_SWZ(src->Swizzle, 0), in get_arg()
1900 BRW_SWIZZLE4(GET_SWZ(src->Swizzle, 0), in brw_old_vs_emit()