Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
webgl: Fix out-of-bounds readpixels handling.
This fixes the crash in read-pixels-pack-alignment (which was trying to read out of bounds). Fixes #13901
- Loading branch information
Showing
5 changed files
with
122 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
...pt/metadata/webgl/conformance-1.0.3/conformance/more/functions/readPixelsBadArgs.html.ini
This file was deleted.
Oops, something went wrong.
14 changes: 10 additions & 4 deletions
14
.../metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-pack-alignment.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
[read-pixels-pack-alignment.html] | ||
type: testharness | ||
expected: | ||
if os == "linux": CRASH | ||
if os == "mac": TIMEOUT | ||
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] | ||
[WebGL test #17: pixel should be 255,102,0,255. Was 0,0,0,0.] | ||
expected: FAIL | ||
|
||
[WebGL test #33: pixel should be 255,102,0,255. Was 0,0,0,0.] | ||
expected: FAIL | ||
|
||
[WebGL test #53: pixel should be 255,102,0,255. Was 0,0,0,0.] | ||
expected: FAIL | ||
|
||
[WebGL test #61: pixel should be 255,102,0,255. Was 0,0,0,0.] | ||
expected: FAIL | ||
|