diff options
| author | Andrés Botero <boterock@gmail.com> | 2019-02-23 12:28:21 -0500 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-02-23 09:28:21 -0800 |
| commit | ef120329b8901c3e036f18b84d6e014a578242d4 (patch) | |
| tree | bda2c3db2aab1fe8860c2ac5b2bd207349ce8f9d /source | |
| parent | 32135c5bdfb4d387f8227742a2d2fd555898aca8 (diff) | |
Add support for SV_PointSize semantic for glsl (#853)
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/ir-glsl-legalize.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/ir-glsl-legalize.cpp b/source/slang/ir-glsl-legalize.cpp index 57d493f1a..a4018e34f 100644 --- a/source/slang/ir-glsl-legalize.cpp +++ b/source/slang/ir-glsl-legalize.cpp @@ -340,6 +340,10 @@ GLSLSystemValueInfo* getGLSLSystemValueInfo( { name = "gl_InvocationID"; } + else if (semanticName == "sv_pointsize") + { + name = "gl_PointSize"; + } else if(semanticName == "sv_primitiveid") { name = "gl_PrimitiveID"; |
