Added support for .cs, .compute, .tctrlm .teval extensions in the GLSL plugin
This commit is contained in:
parent
bc4a9d9dd0
commit
f81a46da5b
@ -307,6 +307,13 @@ Registry::Registry()
|
||||
addFileExtensionAlias("vert", "glsl");
|
||||
addFileExtensionAlias("frag", "glsl");
|
||||
addFileExtensionAlias("geom", "glsl");
|
||||
addFileExtensionAlias("tctrl", "glsl");
|
||||
addFileExtensionAlias("teval", "glsl");
|
||||
addFileExtensionAlias("compute", "glsl");
|
||||
addFileExtensionAlias("vs", "glsl");
|
||||
addFileExtensionAlias("fs", "glsl");
|
||||
addFileExtensionAlias("cs", "glsl");
|
||||
addFileExtensionAlias("gs", "glsl");
|
||||
|
||||
addFileExtensionAlias("js", "V8");
|
||||
|
||||
|
@ -24,6 +24,10 @@ class ReaderWriterGLSL : public osgDB::ReaderWriter
|
||||
supportsExtension("tctrl","OpenGL Shader Language format");
|
||||
supportsExtension("teval","OpenGL Shader Language format");
|
||||
supportsExtension("compute","OpenGL Shader Language format");
|
||||
supportsExtension("cs","OpenGL Shader Language format");
|
||||
supportsExtension("gs","OpenGL Shader Language format");
|
||||
supportsExtension("vs","OpenGL Shader Language format");
|
||||
supportsExtension("fs","OpenGL Shader Language format");
|
||||
}
|
||||
|
||||
virtual const char* className() const { return "GLSL Shader Reader"; }
|
||||
|
Loading…
Reference in New Issue
Block a user