Home
last modified time | relevance | path

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

12

/external/mesa3d/src/intel/compiler/
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.cpp812 brw_imm_d(0))); in emit_mcs_fetch()
915 brw_imm_d(0))); in emit_texture()
1005 src_reg(inst->dst), brw_imm_d(1)); in emit_texture()
1043 emit(SHL(dst, src_reg(dst), brw_imm_d(32 - width))); in emit_gen6_gather_wa()
1044 emit(ASR(dst, src_reg(dst), brw_imm_d(32 - width))); in emit_gen6_gather_wa()
1105 emit(AND(header1_w, src_reg(header1_w), brw_imm_d(0x7ff << 8))); in emit_psiz_and_flags()
1113 emit(VS_OPCODE_UNPACK_FLAGS_SIMD4X2, flags0, brw_imm_d(0)); in emit_psiz_and_flags()
1120 emit(VS_OPCODE_UNPACK_FLAGS_SIMD4X2, flags1, brw_imm_d(0)); in emit_psiz_and_flags()
1121 emit(SHL(flags1, src_reg(flags1), brw_imm_d(4))); in emit_psiz_and_flags()
1151 emit(MOV(retype(reg, BRW_REGISTER_TYPE_D), brw_imm_d(0))); in emit_psiz_and_flags()
[all …]
Dbrw_vec4_nir.cpp261 return nir_src_is_const(src) ? src_reg(brw_imm_d(nir_src_as_int(src))) : in get_nir_src_imm()
365 emit(MOV(reg, brw_imm_d(instr->value[i].i32))); in nir_emit_load_const()
453 src_reg lod = brw_imm_d(0); in nir_emit_intrinsic()
847 bld.ASR(dst_reg(temp), src, brw_imm_d(31)); in emit_find_msb_using_lzd()
860 brw_imm_d(31)); in emit_find_msb_using_lzd()
974 op[idx] = retype(src_reg(brw_imm_d(d)), old_type); in try_immediate_source()
1479 emit(MOV(dst, brw_imm_d(0))); in nir_emit_alu()
1480 inst = emit(MOV(dst, brw_imm_d(~0))); in nir_emit_alu()
1499 emit(MOV(dst, brw_imm_d(0))); in nir_emit_alu()
1500 inst = emit(MOV(dst, brw_imm_d(~0))); 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_fs_nir.cpp647 bld.OR(tmp, g1_6, brw_imm_d(0x3f800000)); in optimize_frontfacing_ternary()
649 bld.AND(retype(result, BRW_REGISTER_TYPE_D), tmp, brw_imm_d(0xbf800000)); in optimize_frontfacing_ternary()
685 bld.ASR(temp, src, brw_imm_d(31)); in emit_find_msb_using_lzd()
697 inst = bld.ADD(result, retype(result, BRW_REGISTER_TYPE_D), brw_imm_d(31)); in emit_find_msb_using_lzd()
841 bld.ADD(result, op, brw_imm_d(1)); in try_emit_b2fi_of_inot()
1078 bld.emit(SHADER_OPCODE_RND_MODE, bld.null_reg_ud(), brw_imm_d(rnd)); in nir_emit_alu()
1163 brw_imm_d(rnd)); in nir_emit_alu()
1228 brw_imm_d(rnd)); in nir_emit_alu()
1290 brw_imm_d(rnd)); in nir_emit_alu()
1582 zero = instr->op == nir_op_f2b32 ? brw_imm_f(0.0f) : brw_imm_d(0); in nir_emit_alu()
[all …]
Dbrw_fs_visitor.cpp48 srcs[TEX_LOGICAL_SRC_COORD_COMPONENTS] = brw_imm_d(components); in emit_mcs_fetch()
49 srcs[TEX_LOGICAL_SRC_GRAD_COMPONENTS] = brw_imm_d(0); in emit_mcs_fetch()
84 bld.SHL(dst, dst, brw_imm_d(32 - width)); in emit_gen6_gather_wa()
85 bld.ASR(dst, dst, brw_imm_d(32 - width)); in emit_gen6_gather_wa()
265 brw_imm_d(mode), brw_imm_d(mask)); in emit_shader_float_controls_execution_mode()
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.c1410 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_IF()
1425 brw_set_src0(p, insn, brw_imm_d(0)); in brw_IF()
1611 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_ELSE()
1626 brw_set_src0(p, insn, brw_imm_d(0)); in brw_ELSE()
1690 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_ENDIF()
1700 brw_set_src0(p, insn, brw_imm_d(0)); in brw_ENDIF()
1729 brw_set_src0(p, insn, brw_imm_d(0x0)); in brw_BREAK()
1733 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_BREAK()
1737 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_BREAK()
1756 brw_set_src0(p, insn, brw_imm_d(0x0)); in brw_CONT()
[all …]
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()
Dbrw_vec4_surface_builder.cpp74 bld.MOV(writemask(tmp, ~mask), brw_imm_d(0)); in emit_insert()
Dbrw_fs_combine_constants.cpp279 return brw_imm_d(imm->d64); in build_imm_reg_for_copy()
281 return brw_imm_d(imm->d); in build_imm_reg_for_copy()
Dtest_fs_cmod_propagation.cpp585 fs_reg one(brw_imm_d(1)); in TEST_F()
620 fs_reg nonone(brw_imm_d(38)); in TEST_F()
809 fs_reg zero(brw_imm_d(0)); in TEST_F()
810 fs_reg one(brw_imm_d(1)); in TEST_F()
870 fs_reg zero(brw_imm_d(0)); in TEST_F()
930 fs_reg one(brw_imm_d(1)); in TEST_F()
1469 bld.ASR(dest0, negate(src0), brw_imm_d(15)); in TEST_F()
1568 fs_reg zero(brw_imm_d(0)); in test_negative_int_saturate_prop()
Dtest_eu_compact.cpp201 brw_ADD(p, g0, g2, brw_imm_d(1)); in gen_ADD_GRF_GRF_IMM_d()
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()
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_vec4_tcs.cpp257 brw_imm_d(key->input_vertices))); in nir_emit_intrinsic()
Dbrw_fs.cpp658 struct brw_reg offset = brw_imm_d(index * BRW_SHADER_TIME_STRIDE); in SHADER_TIME_ADD()
1303 bld.ASR(tmp, g1, brw_imm_d(15)); in emit_frontfacing_interpolation()
1320 bld.ASR(*reg, g0, brw_imm_d(15)); in emit_frontfacing_interpolation()
1335 bld.ASR(*reg, g1_6, brw_imm_d(31)); in emit_frontfacing_interpolation()
1414 abld.MOV(*reg, brw_imm_d(0)); in emit_sampleid_setup()
1485 abld.exec_all().group(1, 0).SHR(t1, t1, brw_imm_d(5)); in emit_sampleid_setup()
1536 abld.MOV(one, brw_imm_d(1)); in emit_samplemaskin_setup()
4248 ibld.SHR(tmp1, inst->src[1], brw_imm_d(1)); in lower_sub_sat()
5112 sources[length] = brw_imm_d(0); in lower_sampler_logical_send_gen7()
5473 fs_reg(brw_imm_d(0xffff)); in lower_surface_logical_send()
[all …]
Dbrw_vec4_generator.cpp1118 brw_ADD(p, m1_4, index_4, brw_imm_d(second_vertex_offset)); in generate_oword_dual_block_offsets()
1289 brw_imm_d(offset.ud >> 4)); in generate_pull_constant_load()
1293 offset, brw_imm_d(4)); in generate_pull_constant_load()
Dbrw_vec4.cpp869 inst->src[0] = brw_imm_d(0); in opt_algebraic()
1494 inst->src[0] = brw_imm_d(0); in eliminate_find_live_channel()
1972 emit(MOV(offset, brw_imm_d(index * BRW_SHADER_TIME_STRIDE))); in emit_shader_time_write()
Dbrw_reg.h687 brw_imm_d(int d) in brw_imm_d() function
/external/mesa3d/src/intel/tools/
Di965_gram.y1122 brw_set_src0(p, brw_last_inst, brw_imm_d(0x0));
1137 brw_set_src1(p, brw_last_inst, brw_imm_d(0x0));
1170 brw_set_src0(p, brw_last_inst, brw_imm_d(0));
1181 brw_set_src1(p, brw_last_inst, brw_imm_d(0x0));
1219 brw_set_src0(p, brw_last_inst, brw_imm_d(0x0));
1232 brw_set_src1(p, brw_last_inst, brw_imm_d(0x0));
1270 brw_set_src0(p, brw_last_inst, brw_imm_d(0x0));
1284 brw_set_src1(p, brw_last_inst, brw_imm_d($4));
1308 brw_set_src0(p, brw_last_inst, brw_imm_d(0x0));
1314 brw_set_src1(p, brw_last_inst, brw_imm_d(0x0));
[all …]
/external/igt-gpu-tools/assembler/
Dbrw_eu_emit.c455 brw_set_src1(p, inst, brw_imm_d(0)); in brw_set_message_descriptor()
1185 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_IF()
1386 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_ELSE()
1459 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_ENDIF()
1496 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_BREAK()
1500 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_BREAK()
1519 brw_set_src1(p, insn, brw_imm_d(0x0)); in gen6_CONT()
1532 brw_set_src1(p, insn, brw_imm_d(0x0)); in brw_CONT()
1548 brw_set_src1(p, insn, brw_imm_d(0x0)); /* UIP and JIP, updated later. */ in gen6_HALT()
1669 brw_set_src1(p, insn, brw_imm_d((do_insn - insn) * 16)); in brw_WHILE()
[all …]
Dgen8_instruction.c354 gen8_set_src1(inst, brw_imm_d(0)); in gen8_set_message_descriptor()
Dbrw_reg.h386 brw_imm_d(int d) in brw_imm_d() function
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs_emit.c149 brw_imm_d(offset)); in brw_ff_gs_offset_header_dw2()

12