mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 22:13:25 -10:00
Handling RGB10A2 and A2BGR10 formats are made through dynamic flags. One or two `if` checks (based on format) is not worth doubling the number of shaders. Shaves about 50KB from binary size. Bug: angleproject:2022 Bug: chromium:1084580 Change-Id: Ia603a935b66d002dbacdee9342950ceed4042f86 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2240672 Reviewed-by: Mohan Maiya <[email protected]> Reviewed-by: Jamie Madill <[email protected]> Commit-Queue: Shahbaz Youssefi <[email protected]>