Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions extensions/WEBGL_shader_pixel_local_storage/extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
When this extension is enabled, the following WebGL extensions are enabled implicitly:
<ul>
<li><a href="../OES_draw_buffers_indexed/">OES_draw_buffers_indexed</a></li>
<li><a href="../EXT_color_buffer_float/">EXT_color_buffer_float</a></li>
<li><a href="../EXT_color_buffer_half_float/">EXT_color_buffer_half_float</a></li>
</ul>
</div>
</addendum>
Expand Down Expand Up @@ -294,5 +292,8 @@ interface WEBGL_shader_pixel_local_storage {
<revision date="2026/03/02">
<change>Renamed PIXEL_LOCAL_FORMAT_WEBGL to PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL, tracking ANGLE extension.</change>
</revision>
<revision date="2026/06/25">
<change>Removed implicit enablement of floating-point rendering extensions, tracking ANGLE extension.</change>
</revision>
</history>
</draft>
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,10 @@
shouldBeNull("gl.getParameter(0x96E0 /*MAX_PIXEL_LOCAL_STORAGE_PLANES_WEBGL*/)");
wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "parameter unknown without enabling the extension");
shouldBeNull(
"gl.getParameter(0x96E1 /*MAX_COLOR_ATTACHMENTS_WITH_ACTIVE_PIXEL_LOCAL_STORAGE_WEBGL*/)");
"gl.getParameter(0x96E1 /*MAX_COMBINED_DRAW_BUFFERS_AND_PIXEL_LOCAL_STORAGE_PLANES_WEBGL*/)");
wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "parameter unknown without enabling the extension");
shouldBeNull(
"gl.getParameter(0x96E2 /*MAX_COMBINED_DRAW_BUFFERS_AND_PIXEL_LOCAL_STORAGE_PLANES_WEBGL*/)");
wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "parameter unknown without enabling the extension");
shouldBeNull(
"gl.getParameter(0x96E3 /*PIXEL_LOCAL_STORAGE_ACTIVE_PLANES_WEBGL*/)");
"gl.getParameter(0x96E2 /*PIXEL_LOCAL_STORAGE_ACTIVE_PLANES_WEBGL*/)");
wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "parameter unknown without enabling the extension");
wtu.glErrorShouldBe(gl, gl.NONE);
}
Expand All @@ -101,18 +98,16 @@
wtu.glErrorShouldBe(gl, enabled ? gl.NONE : gl.INVALID_ENUM,
"OES_draw_buffers_indexed not enabled or disabled as expected");
}
if (wtu.getSupportedExtensionWithKnownPrefixes(gl, "EXT_color_buffer_float") !== undefined) {
{
gl.bindRenderbuffer(gl.RENDERBUFFER, gl.createRenderbuffer());
gl.renderbufferStorage(gl.RENDERBUFFER, gl.R32F, 1, 1);
wtu.glErrorShouldBe(gl, enabled ? gl.NONE : gl.INVALID_ENUM,
"EXT_color_buffer_float not enabled or disabled as expected");
wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "EXT_color_buffer_float not disabled as expected");
gl.bindRenderbuffer(gl.RENDERBUFFER, null);
}
if (wtu.getSupportedExtensionWithKnownPrefixes(gl, "EXT_color_buffer_half_float") !== undefined) {
{
gl.bindRenderbuffer(gl.RENDERBUFFER, gl.createRenderbuffer());
gl.renderbufferStorage(gl.RENDERBUFFER, gl.RG16F, 1, 1);
wtu.glErrorShouldBe(gl, enabled ? gl.NONE : gl.INVALID_ENUM,
"EXT_color_buffer_half_float not enabled or disabled as expected");
wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "EXT_color_buffer_half_float not disabled as expected");
gl.bindRenderbuffer(gl.RENDERBUFFER, null);
}
}
Expand Down
Loading