glslangCompilationGuide.txt 343 B

1234
  1. Certain Banshee specific modification is required before compiling glslang:
  2. - Add getAttributeTType to TProgram's public interface:
  3. - Method signature: const TType* getAttributeTType(int index) const;
  4. - Method implementation: const TType* TProgram::getAttributeTType(int index) const { return reflection->getAttribute(index).getType(); }