Check for out-of-range bindings during IO mapping.

This commit is contained in:
steve-lunarg 2016-10-05 13:40:13 -06:00
parent c056adcddd
commit 9ae34742cf
7 changed files with 72 additions and 13 deletions

View file

@ -42,6 +42,8 @@
// A reflection database and its interface, consistent with the OpenGL API reflection queries.
//
class TInfoSink;
namespace glslang {
class TIntermediate;
@ -53,7 +55,7 @@ public:
virtual ~TIoMapper() {}
// grow the reflection stage by stage
bool addStage(EShLanguage, TIntermediate&);
bool addStage(EShLanguage, TIntermediate&, TInfoSink&);
};
} // end namespace glslang