The default bug view has changed. See this FAQ.

Shader compiles on Linux and OSX but not Windows

RESOLVED FIXED

Status

()

Core
Canvas: WebGL
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: secretrobotron, Unassigned)

Tracking

Trunk
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
This demo works properly on several versions of OSX and Linux, but fails entirely on Windows: http://webmademovies.org/audio.3/

It looks like it doesn't like the core fragment shader which, unfortunately, is buried inside this massive file.

Will try to accompany with better examples soon.
(Reporter)

Comment 1

6 years ago
cc'ing Dave Humphrey
(Reporter)

Comment 2

6 years ago
This looks like it`s due to using ? conditionals in fragment shaders. I replaced them with if-else structures, and it works fine.

I also had to pull a couple of variable declarations out of loops.
If it's another D3DCompile() problem, like bug 658826, then there's not much we'll be able to do about it.

Maybe just forward this to the ANGLE issue tracker once you have a good testcase, so they can decide whether it's a ANGLE or D3DCompiler bug.
QA Contact: canvas.webgl → bjacob
Is that bug still reproducible? That would be a ANGLE or D3DCompiler bug, then.
(Reporter)

Comment 5

5 years ago
Coincidentally, I tried this out recently and it didn't work.

Let me try again with latest nightly. My machine is Win7 32-bit.
(Reporter)

Comment 6

5 years ago
Looks like this is no longer a problem. Old shader + old browser caused the problem.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.