Home
last modified time | relevance | path

Searched refs:brw_imm_f (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_clip_unfilled.c109 brw_imm_f(0)); in cull_direction()
146 brw_imm_f(0)); in copy_bfc()
213 brw_MUL(p, vec1(off), vec1(off), brw_imm_f(c->key.offset_factor)); in compute_offset()
214 brw_ADD(p, vec1(off), vec1(off), brw_imm_f(c->key.offset_units)); in compute_offset()
220 brw_imm_f(c->key.offset_clamp)); in compute_offset()
221 brw_SEL(p, vec1(off), vec1(off), brw_imm_f(c->key.offset_clamp)); in compute_offset()
248 brw_imm_f(0)); in merge_edgeflags()
256 brw_imm_f(0)); in merge_edgeflags()
330 brw_imm_f(0)); in emit_lines()
373 brw_imm_f(0)); in emit_points()
[all …]
Dtest_vec4_cmod_propagation.cpp161 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
197 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
233 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
304 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
344 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
383 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
425 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
465 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
537 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
571 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp129 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
161 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
195 fs_reg nonzero(brw_imm_f(1.0f)); in TEST_F()
293 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
331 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
373 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
412 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
453 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
494 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
531 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
[all …]
Dbrw_clip_line.c143 brw_MOV(p, vec2(c->reg.t0), brw_imm_f(0)); in clip_and_emit_line()
199 brw_CMP(p, brw_null_reg(), BRW_CONDITIONAL_L, vec1(c->reg.dp1), brw_imm_f(0.0f)); in clip_and_emit_line()
208 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_LE, c->reg.dp0, brw_imm_f(0.0)); in clip_and_emit_line()
234 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.dp0, brw_imm_f(0.0)); in clip_and_emit_line()
274 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.t, brw_imm_f(1.0)); in clip_and_emit_line()
Dbrw_vec4_visitor.cpp489 emit(MUL(dst, src_reg(f), brw_imm_f(1.0f / 255.0f))); in emit_unpack_unorm_4x8()
512 emit(MUL(scaled, src_reg(f), brw_imm_f(1.0f / 127.0f))); in emit_unpack_snorm_4x8()
515 emit_minmax(BRW_CONDITIONAL_GE, max, src_reg(scaled), brw_imm_f(-1.0f)); in emit_unpack_snorm_4x8()
516 emit_minmax(BRW_CONDITIONAL_L, dst, src_reg(max), brw_imm_f(1.0f)); in emit_unpack_snorm_4x8()
527 emit(MUL(scaled, src_reg(saturated), brw_imm_f(255.0f))); in emit_pack_unorm_4x8()
543 emit_minmax(BRW_CONDITIONAL_GE, max, src0, brw_imm_f(-1.0f)); in emit_pack_snorm_4x8()
546 emit_minmax(BRW_CONDITIONAL_L, min, src_reg(max), brw_imm_f(1.0f)); in emit_pack_snorm_4x8()
549 emit(MUL(scaled, src_reg(min), brw_imm_f(127.0f))); in emit_pack_snorm_4x8()
1035 emit(MUL(dst_f, src_reg(dst_f), brw_imm_f((float)((1 << width) - 1)))); in emit_gfx6_gather_wa()
1104 emit(MUL(header1_w, psiz, brw_imm_f((float)(1 << 11)))); in emit_psiz_and_flags()
[all …]
Dbrw_compile_sf.c166 brw_CMP(p, vec4(brw_null_reg()), backface_conditional, c->det, brw_imm_f(0)); in do_twoside_color()
646 brw_MOV(p, c->m1Cx, brw_imm_f(0.0)); in brw_emit_point_sprite_setup()
647 brw_MOV(p, c->m2Cy, brw_imm_f(0.0)); in brw_emit_point_sprite_setup()
656 brw_MOV(p, c->m3C0, brw_imm_f(0.0)); in brw_emit_point_sprite_setup()
658 brw_MOV(p, brw_writemask(c->m3C0, WRITEMASK_YW), brw_imm_f(1.0)); in brw_emit_point_sprite_setup()
660 brw_MOV(p, brw_writemask(c->m3C0, WRITEMASK_W), brw_imm_f(1.0)); in brw_emit_point_sprite_setup()
Dtest_fs_copy_propagation.cpp192 brw_imm_f(test[i].immediate))); in TEST_F()
219 EXPECT_TRUE(sel->src[1].equals(brw_imm_f(test[i].immediate))); in TEST_F()
Dbrw_clip_util.c218 brw_imm_f(0)); in brw_clip_interp_vertex()
252 brw_MOV(p, deref_4f(dest_ptr, delta), brw_imm_f(1)); in brw_clip_interp_vertex()
303 brw_MOV(p, deref_4f(dest_ptr, delta), brw_imm_f(0)); in brw_clip_interp_vertex()
Dtest_vec4_register_coalesce.cpp148 vec4_instruction *mul = v->emit(v->MUL(temp, something, brw_imm_f(1.0f))); in TEST_F()
172 vec4_instruction *mul = v->emit(v->MUL(temp, something, brw_imm_f(1.0f))); in TEST_F()
Dbrw_clip_tri.c78 brw_MOV(&c->func, byte_offset(c->reg.vertex[j], delta), brw_imm_f(0)); in brw_clip_tri_alloc_regs()
156 brw_MOV(p, c->reg.dir, brw_imm_f(-1)); in brw_clip_tri_init_vertices()
163 brw_MOV(p, c->reg.dir, brw_imm_f(1)); in brw_clip_tri_init_vertices()
168 brw_MOV(p, brw_vec8_grf(c->reg.outlist.nr, 0), brw_imm_f(0)); in brw_clip_tri_init_vertices()
249 brw_CMP(p, brw_null_reg(), cond, vec1(dst), brw_imm_f(0.0f)); in load_clip_distance()
Dbrw_fs_visitor.cpp76 bld.MUL(dst_f, dst_f, brw_imm_f((1 << width) - 1)); in emit_gfx6_gather_wa()
102 brw_imm_f(color[i])); in emit_dummy_fs()
495 abld.MAD(float_pixel_x, float_pixel_x, brw_imm_f(0.5f), f_cps_width); in emit_interpolation_setup_gfx6()
496 abld.MAD(float_pixel_y, float_pixel_y, brw_imm_f(0.5f), f_cps_height); in emit_interpolation_setup_gfx6()
604 cmp = abld.CMP(bld.null_reg_f(), color, brw_imm_f(key->alpha_test_ref), in emit_alpha_test()
Dtest_vec4_copy_propagation.cpp175 v->emit(v->MOV(writemask(a, WRITEMASK_XYZ), brw_imm_f(1.0f))); in TEST_F()
Dbrw_vec4_nir.cpp1025 op[idx] = src_reg(brw_imm_f(f[first_comp])); in try_immediate_source()
1371 inst = emit(ADD(dst, src_reg(dst), brw_imm_f(1.0f))); in nir_emit_alu()
1403 inst = emit(ADD(dst, src_reg(dst), brw_imm_f(1.0f))); in nir_emit_alu()
1418 emit(CMP(dst_null_f(), abs_src0, brw_imm_f(ldexpf(1.0, -14)), in nir_emit_alu()
1587 emit(CMP(dst, op[0], brw_imm_f(0.0f), BRW_CONDITIONAL_NZ)); in nir_emit_alu()
1787 emit(CMP(dst_null_f(), op[0], brw_imm_f(0.0f), BRW_CONDITIONAL_NZ)); in nir_emit_alu()
Dtest_fs_saturate_propagation.cpp299 fs_reg src1 = brw_imm_f(1.0f); in TEST_F()
415 fs_reg src0 = brw_imm_f(1.0f); in TEST_F()
416 fs_reg src1 = brw_imm_f(-2.0f); in TEST_F()
Dtest_eu_compact.cpp274 brw_ADD(p, g0, g2, brw_imm_f(1.0)); in TEST_P()
Dbrw_fs_builder.h757 ADD(one_minus_a, negate(a), brw_imm_f(1.0f)); in LRP()
Dbrw_reg.h652 brw_imm_f(float f) in brw_imm_f() function
Dbrw_fs_nir.cpp873 bld.CMP(bld.null_reg_f(), op[0], brw_imm_f(0.0f), BRW_CONDITIONAL_NZ); in emit_fsign()
1607 zero = instr->op == nir_op_f2b32 ? brw_imm_f(0.0f) : brw_imm_d(0); in nir_emit_alu()
1623 bld.ADD(result, result, brw_imm_f(1.0f))); in nir_emit_alu()
1647 bld.ADD(result, result, brw_imm_f(1.0f))); in nir_emit_alu()
1664 bld.CMP(bld.null_reg_f(), abs_src0, brw_imm_f(ldexpf(1.0, -14)), in nir_emit_alu()
Dbrw_fs.cpp1362 bld.MUL(dst, dst, brw_imm_f(1 / 16.0f)); in compute_sample_position()
1370 bld.MOV(dst, brw_imm_f(0.5f)); in compute_sample_position()
4928 bld.MOV(offset(msg_end, bld, i), brw_imm_f(0.0f)); in lower_sampler_logical_send_gfx4()
4985 bld.MOV(msg_end, brw_imm_f(0.0f)); in lower_sampler_logical_send_gfx4()
Dbrw_vec4.cpp867 inst->src[0] = brw_imm_f(0.0f); in opt_algebraic()
Dbrw_fs_generator.cpp1962 brw_MOV(p, brw_acc_reg(8), brw_imm_f(0.0f)); in generate_code()
Dtest_eu_validate.cpp123 #define zero brw_imm_f(0.0f)