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

Commit 573472e

Browse files
committed
re-enable GPU compute tessellator for PointFields
1 parent 24811cf commit 573472e

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
@@ -21,8 +21,7 @@ GeometryResult PointFieldGeometry::GetPositionBuffer(
2121
const ContentContext& renderer,
2222
const Entity& entity,
2323
RenderPass& pass) {
24-
if (renderer.GetDeviceCapabilities().SupportsCompute() && false) {
25-
FML_LOG(ERROR) << "Using compute";
24+
if (renderer.GetDeviceCapabilities().SupportsCompute()) {
2625
return GetPositionBufferGPU(renderer, entity, pass);
2726
}
2827
auto vtx_builder = GetPositionBufferCPU(renderer, entity, pass);
@@ -46,8 +45,7 @@ GeometryResult PointFieldGeometry::GetPositionUVBuffer(
4645
const ContentContext& renderer,
4746
const Entity& entity,
4847
RenderPass& pass) {
49-
if (renderer.GetDeviceCapabilities().SupportsCompute() && false) {
50-
FML_LOG(ERROR) << "Using compute";
48+
if (renderer.GetDeviceCapabilities().SupportsCompute()) {
5149
return GetPositionBufferGPU(renderer, entity, pass, texture_coverage,
5250
effect_transform);
5351
}

0 commit comments

Comments
 (0)