OSDN Git Service

Added support for most formats to FP sampleTexel
authorAlexis Hetu <sugoi@google.com>
Mon, 17 Jul 2017 15:19:12 +0000 (11:19 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 19 Jul 2017 14:03:42 +0000 (14:03 +0000)
commit5de90b247854dfa8c78c219ea1c611a2d61ae5ff
tree79cbb139b998cf011683f025fe37070c637f0070
parentb7cab413182828b50de734ca9193a20bafe6b376
Added support for most formats to FP sampleTexel

This change is effectively noop by itself, but allows the
floating point path to read all texture formats (except YUV).
This is required by the floating point path to be able to
perform higher precision filtering on all formats (except YUV).

Bug swiftshader:76

Change-Id: I5d0d24c00357b4b77cca2ca8a65d082db7635b40
Reviewed-on: https://swiftshader-review.googlesource.com/10668
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
src/Shader/SamplerCore.cpp
src/Shader/SamplerCore.hpp