Fix derivate offset in cube map verification code
authorPyry Haulos <phaulos@google.com>
Thu, 29 Jan 2015 21:47:02 +0000 (13:47 -0800)
committerPyry Haulos <phaulos@google.com>
Thu, 29 Jan 2015 22:02:47 +0000 (22:02 +0000)
commit2e736e5cc21486837e98cae3c9303751f9a15c79
tree025c96e0271ba56bd01f71ed602c2c05b959e070
parent1fdbddf3d06656eea41db16182e4ba6f056b476a
Fix derivate offset in cube map verification code

To accomodate implementations that use same derivative for a 2x2 pixel
quad when computing LOD, cube map verification code samples derivatives
in 3x3 neighborhood and computes bounds based on that.

This change fixes a typo that prevented the code from considering
(+1, +1) offset.

Bug: 19170879
Change-Id: I2de7aa422fc2fa3ff4432e802bb98c90aedeb548
modules/glshared/glsTextureTestUtil.cpp