tgjones / shader-playground

Shader playground website for exploring HLSL, GLSL, SPIR-V compilers
http://shader-playground.timjones.io
BSD 2-Clause "Simplified" License
586 stars 46 forks source link

GLSL Angle default not working #66

Open FredrikNoren opened 4 years ago

FredrikNoren commented 4 years ago

Hi, wanted to say awesome project first of all!

I'm trying to use the GLSL/Angle combination but it seems like it's not working, even with the default GLSL example. The output I'm getting from the default is:

#### BEGIN COMPILER 0 INFO LOG ####
ERROR: 0:1: '
' : invalid version directive

#### END COMPILER 0 INFO LOG ####
ghost commented 3 years ago

I also can't seem to make the GLSL > ANGLE (Updated from trunk on 2020-12-15) step work. There's no output at all. "Output", "Intermediate Tree" and "Metadata" remain blank.

The fact that I can't select the input shader stage (vertex / fragment) and output backend is already hinting that this couldn't work.

Most of our users are on ANGLE / Intel, so I'd like to occasionally check this case for some of our shaders.

Specifically, we need GLSL ES 1.00 to HLSL (Direct3D11 vs_5_0 ps_5_0).