Closed Bug 1274254 Opened 8 years ago Closed 5 years ago

WebGL 2.0: Built-in variable gl_VertexID is undeclared

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

49 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: good.ol.dv, Unassigned)

Details

(Whiteboard: [gfx-noted])

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160518030234

Steps to reproduce:

On current Firefox Nightly Build 49.0a1 (2016-05-18) and previous versions:
Created a vertex shader which attempts to access the gl_VertexID variable.

(This variable is part of the OpenGLES 3.0 spec which WebGL 2.0 is based upon: https://www.khronos.org/files/opengles3-quick-reference-card.pdf on Page #5)


Actual results:

The vertex shader failed to compile with the following error:
'gl_VertexID' : undeclared identifier


Expected results:

The vertex shader should have compiled.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Product: Firefox → Core
Component: Untriaged → Canvas: WebGL
This isn't implemented in the version of ANGLE we have in-tree at the moment. Will probably be fixed on next ANGLE update.
Keywords: feature
Whiteboard: [gfx-noted]
(In reply to Edwin Flores [:eflores] [:edwin] from comment #1)
> This isn't implemented in the version of ANGLE we have in-tree at the
> moment. Will probably be fixed on next ANGLE update.

Any idea on when the next ANGLE update will be?
Same problem on linux.

Jeff, can we close this bug now?

Flags: needinfo?(jgilbert)
Keywords: feature

Yes, thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jgilbert)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.