Closed
Bug 1247053
Opened 9 years ago
Closed 9 years ago
WebGL 1 GLSL ES function textureCubeLod() is not implemented.
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox47 | --- | affected |
People
(Reporter: jujjyl, Unassigned)
Details
Attachments
(1 file)
127.27 KB,
text/html
|
Details |
Looks like the OpenGL ES Shading Language built-in texture lookup function textureCubeLod() has not been implemented. (see https://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf page 72)
STR: Run the attached page.
Observed: The page prints "*** Error compiling FRAGMENT_SHADER '[object WebGLShader]':ERROR: 0:9: 'textureCubeLod' : no matching overloaded function found "
Expected: The function textureCubeLod() is a built-in, so should be present on WebGL 1 contexts.
That's actually incorrect. If you read the paragraph of text above these:
"The built-ins suffixed with “Lod” are allowed only in a vertex shader."
To use these in a fragment shader, you need to enable and use EXT_shader_texture_lod. See bug 965848.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•9 years ago
|
||
Doh, of course. Thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•