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

Conversation

@zanderso
Copy link
Member

No description provided.

Comment on lines +134 to +135
"--enable-impeller-vulkan",
"--enable-impeller-opengles",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have to do this here, but unless there are issues I'm not aware of we should remove these flags. its too dangerous that we have a "by default don't test our impeller backends" setting.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean: These flags are true by default, and disabled explicitly when building for release to omit the unneeded backends?

@zanderso
Copy link
Member Author

I see two validation errors:

[ RUN      ] Play/AiksTest.CanDrawPoints/Vulkan
[ERROR:flutter/impeller/base/validation.cc(57)] Break on 'ImpellerValidationBreak' to inspect point of failure:
--- Vulkan Debug Report  ----------------------------------------
|                Severity: Error
|                    Type: { Validation }
|                 ID Name: VUID-VkWriteDescriptorSet-descriptorType-00328
|               ID Number: -368569266
|       Queue Breadcrumbs: [NONE]
|  CMD Buffer Breadcrumbs: [NONE]
|                 Trigger: Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00328 ] | MessageID = 0xea08144e | vkUpdateDescriptorSets(): pDescriptorWrites[1].pBufferInfo[0].offset (56) must be a multiple of device limit minStorageBufferOffsetAlignment 256 when descriptor type is VK_DESCRIPTOR_TYPE_STORAGE_BUFFER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minStorageBufferOffsetAlignment (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-00328)
-----------------------------------------------------------------

And:

[ RUN      ] Play/AiksTest.CanDrawPointsWithTextureMap/Metal
validateComputeFunctionArguments:840: failed assertion `Compute Function(uv_compute_main): the offset into the buffer geometry_uv_data that is bound at buffer index 2 must be a multiple of 16 but was set to 16664.'

But it looks like the process ends after the first Metal validation error, so I guess there could be more after that.

@flutter-dashboard
Copy link

This pull request has been changed to a draft. The currently pending flutter-gold status will not be able to resolve until a new commit is pushed or the change is marked ready for review again.

@jonahwilliams
Copy link
Contributor

Thank you for the pointers on this one, I pulled these changes into #51341

@zanderso zanderso closed this Mar 13, 2024
@zanderso zanderso deleted the impeller-goldens-validation branch March 13, 2024 02:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants