Repository navigation
Commit 3d8e748
authored
WEBGL_render_shared_exponent: Update color writemask validation (#3780)
Original language was based on the Vulkan spec that
required only red, green, and blue color writemask
values to be the same.
It turned out that some GPUs apply the alpha writemask to the
shared exponent component. As a result of that discovery, the
Vulkan spec has been updated (1.4.355, dd June 26, 2026) to
require all color writemask values to be the same for color
attachments with the shared exponent pixel format.
Since the same requirement exists in Metal and Direct3D,
the WebGL extension is updated to match native APIs.
New validation is implemented in Chromium since 152.0.7926.0.1 parent 9dca31c commit 3d8e748
2 files changed
Lines changed: 17 additions & 4 deletions
File tree
- sdk/tests/conformance2/extensions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
| |||
210 | 208 | | |
211 | 209 | | |
212 | 210 | | |
213 | | - | |
| 211 | + | |
214 | 212 | | |
215 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
216 | 226 | | |
217 | 227 | | |
218 | 228 | | |
| |||
0 commit comments