Prevent BC6h decoder from using global constructor

By using a C array instead of a std::vector, the data tables for BC6h are initialized without a constructor. This helps lower SwiftShader's startup costs. Tests: dEQP-VK.*bc6* Bug: b/174782098 Change-Id: I9bcfa2753bc6255ff16543d424cf8936c2817148 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/54788Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarSean Risser <srisser@google.com> Commit-Queue: Nicolas Capens <nicolascapens@google.com>
parent 5ecc95a0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment