Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_reg.h75 #define BRW_SWIZZLE4(a,b,c,d) (((a)<<0) | ((b)<<2) | ((c)<<4) | ((d)<<6)) macro
78 #define BRW_SWIZZLE_NOOP BRW_SWIZZLE4(0,1,2,3)
79 #define BRW_SWIZZLE_XYZW BRW_SWIZZLE4(0,1,2,3)
80 #define BRW_SWIZZLE_XXXX BRW_SWIZZLE4(0,0,0,0)
81 #define BRW_SWIZZLE_YYYY BRW_SWIZZLE4(1,1,1,1)
82 #define BRW_SWIZZLE_ZZZZ BRW_SWIZZLE4(2,2,2,2)
83 #define BRW_SWIZZLE_WWWW BRW_SWIZZLE4(3,3,3,3)
84 #define BRW_SWIZZLE_XYXY BRW_SWIZZLE4(0,1,0,1)
85 #define BRW_SWIZZLE_YXYX BRW_SWIZZLE4(1,0,1,0)
86 #define BRW_SWIZZLE_XZXZ BRW_SWIZZLE4(0,2,0,2)
[all …]
Dtest_vec4_copy_propagation.cpp132 v->emit(v->MOV(b, swizzle(src_reg(a), BRW_SWIZZLE4(SWIZZLE_Y, in TEST_F()
138 v->MOV(c, swizzle(src_reg(b), BRW_SWIZZLE4(SWIZZLE_Y, in TEST_F()
147 EXPECT_EQ(test_mov->src[0].swizzle, BRW_SWIZZLE4(SWIZZLE_Z, in TEST_F()
159 v->emit(v->MOV(b, swizzle(src_reg(a), BRW_SWIZZLE4(SWIZZLE_X, in TEST_F()
167 v->MOV(c, swizzle(src_reg(b), BRW_SWIZZLE4(SWIZZLE_W, in TEST_F()
177 EXPECT_EQ(test_mov->src[0].swizzle, BRW_SWIZZLE4(SWIZZLE_W, in TEST_F()
Dgen6_gs_visitor.cpp528 BRW_SWIZZLE4(0, 1, 2, 3), in xfb_setup()
529 BRW_SWIZZLE4(1, 2, 3, 3), in xfb_setup()
530 BRW_SWIZZLE4(2, 3, 3, 3), in xfb_setup()
531 BRW_SWIZZLE4(3, 3, 3, 3) in xfb_setup()
Dbrw_vec4_visitor.cpp1033 mcs.swizzle = BRW_SWIZZLE4(0, 0, 1, 1); in emit_texture()
1051 lod.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in emit_texture()
1052 lod2.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in emit_texture()
1105 swizzled.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, in emit_texture()
1168 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation()
Dbrw_vec4_copy_propagation.cpp130 BRW_SWIZZLE4(swz[0], swz[1], in get_copy_value()
Dbrw_vec4_nir.cpp614 BRW_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in nir_emit_intrinsic()
787 src.swizzle += BRW_SWIZZLE4(shift, shift, shift, shift); in nir_emit_intrinsic()
878 BRW_SWIZZLE4(const_offset->u32[0] % 16 / type_size, in nir_emit_intrinsic()
962 return BRW_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in brw_swizzle_for_nir_swizzle()
Dbrw_vec4.cpp766 inst->src[i].swizzle += BRW_SWIZZLE4(chan, chan, chan, chan); in pack_uniform_registers()
2437 scalar_inst->src[i].swizzle = BRW_SWIZZLE4(swz, swz, swz, swz); in scalarize_df()
2549 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle()
2590 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle()
Dtest_vec4_cmod_propagation.cpp796 cmp_src.swizzle = BRW_SWIZZLE4(0,1,3,2); in TEST_F()
Dbrw_disasm.c933 err |= src_swizzle(file, BRW_SWIZZLE4(swz_x, swz_y, swz_z, swz_w)); in src_da16()
Dbrw_vec4_generator.cpp1448 reg.swizzle += BRW_SWIZZLE4(shift, shift, shift, shift); in generate_mov_indirect()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs.c167 BRW_SWIZZLE4(0, 1, 2, 3), in brw_ff_gs_populate_key()
168 BRW_SWIZZLE4(1, 2, 3, 3), in brw_ff_gs_populate_key()
169 BRW_SWIZZLE4(2, 3, 3, 3), in brw_ff_gs_populate_key()
170 BRW_SWIZZLE4(3, 3, 3, 3) in brw_ff_gs_populate_key()