Skip to content

Shading language availability matrix

Minmin Gong edited this page Nov 13, 2018 · 1 revision

Here is a table about in ShaderConductor, which shader stage is available in which shading language.

Stage To GLSL To ESSL To MSL To HLSL
Vertex Shader 3.0 to 4.6 3.0 to 3.1 Yes 3.0 to 5.1
Pixel Shader 3.0 to 4.6 3.0 to 3.1 Yes 3.0 to 5.1
Geometry Shader 3.0 to 4.6 3.0 to 3.1 No1 No2
Hull Shader 3.0 to 4.6 3.0 to 3.1 Yes No2
Domain Shader 3.0 to 4.6 3.0 to 3.1 Yes No2
Compute Shader 3.0 to 4.6 3.1 Yes 5.0 to 5.1

1 MSL doesn't have geometry shader.

2 Convert GS, HS, or DS to HLSL haven't been supported yet. Check this issue for details: https://github.com/KhronosGroup/SPIRV-Cross/issues/121.

Clone this wiki locally