Support for BC1, BC2, BC3, BC4 and BC5
Added a block compression (BCn) decoder and logic for all
formats for n in the [1, 5] range.
The decompression follows the same logic as the ETC2
decompression in vk::Image.
Tests: dEQP-VK.*bc*
Bug: b/146052572
Change-Id: I64fac0a7af52e1be209c1cfd5373744918c7df14
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39369
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Tested-by:
Alexis Hétu <sugoi@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Showing
src/Device/BC_Decoder.cpp
0 → 100644
src/Device/BC_Decoder.hpp
0 → 100644
Please
register
or
sign in
to comment