diff options
| author | 2017-04-19 15:43:02 -0700 | |
|---|---|---|
| committer | 2017-04-19 15:43:02 -0700 | |
| commit | 577aa758027a7cf5e8da938f99f9ec7372e5728f (patch) | |
| tree | e13e16dd3c405e58e4a7d7c112a349cefffa786f /cmds/dumpstate/utils.cpp | |
| parent | 80a50bdc3b48ef3a1e214d85712ecc835fbaa289 (diff) | |
Fix AHardwareBuffer 10:10:10:2 format
Rename this format to match the component ordering we use in the other
formats (RGBA, in LSB to MSB order), and associate it with the right
Vulkan format (A2B10G10R10_UNORM_PACK32, not the BGRA-order
A2R10G10B10_UNORM_PACK32): the former is required in Vulkan while the
latter isn't, and it makes sense for us to be consistent with that.
Also use the _FLOAT suffix for the 4xFP16 format, not _SFLOAT; we don't
use the latter anywhere else and we don't have unsigned floats.
Bug: 37515907
Test: make checkbuild
Change-Id: I4f9e5e39ddef41d373290c26c92d5b94a884a740
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
0 files changed, 0 insertions, 0 deletions