Fix validation in TexSubImage.
We weren't properly checking the x and y offsets against the texture
boundary, and were in some cases producing D3D errors with out-of-bounds
writes. This was popping up in IncompleteTextureTest. The test itself
was also bugged.
BUG=angle:610
Change-Id: Id58cac088fed03cae2aabbf00bce234f17208753
Reviewed-on: https://chromium-review.googlesource.com/195410Reviewed-by:
Geoff Lang <geofflang@chromium.org>
Tested-by:
Jamie Madill <jmadill@chromium.org>
Showing
tests/angle_tests/TextureTest.cpp
0 → 100644
Please
register
or
sign in
to comment