Repository navigation
Commit b8142b2
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 b7da316 commit b8142b2
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 | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
270 | 279 | | |
271 | 280 | | |
272 | 281 | | |
| |||
0 commit comments