diff --git a/extensions/WEBGL_shader_pixel_local_storage/extension.xml b/extensions/WEBGL_shader_pixel_local_storage/extension.xml
index 47058abb5..d6eb44948 100644
--- a/extensions/WEBGL_shader_pixel_local_storage/extension.xml
+++ b/extensions/WEBGL_shader_pixel_local_storage/extension.xml
@@ -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;
@@ -266,7 +266,7 @@ interface WEBGL_shader_pixel_local_storage {
| pname | returned type |
- | PIXEL_LOCAL_FORMAT_WEBGL | GLenum |
+ | PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL | GLenum |
| PIXEL_LOCAL_TEXTURE_NAME_WEBGL | WebGLTexture? |
| PIXEL_LOCAL_TEXTURE_LEVEL_WEBGL | GLint |
| PIXEL_LOCAL_TEXTURE_LAYER_WEBGL | GLint |
@@ -291,5 +291,8 @@ interface WEBGL_shader_pixel_local_storage {
Added non-coherent "usage" flag and revised enum values, tracking ANGLE extension.
+
+ Renamed PIXEL_LOCAL_FORMAT_WEBGL to PIXEL_LOCAL_INTERNAL_FORMAT_WEBGL, tracking ANGLE extension.
+
diff --git a/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html b/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html
index 0a421fee4..cf051ffab 100644
--- a/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html
+++ b/sdk/tests/conformance2/extensions/webgl-shader-pixel-local-storage.html
@@ -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");
@@ -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(