Closed Bug 658999 Opened 13 years ago Closed 12 years ago

Shader compiles on Linux and OSX but not Windows

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bobby, Unassigned)

Details

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.
cc'ing Dave Humphrey
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.
Coincidentally, I tried this out recently and it didn't work.

Let me try again with latest nightly. My machine is Win7 32-bit.
Looks like this is no longer a problem. Old shader + old browser caused the problem.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.