Home
last modified time | relevance | path

Searched refs:BRW_SWIZZLE4 (Results 1 – 16 of 16) 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_cmod_propagation.cpp225 scan_inst->src[0].swizzle = BRW_SWIZZLE4(src0_chan, in opt_cmod_propagation_local()
232 scan_inst->src[1].swizzle = BRW_SWIZZLE4(src1_chan, in opt_cmod_propagation_local()
Dbrw_vec4_visitor.cpp961 lod.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in emit_texture()
962 lod2.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in emit_texture()
1015 swizzled.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, in emit_texture()
1078 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation()
Dbrw_vec4_copy_propagation.cpp121 BRW_SWIZZLE4(swz[0], swz[1], in get_copy_value()
Dbrw_vec4.cpp789 inst->src[i].swizzle += BRW_SWIZZLE4(chan, chan, chan, chan); in pack_uniform_registers()
2489 scalar_inst->src[i].swizzle = BRW_SWIZZLE4(swz, swz, swz, swz); in scalarize_df()
2601 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle()
2642 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle()
Dbrw_vec4_nir.cpp604 src.swizzle += BRW_SWIZZLE4(shift, shift, shift, shift); in nir_emit_intrinsic()
689 BRW_SWIZZLE4(load_offset % 16 / type_size, in nir_emit_intrinsic()
760 return BRW_SWIZZLE4(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in brw_swizzle_for_nir_swizzle()
Dtest_vec4_cmod_propagation.cpp796 cmp_src.swizzle = BRW_SWIZZLE4(0,1,3,2); in TEST_F()
Dbrw_fs_nir.cpp5170 brw_imm_ud(BRW_SWIZZLE4(1,0,3,2))); in nir_emit_intrinsic()
5195 brw_imm_ud(BRW_SWIZZLE4(2,3,0,1))); in nir_emit_intrinsic()
5216 brw_imm_ud(BRW_SWIZZLE4(3,2,1,0))); in nir_emit_intrinsic()
Dbrw_disasm.c1009 err |= src_swizzle(file, BRW_SWIZZLE4(swz_x, swz_y, swz_z, swz_w)); in src_da16()
Dbrw_vec4_generator.cpp1425 reg.swizzle += BRW_SWIZZLE4(shift, shift, shift, shift); in generate_mov_indirect()
/external/igt-gpu-tools/assembler/
Dbrw_reg.h70 #define BRW_SWIZZLE4(a,b,c,d) (((a)<<0) | ((b)<<2) | ((c)<<4) | ((d)<<6)) macro
73 #define BRW_SWIZZLE_NOOP BRW_SWIZZLE4(0,1,2,3)
74 #define BRW_SWIZZLE_XYZW BRW_SWIZZLE4(0,1,2,3)
75 #define BRW_SWIZZLE_XXXX BRW_SWIZZLE4(0,0,0,0)
76 #define BRW_SWIZZLE_YYYY BRW_SWIZZLE4(1,1,1,1)
77 #define BRW_SWIZZLE_ZZZZ BRW_SWIZZLE4(2,2,2,2)
78 #define BRW_SWIZZLE_WWWW BRW_SWIZZLE4(3,3,3,3)
79 #define BRW_SWIZZLE_XYXY BRW_SWIZZLE4(0,1,0,1)
669 reg.dw1.bits.swizzle = BRW_SWIZZLE4(BRW_GET_SWZ(reg.dw1.bits.swizzle, x), in brw_swizzle()
Dgram.y2795 $$.reg.dw1.bits.swizzle = BRW_SWIZZLE4($2, $2, $2, $2);
2799 $$.reg.dw1.bits.swizzle = BRW_SWIZZLE4($2, $3, $4, $5);
/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()
/external/mesa3d/src/intel/tools/
Di965_gram.y2149 $$ = BRW_SWIZZLE4($2, $2, $2, $2);
2153 $$ = BRW_SWIZZLE4($2, $3, $4, $5);