GLSL Linker: Track entry point across compilation units.

This wasn't needed until the recent generalization of "main" to "entry point",
so makes some HLSL-specific code be generic now, for GLSL functional correctness.
This commit is contained in:
John Kessenich
2016-12-09 17:14:27 -07:00
parent 6a60c2f9ea
commit 4b6ce415ef
4 changed files with 8 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ ERROR: Linking geometry stage: At least one shader must specify a layout(max_ver
Linked fragment stage:
ERROR: Linking fragment stage: can't handle multiple entry points per stage
ERROR: Linking fragment stage: Multiple function bodies in multiple compilation units for the same signature in the same stage:
main(