Commit f6ee1b4
Add readBuffer coverage for invalid enums below COLOR_ATTACHMENT0 (#3771)
This adds WebGL 2 conformance coverage for invalid readBuffer() enums
below GL_COLOR_ATTACHMENT0 on framebuffer objects.
The test verifies that:
- readBuffer(GL_COLOR_ATTACHMENT0 - 1) generates INVALID_ENUM
- READ_BUFFER remains unchanged after the failed call
This covers the Chromium regression where enums below
GL_COLOR_ATTACHMENT0 were not rejected correctly during validation.
chromium issue: https://issues.chromium.org/issues/500066231
chromium bug fix merge request: : https://chromium-review.googlesource.com/c/chromium/src/+/7733122
Co-authored-by: Kai Ninomiya <kainino@chromium.org>1 parent 5a01424 commit f6ee1b4
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
0 commit comments