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

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Mar 21, 2023

Part of flutter/flutter#122828

Right now, if you request a grid size that's larger than the GPU can support in any dimension, the code risks truncating a smaller dimension down to zero, which no one wants.

Adds a test that fails on both the M1 and Intel. The existing tests were passing on M1 because they happened to always use the max of what an M1 allows, but the Intel limit is lower.

@dnfield dnfield added e: impeller autosubmit Merge PR when tree becomes green via auto submit App labels Mar 21, 2023
@dnfield dnfield changed the title Avoid truncation to zero when resizing threadgroups [Impeller] Avoid truncation to zero when resizing threadgroups Mar 21, 2023
@dnfield dnfield self-assigned this Mar 21, 2023
@auto-submit auto-submit bot merged commit 31a911e into flutter:main Mar 21, 2023
@dnfield dnfield deleted the compute_fixes branch March 21, 2023 22:33
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 21, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 21, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 22, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 22, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants