2 Commits
Author SHA1 Message Date
Jamie Madill f67115ce37 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/195410
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2014-04-24 15:12:16 +00:00
Geoff Lang 0ddab0c8d3 Added incomplete texture tests.
Change-Id: Ie223404eb3b36664a6fbaefc45d9ff24d0be5cb1
Reviewed-on: https://chromium-review.googlesource.com/179354
Reviewed-by: Nicolas Capens <[email protected]>
Commit-Queue: Nicolas Capens <[email protected]>
Tested-by: Nicolas Capens <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2013-12-11 22:03:28 +00:00