Add an option to report array variables with trailing [0] suffix

* This is as expected by ARB_program_interface_query
This commit is contained in:
baldurk 2019-01-29 15:49:00 +00:00
parent 15c37f79a9
commit edf8212ab8
5 changed files with 15 additions and 7 deletions

View file

@ -245,6 +245,7 @@ enum EShMessages {
typedef enum {
EShReflectionDefault = 0, // default is original behaviour before options were added
EShReflectionStrictArraySuffix = (1 << 0), // reflection will follow stricter rules for array-of-structs suffixes
EShReflectionBasicArraySuffix = (1 << 1), // arrays of basic types will be appended with [0] as in GL reflection
} EShReflectionOptions;
//