OSDN Git Service

ETC2 RGBA fix
authorAlexis Hetu <sugoi@google.com>
Mon, 18 Dec 2017 22:17:55 +0000 (17:17 -0500)
committerAlexis Hétu <sugoi@google.com>
Mon, 18 Dec 2017 22:19:12 +0000 (22:19 +0000)
commitf08be92d68e6c966fcc71dba8b77c5335eb2c963
treed53e4652a52144e4646615be4155920c49b76f95
parent60e20280ba169a458a592a9d537689aea934c2cf
ETC2 RGBA fix

Since EAC is no longer decoded to an 8 bit format, but ETC2 alpha
still is, we need to distinguish between the 2. Added an argument
to DecodeBlock for that purpose.

Change-Id: Ied4263cecc43f88609a357437c11f4e43af229b8
Reviewed-on: https://swiftshader-review.googlesource.com/15228
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/Renderer/ETC_Decoder.cpp