Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 39f8a54

Browse files
committed
re-enable GPU compute tessellator for PointFields
1 parent e3fce9b commit 39f8a54

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

impeller/entity/geometry/point_field_geometry.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ GeometryResult PointFieldGeometry::GetPositionBuffer(
1919
const ContentContext& renderer,
2020
const Entity& entity,
2121
RenderPass& pass) const {
22-
if (renderer.GetDeviceCapabilities().SupportsCompute() && false) {
23-
FML_LOG(ERROR) << "Using compute";
22+
if (renderer.GetDeviceCapabilities().SupportsCompute()) {
2423
return GetPositionBufferGPU(renderer, entity, pass);
2524
}
2625
auto vtx_builder = GetPositionBufferCPU(renderer, entity, pass);
@@ -44,8 +43,7 @@ GeometryResult PointFieldGeometry::GetPositionUVBuffer(
4443
const ContentContext& renderer,
4544
const Entity& entity,
4645
RenderPass& pass) const {
47-
if (renderer.GetDeviceCapabilities().SupportsCompute() && false) {
48-
FML_LOG(ERROR) << "Using compute";
46+
if (renderer.GetDeviceCapabilities().SupportsCompute()) {
4947
return GetPositionBufferGPU(renderer, entity, pass, texture_coverage,
5048
effect_transform);
5149
}

0 commit comments

Comments
 (0)