Home
last modified time | relevance | path

Searched refs:brw_imm_d (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_fs_surface_builder.cpp396 bld.CMP(bld.null_reg_ud(), stride, brw_imm_d(4), in emit_untyped_image_check()
427 brw_imm_d(0), BRW_CONDITIONAL_NZ); in emit_typed_atomic_check()
505 const fs_reg srcs[] = { addr, brw_imm_d(0), offset(addr, bld, 1) }; in emit_image_coordinates()
555 fs_reg(brw_imm_d(0)))); in emit_address_calculation()
582 bld.BFE(offset(tmp, bld, 0), offset(tile, bld, 2), brw_imm_d(0), in emit_address_calculation()
616 brw_imm_d(0), offset(addr, bld, c)); in emit_address_calculation()
662 bld.AND(tmp, tmp, brw_imm_d(1 << 6)); in emit_address_calculation()
776 brw_imm_d((int)scale(widths[c] - s)), in emit_convert_to_integer()
782 brw_imm_d(-(int)scale(widths[c] - s) - 1), in emit_convert_to_integer()
792 brw_imm_d(scale(widths[c]))); in emit_convert_to_integer()
[all …]
Dgen6_gs_visitor.cpp185 emit(MOV(dst, brw_imm_d((_3DPRIM_POINTLIST << URB_WRITE_PRIM_TYPE_SHIFT) | in gs_emit_vertex()
236 emit(ADD(dst_reg(offset), this->vertex_output_offset, brw_imm_d(-1))); in gs_end_primitive()
242 emit(OR(dst_reg(dst), dst, brw_imm_d(URB_WRITE_PRIM_END))); in gs_end_primitive()
248 emit(MOV(dst_reg(this->first_vertex), brw_imm_d(URB_WRITE_PRIM_START))); in gs_end_primitive()
268 brw_imm_d(prog_data->vue_map.num_slots))); in emit_urb_write_header()
627 emit(MOV(dst_reg(sol_temp), brw_imm_d(i))); in xfb_write()
687 emit(MOV(dst_reg(this->vertex_output_offset), brw_imm_d(offset))); in xfb_program()
Dbrw_vec4_visitor.cpp891 brw_imm_d(0))); in emit_mcs_fetch()
996 brw_imm_d(0))); in emit_texture()
1095 src_reg(inst->dst), brw_imm_d(1)); in emit_texture()
1133 emit(SHL(dst, src_reg(dst), brw_imm_d(32 - width))); in emit_gen6_gather_wa()
1134 emit(ASR(dst, src_reg(dst), brw_imm_d(32 - width))); in emit_gen6_gather_wa()
1195 emit(AND(header1_w, src_reg(header1_w), brw_imm_d(0x7ff << 8))); in emit_psiz_and_flags()
1204 emit(VS_OPCODE_UNPACK_FLAGS_SIMD4X2, flags0, brw_imm_d(0)); in emit_psiz_and_flags()
1208 emit(VS_OPCODE_UNPACK_FLAGS_SIMD4X2, flags1, brw_imm_d(0)); in emit_psiz_and_flags()
1209 emit(SHL(flags1, src_reg(flags1), brw_imm_d(4))); in emit_psiz_and_flags()
1239 emit(MOV(retype(reg, BRW_REGISTER_TYPE_D), brw_imm_d(0))); in emit_psiz_and_flags()
[all …]
Dbrw_vec4_nir.cpp365 emit(MOV(reg, brw_imm_d(instr->value.i32[i]))); in nir_emit_load_const()
465 src_reg lod = brw_imm_d(0); in nir_emit_intrinsic()
1090 bld.ASR(dst_reg(temp), src, brw_imm_d(31)); in emit_find_msb_using_lzd()
1103 brw_imm_d(31)); in emit_find_msb_using_lzd()
1514 emit(MOV(dst, brw_imm_d(0))); in nir_emit_alu()
1515 inst = emit(MOV(dst, brw_imm_d(~0))); in nir_emit_alu()
1534 emit(MOV(dst, brw_imm_d(0))); in nir_emit_alu()
1535 inst = emit(MOV(dst, brw_imm_d(~0))); in nir_emit_alu()
1593 emit(MOV(dst_reg(one), brw_imm_d(~0))); in nir_emit_alu()
1594 inst = emit(BRW_OPCODE_SEL, dst, one, brw_imm_d(0)); in nir_emit_alu()
[all …]
Dbrw_fs_nir.cpp570 bld.OR(tmp, g1_6, brw_imm_d(0x3f800000)); in optimize_frontfacing_ternary()
572 bld.AND(retype(result, BRW_REGISTER_TYPE_D), tmp, brw_imm_d(0xbf800000)); in optimize_frontfacing_ternary()
608 bld.ASR(temp, src, brw_imm_d(31)); in emit_find_msb_using_lzd()
620 inst = bld.ADD(result, retype(result, BRW_REGISTER_TYPE_D), brw_imm_d(31)); in emit_find_msb_using_lzd()
742 brw_imm_d(brw_rnd_mode_from_nir_op(instr->op))); in nir_emit_alu()
872 bld.CMP(bld.null_reg_d(), op[0], brw_imm_d(0), BRW_CONDITIONAL_G); in nir_emit_alu()
873 bld.ASR(result, op[0], brw_imm_d(31)); in nir_emit_alu()
874 inst = bld.OR(result, result, brw_imm_d(1)); in nir_emit_alu()
1188 bld.CMP(result, op[0], brw_imm_d(0), BRW_CONDITIONAL_NZ); in nir_emit_alu()
1330 bld.CMP(bld.null_reg_d(), result, brw_imm_d(-1), BRW_CONDITIONAL_NZ); in nir_emit_alu()
[all …]
Dbrw_compile_sf.c234 brw_MUL(p, c->pv, c->pv, brw_imm_d(jmpi*(nr*2+1))); in do_flatshade_triangle()
239 brw_JMPI(p, brw_imm_d(jmpi*(nr*4+1)), BRW_PREDICATE_NONE); in do_flatshade_triangle()
243 brw_JMPI(p, brw_imm_d(jmpi*nr*2), BRW_PREDICATE_NONE); in do_flatshade_triangle()
266 brw_MUL(p, c->pv, c->pv, brw_imm_d(jmpi*(nr+1))); in do_flatshade_line()
778 jmp = brw_JMPI(p, brw_imm_d(0), BRW_PREDICATE_NORMAL) - p->store; in brw_emit_anyprim_setup()
789 jmp = brw_JMPI(p, brw_imm_d(0), BRW_PREDICATE_NORMAL) - p->store; in brw_emit_anyprim_setup()
795 jmp = brw_JMPI(p, brw_imm_d(0), BRW_PREDICATE_NORMAL) - p->store; in brw_emit_anyprim_setup()
Dbrw_vec4_surface_builder.cpp74 bld.MOV(writemask(tmp, ~mask), brw_imm_d(0)); in emit_insert()
243 ubld.MOV(dst, brw_imm_d(0)); in emit_typed_message_header()
251 ubld.MOV(writemask(dst, WRITEMASK_W), brw_imm_d(0x11)); in emit_typed_message_header()
Dbrw_clip_unfilled.c303 brw_ADD(p, c->reg.loopcount, c->reg.loopcount, brw_imm_d(-1)); in emit_lines()
342 brw_ADD(p, c->reg.loopcount, c->reg.loopcount, brw_imm_d(-1)); in emit_lines()
385 brw_ADD(p, c->reg.loopcount, c->reg.loopcount, brw_imm_d(-1)); in emit_points()
463 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.nr_verts, brw_imm_d(3)); in check_nr_verts()
Dbrw_eu_emit.c381 brw_set_src1(p, inst, brw_imm_d(0)); in brw_set_message_descriptor()
1286 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_IF()
1300 brw_set_src0(p, insn, brw_imm_d(0)); in brw_IF()
1487 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_ELSE()
1501 brw_set_src0(p, insn, brw_imm_d(0)); in brw_ELSE()
1565 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_ENDIF()
1575 brw_set_src0(p, insn, brw_imm_d(0)); in brw_ENDIF()
1604 brw_set_src0(p, insn, brw_imm_d(0x0)); in brw_BREAK()
1608 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_BREAK()
1612 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_BREAK()
[all …]
Dbrw_fs_visitor.cpp46 srcs[TEX_LOGICAL_SRC_COORD_COMPONENTS] = brw_imm_d(components); in emit_mcs_fetch()
47 srcs[TEX_LOGICAL_SRC_GRAD_COMPONENTS] = brw_imm_d(0); in emit_mcs_fetch()
82 bld.SHL(dst, dst, brw_imm_d(32 - width)); in emit_gen6_gather_wa()
83 bld.ASR(dst, dst, brw_imm_d(32 - width)); in emit_gen6_gather_wa()
Dbrw_clip_tri.c284 brw_MOV(p, c->reg.clipdistance_offset, brw_imm_d(clipdist0_offset - 6*sizeof(float))); in brw_clip_tri()
402 brw_ADD(p, c->reg.loopcount, c->reg.loopcount, brw_imm_d(-1)); in brw_clip_tri()
456 brw_imm_d(-2)); in brw_clip_tri_emit_polygon()
482 brw_ADD(p, c->reg.loopcount, c->reg.loopcount, brw_imm_d(-1)); in brw_clip_tri_emit_polygon()
Dtest_fs_cmod_propagation.cpp459 fs_reg one(brw_imm_d(1)); in TEST_F()
494 fs_reg nonone(brw_imm_d(38)); in TEST_F()
529 fs_reg one(brw_imm_d(1)); in TEST_F()
Dtest_vec4_cmod_propagation.cpp222 src_reg one(brw_imm_d(1)); in TEST_F()
560 src_reg nonone(brw_imm_d(38)); in TEST_F()
755 src_reg nonone = retype(brw_imm_d(16), BRW_REGISTER_TYPE_D); in TEST_F()
Dtest_eu_compact.cpp197 brw_ADD(p, g0, g2, brw_imm_d(1)); in gen_ADD_GRF_GRF_IMM_d()
Dbrw_clip_line.c164 brw_MOV(p, c->reg.clipdistance_offset, brw_imm_d(clipdist0_offset - 6*sizeof(float))); in clip_and_emit_line()
Dbrw_fs_builder.h241 return brw_imm_d(0xffffffff); in sample_mask_reg()
Dbrw_vec4_tcs.cpp257 brw_imm_d(key->input_vertices))); in nir_emit_intrinsic()
Dbrw_fs.cpp595 struct brw_reg offset = brw_imm_d(index * BRW_SHADER_TIME_STRIDE); in SHADER_TIME_ADD()
1123 bld.ASR(*reg, g0, brw_imm_d(15)); in emit_frontfacing_interpolation()
1138 bld.ASR(*reg, g1_6, brw_imm_d(31)); in emit_frontfacing_interpolation()
1231 abld.MOV(*reg, brw_imm_d(0)); in emit_sampleid_setup()
1298 abld.exec_all().group(1, 0).SHR(t1, t1, brw_imm_d(5)); in emit_sampleid_setup()
1342 abld.MOV(one, brw_imm_d(1)); in emit_samplemaskin_setup()
4311 sources[length] = brw_imm_d(0); in lower_sampler_logical_send_gen7()
4459 ubld.MOV(dst, brw_imm_d(0)); in emit_surface_header()
4681 brw_imm_d(0xffff)); in lower_logical_sends()
Dbrw_vec4_generator.cpp1110 brw_ADD(p, m1_4, index_4, brw_imm_d(second_vertex_offset)); in generate_oword_dual_block_offsets()
1284 brw_imm_d(offset.ud >> 4)); in generate_pull_constant_load()
1288 offset, brw_imm_d(4)); in generate_pull_constant_load()
Dbrw_reg.h620 brw_imm_d(int d) in brw_imm_d() function
Dbrw_vec4.cpp829 inst->src[0] = brw_imm_d(0); in opt_algebraic()
1448 inst->src[0] = brw_imm_d(0); in eliminate_find_live_channel()
1921 emit(MOV(offset, brw_imm_d(index * BRW_SHADER_TIME_STRIDE))); in emit_shader_time_write()
Dbrw_fs_generator.cpp591 brw_set_src1(p, insn, brw_imm_d(0)); in generate_urb_write()
620 brw_set_src1(p, insn, brw_imm_d(0)); in generate_cs_terminate()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs_emit.c149 brw_imm_d(offset)); in brw_ff_gs_offset_header_dw2()