WebGL gl.bindAttribLocation does not work on Firefox on Android.

NEW
Unassigned

Status

()

defect
P3
normal
6 years ago
13 days ago

People

(Reporter: jujjyl, Unassigned)

Tracking

(Blocks 1 bug)

Trunk
ARM
Android
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [games])

Reporter

Description

6 years ago
Navigate to http://clb.demon.fi/dump/bugs/android_ff_attriblocation/lesson1.html with Firefox on an Android device.

Expected: A white triangle and a square renders. Works on desktop Firefox.
Result tested on a Nexus 4 Android device: a black screen is displayed.

I *think* Android fails when gl.bindAttribLocation(program, i, "attribName"); is called when the program does not contain attributes at all indices [0, i-1]. See the web console print as well, which shows the discrepancy: desktop binds properly to index 4, but Android still reports 0.

This is blocking from attempting some optimizations on emscripten fixed function GL pipeline emulation layer for mobile.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.