OSDN Git Service

Added the ability to write to many new formats in the Blitter
authorAlexis Hetu <sugoi@google.com>
Wed, 16 Jan 2019 19:42:24 +0000 (14:42 -0500)
committerAlexis Hétu <sugoi@google.com>
Thu, 17 Jan 2019 14:44:43 +0000 (14:44 +0000)
commite04d9b0f138d51d068ae95bc5e508b0788d00e8d
tree9c917182fc40c0962a928d98fd54f7073875b928
parentfed67899a7b44c9409e94442eaca0deab2f809e3
Added the ability to write to many new formats in the Blitter

Added the missing 5_6_5, 2_10_10_10, 4, 8, 16 and 32 bit formats
that have integer based internal representation. Most of these
are the same as existing formats or trivial modification of
existing formats.

This only adds the ability to WRITE to these formats for now, as
these codepaths were tested using:
dEQP-VK.api.image_clearing.core.clear_color_image

If reading these formats becomes exercised by other tests, they
will be added at that point.

Bug b/119620767

Change-Id: I85317d7cfab6b1e708d6e6500ff44b83065a1d16
Reviewed-on: https://swiftshader-review.googlesource.com/c/23649
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
src/Device/Blitter.cpp