Home
last modified time | relevance | path

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

/external/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.cpp149 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
185 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
221 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
292 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
332 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
371 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
413 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
453 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
525 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
559 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp107 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
139 fs_reg nonzero(brw_imm_f(1.0f)); in TEST_F()
205 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
244 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
282 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
323 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
360 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
425 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
458 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
493 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.cpp501 emit(MUL(dst, src_reg(f), brw_imm_f(1.0f / 255.0f))); in emit_unpack_unorm_4x8()
524 emit(MUL(scaled, src_reg(f), brw_imm_f(1.0f / 127.0f))); in emit_unpack_snorm_4x8()
527 emit_minmax(BRW_CONDITIONAL_GE, max, src_reg(scaled), brw_imm_f(-1.0f)); in emit_unpack_snorm_4x8()
528 emit_minmax(BRW_CONDITIONAL_L, dst, src_reg(max), brw_imm_f(1.0f)); in emit_unpack_snorm_4x8()
539 emit(MUL(scaled, src_reg(saturated), brw_imm_f(255.0f))); in emit_pack_unorm_4x8()
555 emit_minmax(BRW_CONDITIONAL_GE, max, src0, brw_imm_f(-1.0f)); in emit_pack_snorm_4x8()
558 emit_minmax(BRW_CONDITIONAL_L, min, src_reg(max), brw_imm_f(1.0f)); in emit_pack_snorm_4x8()
561 emit(MUL(scaled, src_reg(min), brw_imm_f(127.0f))); in emit_pack_snorm_4x8()
756 emit(ADD(one_minus_a, negate(a), brw_imm_f(1.0f))); in emit_lrp()
1125 emit(MUL(dst_f, src_reg(dst_f), brw_imm_f((float)((1 << width) - 1)))); in emit_gen6_gather_wa()
[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.cpp181 brw_imm_f(test[i].immediate))); in TEST_F()
208 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.cpp137 vec4_instruction *mul = v->emit(v->MUL(temp, something, brw_imm_f(1.0f))); in TEST_F()
161 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_surface_builder.cpp817 brw_imm_f(1.0f / scale(widths[c] - s))); in emit_convert_from_scaled()
822 offset(dst, bld, c), brw_imm_f(-1.0f), in emit_convert_from_scaled()
847 brw_imm_f(-1.0f), BRW_CONDITIONAL_GE); in emit_convert_to_scaled()
850 brw_imm_f(1.0f), BRW_CONDITIONAL_L); in emit_convert_to_scaled()
858 brw_imm_f((float)scale(widths[c] - s))); in emit_convert_to_scaled()
927 brw_imm_f(0.0f), BRW_CONDITIONAL_GE); in emit_convert_to_float()
Dtest_vec4_copy_propagation.cpp164 v->emit(v->MOV(writemask(a, WRITEMASK_XYZ), brw_imm_f(1.0f))); in TEST_F()
Dbrw_fs_visitor.cpp74 bld.MUL(dst_f, dst_f, brw_imm_f((1 << width) - 1)); in emit_gen6_gather_wa()
100 brw_imm_f(color[i])); in emit_dummy_fs()
351 cmp = abld.CMP(bld.null_reg_f(), color, brw_imm_f(key->alpha_test_ref), in emit_alpha_test()
Dtest_fs_saturate_propagation.cpp287 fs_reg src1 = brw_imm_f(1.0f); in TEST_F()
403 fs_reg src0 = brw_imm_f(1.0f); in TEST_F()
404 fs_reg src1 = brw_imm_f(-2.0f); in TEST_F()
Dtest_eu_compact.cpp188 brw_ADD(p, g0, g2, brw_imm_f(1.0)); in gen_ADD_GRF_GRF_IMM()
Dbrw_fs_combine_constants.cpp281 ibld.MOV(reg, brw_imm_f(imm->val)); in opt_combine_constants()
Dbrw_vec4_builder.h517 ADD(one_minus_a, negate(a), brw_imm_f(1.0f)); in LRP()
Dbrw_vec4_nir.cpp1117 vec4_instruction *inst = emit(MOV(dst, brw_imm_f(src.df))); in emit_conversion_from_double()
1427 emit(CMP(dst_null_f(), abs_src0, brw_imm_f(ldexpf(1.0, -14)), in nir_emit_alu()
1597 emit(CMP(dst, op[0], brw_imm_f(0.0f), BRW_CONDITIONAL_NZ)); in nir_emit_alu()
1815 emit(CMP(dst_null_f(), op[0], brw_imm_f(0.0f), BRW_CONDITIONAL_NZ)); in nir_emit_alu()
Dbrw_fs_builder.h556 ADD(one_minus_a, negate(a), brw_imm_f(1.0f)); in LRP()
Dbrw_reg.h593 brw_imm_f(float f) in brw_imm_f() function
Dbrw_fs_nir.cpp816 set_predicate(BRW_PREDICATE_NORMAL, bld.MOV(result, brw_imm_f(1.0f))); in nir_emit_alu()
824 bld.CMP(bld.null_reg_f(), op[0], brw_imm_f(0.0f), BRW_CONDITIONAL_NZ); in nir_emit_alu()
1186 bld.CMP(result, op[0], brw_imm_f(0.0f), BRW_CONDITIONAL_NZ); in nir_emit_alu()
1232 bld.CMP(bld.null_reg_f(), abs_src0, brw_imm_f(ldexpf(1.0, -14)), in nir_emit_alu()
3438 bld.MUL(temp, offset(offset_src, bld, i), brw_imm_f(16.0f)); in nir_emit_fs_intrinsic()
Dbrw_fs.cpp1155 bld.MUL(dst, dst, brw_imm_f(1 / 16.0f)); in compute_sample_position()
1163 bld.MOV(dst, brw_imm_f(0.5f)); in compute_sample_position()
3995 bld.MOV(offset(msg_end, bld, i), brw_imm_f(0.0f)); in lower_sampler_logical_send_gen4()
4052 bld.MOV(msg_end, brw_imm_f(0.0f)); in lower_sampler_logical_send_gen4()
Dtest_eu_validate.cpp138 #define zero brw_imm_f(0.0f)
Dbrw_vec4.cpp826 inst->src[0] = brw_imm_f(0.0f); in opt_algebraic()
Dbrw_eu_emit.c941 add = brw_ADD(p, dest, dest, brw_imm_f(1.0f)); \