OSDN Git Service

Unpack row length fix
authorAlexis Hetu <sugoi@google.com>
Thu, 15 Oct 2015 21:05:30 +0000 (17:05 -0400)
committerAlexis Hétu <sugoi@google.com>
Thu, 15 Oct 2015 21:32:51 +0000 (21:32 +0000)
commit4614009956df0a0a0438b8a858d8e9ca73b0fdfc
tree3d4dac41986932b9126b757d317dc2b327d615fd
parent2aa852f4c1246ef8ab2a46d5d3f6a981c2ddda0a
Unpack row length fix

The unpack row length was supposed to replace the width, not the
pitch, of the input image, which explains why related tests were
failing.

Change-Id: I7bd46e057bae4113b31d072fd6748d9dd6043feb
Reviewed-on: https://swiftshader-review.googlesource.com/4080
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/common/Image.cpp