[Webkit-unassigned] [Bug 177270] New: WebGL: OES_standard_derivatives fails to compile after a lost context restore
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 20 14:14:31 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177270
Bug ID: 177270
Summary: WebGL: OES_standard_derivatives fails to compile after
a lost context restore
Product: WebKit
Version: Other
Hardware: Macintosh
OS: macOS 10.12.4
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: evan.exe at gmail.com
CC: dino at apple.com
Created attachment 321365
--> https://bugs.webkit.org/attachment.cgi?id=321365&action=review
Test HTML file.
To reproduce: Open the attached file in Safari 11.0. It compiles a shader with "OES_standard_derivatives", loses the context, restores the context, and then compiles that shader again.
Unexpected: The second shader compilation fails even though the "OES_standard_derivatives" extension is listed as supported in getSupportedExtensions().
Expected: Either the second shader compilation should succeed or the "OES_standard_derivatives" extension should not be listed as supported in getSupportedExtensions().
Here's the output of the test on my machine:
getSupportedExtensions:
EXT_blend_minmax
EXT_sRGB
EXT_frag_depth
OES_texture_float
OES_texture_float_linear
OES_texture_half_float
OES_texture_half_float_linear
OES_standard_derivatives
EXT_shader_texture_lod
EXT_texture_filter_anisotropic
OES_vertex_array_object
OES_element_index_uint
WEBGL_lose_context
WEBGL_compressed_texture_s3tc
WEBGL_depth_texture
WEBGL_draw_buffers
ANGLE_instanced_arrays
WEBGL_debug_renderer_info
---
shader log: WARNING: 0:1: extension 'GL_ARB_gpu_shader5' is not supported
---
losing context
---
context lost
---
restoring context
---
context restored
---
getSupportedExtensions:
EXT_blend_minmax
EXT_sRGB
EXT_frag_depth
OES_texture_float
OES_texture_float_linear
OES_texture_half_float
OES_texture_half_float_linear
OES_standard_derivatives
EXT_shader_texture_lod
EXT_texture_filter_anisotropic
OES_vertex_array_object
OES_element_index_uint
WEBGL_lose_context
WEBGL_compressed_texture_s3tc
WEBGL_depth_texture
WEBGL_draw_buffers
ANGLE_instanced_arrays
WEBGL_debug_renderer_info
---
shader log: WARNING: 0:2: 'GL_OES_standard_derivatives' : extension is not supported
ERROR: 0:4: 'dFdx' : no matching overloaded function found
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170920/8ecc2a32/attachment.html>
More information about the webkit-unassigned
mailing list