Repository navigation
Commit 716a80e
committed
[Impeller] Add regression test for Vulkan block-compressed texture support
The mock device now advertises the core textureCompressionETC2,
textureCompressionASTC_LDR, and textureCompressionBC features, and a new
CapabilitiesVKTest asserts CapabilitiesVK::SupportsTextureCompression
reports all three families. Without the enable added in the previous
commit, GetEnabledDeviceFeatures never requests them, the read-back in
SetPhysicalDevice stays false, and this test fails -- guarding against a
regression of the plumbing.
Issue: flutter#1891071 parent ffe5947 commit 716a80e
2 files changed
Lines changed: 27 additions & 0 deletions
File tree
- engine/src/flutter/impeller/renderer/backend/vulkan
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
211 | 229 | | |
212 | 230 | | |
213 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
326 | 335 | | |
327 | 336 | | |
328 | 337 | | |
| |||
0 commit comments