Home
last modified time | relevance | path

Searched refs:bary (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/samplecode/
DSampleDegenerateQuads.cpp157 const SkPoint& t2, SkScalar bary[3]) { in inside_triangle()
182 bary[0] = d1 * d12; in inside_triangle()
183 bary[1] = d2 * d20; in inside_triangle()
184 bary[2] = d0 * d01; in inside_triangle()
186 SkScalar sum = bary[0] + bary[1] + bary[2]; in inside_triangle()
187 bary[0] /= sum; in inside_triangle()
188 bary[1] /= sum; in inside_triangle()
189 bary[2] /= sum; in inside_triangle()
207 SkScalar bary[3]; in get_framed_coverage() local
216 if (inside_triangle(point, t0, t1, t2, bary)) { in get_framed_coverage()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_interpolation.c111 nir_ssa_def *bary = intr->src[0].ssa; in nir_lower_interpolation_block() local
114 val = nir_ffma(b, nir_channel(b, bary, 1), in nir_lower_interpolation_block()
117 val = nir_ffma(b, nir_channel(b, bary, 0), in nir_lower_interpolation_block()
Dnir_builder.h1602 nir_intrinsic_instr *bary = nir_intrinsic_instr_create(build->shader, op); in nir_load_barycentric() local
1603 nir_ssa_dest_init(&bary->instr, &bary->dest, num_components, 32, NULL); in nir_load_barycentric()
1604 nir_intrinsic_set_interp_mode(bary, interp_mode); in nir_load_barycentric()
1605 nir_builder_instr_insert(build, &bary->instr); in nir_load_barycentric()
1606 return &bary->dest.ssa; in nir_load_barycentric()
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/
DdEQP-VK.draw.indirect_draw.indexed.indirect_draw_count.triangle_list.log881 :2:0000:0000[47300002x_00002000x] bary.f r0.z, 0, r0.x
882 :2:0001:0001[47300003x_00002001x] bary.f r0.w, 1, r0.x
883 :2:0002:0002[47300004x_00002002x] bary.f r1.x, 2, r0.x
884 :2:0003:0003[47308005x_00002003x] bary.f (ei)r1.y, 3, r0.x
901 :2:0000:0000[47300002x_00002000x] bary.f r0.z, 0, r0.x
902 :2:0001:0001[47300003x_00002001x] bary.f r0.w, 1, r0.x
903 :2:0002:0002[47300004x_00002002x] bary.f r1.x, 2, r0.x
904 :2:0003:0003[47308005x_00002003x] bary.f (ei)r1.y, 3, r0.x
1489 :2:0000:0000[47300002x_00002000x] bary.f r0.z, 0, r0.x
1490 :2:0001:0001[47300003x_00002001x] bary.f r0.w, 1, r0.x
[all …]
Dglxgears-a420.log1055 :2:0005:0005[473090fcx_00002000x] (ss)bary.f (ei)r63.x, 0, r0.x
1672 :2:0005:0005[473090fcx_00002000x] (ss)bary.f (ei)r63.x, 0, r0.x
2086 :2:0000:0000[47300002x_00002000x] bary.f r0.z, 0, r0.x
2087 :2:0001:0001[47300003x_00002001x] bary.f r0.w, 1, r0.x
2088 :2:0002:0002[47300004x_00002002x] bary.f r1.x, 2, r0.x
2089 :2:0003:0003[47308005x_00002003x] bary.f (ei)r1.y, 3, r0.x
2472 :2:0005:0005[473090fcx_00002000x] (ss)bary.f (ei)r63.x, 0, r0.x
3012 :2:0005:0005[473090fcx_00002000x] (ss)bary.f (ei)r63.x, 0, r0.x
3426 :2:0000:0000[47300002x_00002000x] bary.f r0.z, 0, r0.x
3427 :2:0001:0001[47300003x_00002001x] bary.f r0.w, 1, r0.x
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.h634 bool bary : 1; /* fetched varying (vs one loaded into reg) */ member
999 if (so->inputs[i].compmask && so->inputs[i].bary) in ir3_next_varying()
Dir3_compiler_nir.c1756 get_barycentric(struct ir3_context *ctx, enum ir3_bary bary) in get_barycentric() argument
1773 if (!ctx->ij[bary]) { in get_barycentric()
1778 bary, 0x3); in get_barycentric()
1781 ctx->ij[bary] = ir3_create_collect(ctx->in_block, xy, 2); in get_barycentric()
1784 return ctx->ij[bary]; in get_barycentric()
1850 enum ir3_bary bary = sysval - SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL; in emit_intrinsic_barycentric() local
1852 struct ir3_instruction *ij = get_barycentric(ctx, bary); in emit_intrinsic_barycentric()
3952 so->inputs[n].bary = true; in setup_input()
4059 so->inputs[i].bary = false; in pack_inlocs()
4081 so->inputs[i].bary = true; in pack_inlocs()
[all …]
Dir3_shader.c71 if (v->inputs[i].bary) in fixup_regfootprint()
844 so->inputs[i].compmask, so->inputs[i].inloc, so->inputs[i].bary); in ir3_shader_disasm()
Ddisasm-a3xx.c238 OPC(2, OPC_BARY_F, bary.f),
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs.cpp1191 unsigned bary; in brw_barycentric_mode() local
1195 bary = BRW_BARYCENTRIC_PERSPECTIVE_PIXEL; in brw_barycentric_mode()
1198 bary = BRW_BARYCENTRIC_PERSPECTIVE_CENTROID; in brw_barycentric_mode()
1202 bary = BRW_BARYCENTRIC_PERSPECTIVE_SAMPLE; in brw_barycentric_mode()
1209 bary += 3; in brw_barycentric_mode()
1211 return (enum brw_barycentric_mode) bary; in brw_barycentric_mode()
1218 centroid_to_pixel(enum brw_barycentric_mode bary) in centroid_to_pixel() argument
1220 assert(bary == BRW_BARYCENTRIC_PERSPECTIVE_CENTROID || in centroid_to_pixel()
1221 bary == BRW_BARYCENTRIC_NONPERSPECTIVE_CENTROID); in centroid_to_pixel()
1222 return (enum brw_barycentric_mode) ((unsigned) bary - 1); in centroid_to_pixel()
[all …]
Dbrw_fs_nir.cpp3665 enum brw_barycentric_mode bary = brw_barycentric_mode(instr); in nir_emit_fs_intrinsic() local
3666 const fs_reg srcs[] = { offset(this->delta_xy[bary], bld, 0), in nir_emit_fs_intrinsic()
3667 offset(this->delta_xy[bary], bld, 1) }; in nir_emit_fs_intrinsic()
3789 enum brw_barycentric_mode bary = brw_barycentric_mode(bary_intrinsic); in nir_emit_fs_intrinsic() local
3790 dst_xy = this->delta_xy[bary]; in nir_emit_fs_intrinsic()
/third_party/mesa3d/docs/relnotes/
D10.6.2.rst127 - i965/skl: Set the pulls bary bit in 3DSTATE_PS_EXTRA
D20.1.3.rst155 - freedreno/ir3: avoid applying (sat) on bary.f
D20.2.0.rst2428 - freedreno/ir3: avoid applying (sat) on bary.f
2795 - freedreno/a5xx: set missing bary sysvals
2796 - freedreno/a6xx: set missing bary sysvals
2797 - turnip: set missing bary sysvals
D19.3.0.rst2909 - freedreno/ir3: add dummy bary.f(ei) for pre-fs-fetch
/third_party/skia/third_party/externals/icu/source/data/unit/
Dpl.txt2790 dnam{"bary"}
2791 few{"{0} bary"}
3250 dnam{"baryłki"}
3251 few{"{0} baryłki"}
3252 many{"{0} baryłek"}
3253 one{"{0} baryłka"}
3254 other{"{0} baryłki"}
5070 dnam{"baryłki"}
Dsk.txt1024 dnam{"bary"}
1025 few{"{0} bary"}
Dcs.txt1038 dnam{"bary"}
1039 few{"{0} bary"}
/third_party/icu/icu4c/source/data/unit/
Dpl.txt3609 few{"{0} bary"}
3621 dnam{"bary"}
3622 few{"{0} bary"}
4117 dnam{"baryłki"}
4118 few{"{0} baryłki"}
4119 many{"{0} baryłek"}
4120 one{"{0} baryłka"}
4121 other{"{0} baryłki"}
6093 dnam{"baryłki"}
Dcs.txt4128 few{"{0} bary"}
4146 few{"{0} bary"}
4149 other{"{0} bary"}
4158 dnam{"bary"}
4159 few{"{0} bary"}
Dhsb.txt1039 dnam{"bary"}
1040 few{"{0} bary"}
Ddsb.txt1039 dnam{"bary"}
1040 few{"{0} bary"}
Dsk.txt4047 few{"{0} bary"}
4077 dnam{"bary"}
4078 few{"{0} bary"}
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp8176 emit_interp_center(isel_context* ctx, Temp dst, Temp bary, Temp pos1, Temp pos2) in emit_interp_center() argument
8179 Temp p1 = emit_extract_vector(ctx, bary, 0, v1); in emit_interp_center()
8180 Temp p2 = emit_extract_vector(ctx, bary, 1, v1); in emit_interp_center()
8255 Temp bary = get_interp_param(ctx, instr->intrinsic, mode); in visit_intrinsic() local
8256 assert(bary.size() == 2); in visit_intrinsic()
8258 bld.copy(Definition(dst), bary); in visit_intrinsic()
8271 …Temp bary = get_interp_param(ctx, instr->intrinsic, (glsl_interp_mode)nir_intrinsic_interp_mode(in… in visit_intrinsic() local
8282 bld.copy(Definition(dst), bary); in visit_intrinsic()
8371 emit_interp_center(ctx, dst, bary, pos1, pos2); in visit_intrinsic()
8379 …Temp bary = get_interp_param(ctx, instr->intrinsic, (glsl_interp_mode)nir_intrinsic_interp_mode(in… in visit_intrinsic() local
[all …]