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
7 changes: 5 additions & 2 deletions extensions/WEBGL_shader_pixel_local_storage/extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ interface WEBGL_shader_pixel_local_storage {
const GLenum LOAD_OP_CLEAR_WEBGL = 0x96E4;
const GLenum LOAD_OP_LOAD_WEBGL = 0x96E5;
const GLenum STORE_OP_STORE_WEBGL = 0x96E6;
const GLenum PIXEL_LOCAL_FORMAT_WEBGL = 0x96E7;
const GLenum PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL = 0x96E7;
const GLenum PIXEL_LOCAL_TEXTURE_NAME_WEBGL = 0x96E8;
const GLenum PIXEL_LOCAL_TEXTURE_LEVEL_WEBGL = 0x96E9;
const GLenum PIXEL_LOCAL_TEXTURE_LAYER_WEBGL = 0x96EA;
Expand Down Expand Up @@ -266,7 +266,7 @@ interface WEBGL_shader_pixel_local_storage {
</p>
<table>
<tr><th>pname</th><th>returned type</th></tr>
<tr><td>PIXEL_LOCAL_FORMAT_WEBGL</td><td>GLenum</td></tr>
<tr><td>PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL</td><td>GLenum</td></tr>
<tr><td>PIXEL_LOCAL_TEXTURE_NAME_WEBGL</td><td>WebGLTexture?</td></tr>
<tr><td>PIXEL_LOCAL_TEXTURE_LEVEL_WEBGL</td><td>GLint</td></tr>
<tr><td>PIXEL_LOCAL_TEXTURE_LAYER_WEBGL</td><td>GLint</td></tr>
Expand All @@ -291,5 +291,8 @@ interface WEBGL_shader_pixel_local_storage {
<revision date="2026/02/20">
<change>Added non-coherent "usage" flag and revised enum values, tracking ANGLE extension.</change>
</revision>
<revision date="2026/03/02">
<change>Renamed PIXEL_LOCAL_FORMAT_WEBGL to PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL, tracking ANGLE extension.</change>
</revision>
</history>
</draft>
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
shouldBe("pls.LOAD_OP_CLEAR_WEBGL", "0x96E4");
shouldBe("pls.LOAD_OP_LOAD_WEBGL", "0x96E5");
shouldBe("pls.STORE_OP_STORE_WEBGL", "0x96E6");
shouldBe("pls.PIXEL_LOCAL_FORMAT_WEBGL", "0x96E7");
shouldBe("pls.PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL", "0x96E7");
shouldBe("pls.PIXEL_LOCAL_TEXTURE_NAME_WEBGL", "0x96E8");
shouldBe("pls.PIXEL_LOCAL_TEXTURE_LEVEL_WEBGL", "0x96E9");
shouldBe("pls.PIXEL_LOCAL_TEXTURE_LAYER_WEBGL", "0x96EA");
Expand Down Expand Up @@ -177,7 +177,7 @@
for (let i = 0; i < MAX_PIXEL_LOCAL_STORAGE_PLANES; ++i)
{
expectTrue(pls.getFramebufferPixelLocalStorageParameterWEBGL(
i, pls.PIXEL_LOCAL_FORMAT_WEBGL) == gl.NONE);
i, pls.PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL) == gl.NONE);
expectTrue(pls.getFramebufferPixelLocalStorageParameterWEBGL(
i, pls.PIXEL_LOCAL_TEXTURE_NAME_WEBGL) == null);
expectTrue(pls.getFramebufferPixelLocalStorageParameterWEBGL(
Expand Down