diff options
author | Jamie Madill <jmadill@chromium.org> | 2014-07-17 14:16:32 -0400 |
---|---|---|
committer | Jamie Madill <jmadill@chromium.org> | 2014-08-06 20:13:53 +0000 |
commit | a2ad4e8a3ed78c13f3ddb0c26d20777af2927b86 (patch) | |
tree | f195c1cc9c09603fdf0b4b0aaa1fe5fe01bc2f55 /include | |
parent | d9ba4f7318979e927c7a3320c5746c25381eae90 (diff) | |
download | angle-a2ad4e8a3ed78c13f3ddb0c26d20777af2927b86.tar.gz |
Export shader variables from the translator DLL.
This will allow us to use these methods when compiling the translator
as a DLL.
BUG=angle:466,697
Change-Id: Ic9169fb7c69fe0bf5f98addfc128a30ee6b2159d
Reviewed-on: https://chromium-review.googlesource.com/208752
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/GLSLANG/ShaderVars.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/GLSLANG/ShaderVars.h b/include/GLSLANG/ShaderVars.h index e05a7070..74f2b342 100644 --- a/include/GLSLANG/ShaderVars.h +++ b/include/GLSLANG/ShaderVars.h @@ -39,7 +39,7 @@ enum BlockLayoutType // Note: we must override the copy constructor and assignment operator so we can // work around excessive GCC binary bloating: // See https://code.google.com/p/angleproject/issues/detail?id=697 -struct ShaderVariable +struct COMPILER_EXPORT ShaderVariable { ShaderVariable(); ShaderVariable(GLenum typeIn, unsigned int arraySizeIn); @@ -58,7 +58,7 @@ struct ShaderVariable bool staticUse; }; -struct Uniform : public ShaderVariable +struct COMPILER_EXPORT Uniform : public ShaderVariable { Uniform(); ~Uniform(); @@ -70,7 +70,7 @@ struct Uniform : public ShaderVariable std::vector<Uniform> fields; }; -struct Attribute : public ShaderVariable +struct COMPILER_EXPORT Attribute : public ShaderVariable { Attribute(); ~Attribute(); @@ -80,7 +80,7 @@ struct Attribute : public ShaderVariable int location; }; -struct InterfaceBlockField : public ShaderVariable +struct COMPILER_EXPORT InterfaceBlockField : public ShaderVariable { InterfaceBlockField(); ~InterfaceBlockField(); @@ -93,7 +93,7 @@ struct InterfaceBlockField : public ShaderVariable std::vector<InterfaceBlockField> fields; }; -struct Varying : public ShaderVariable +struct COMPILER_EXPORT Varying : public ShaderVariable { Varying(); ~Varying(); @@ -107,7 +107,7 @@ struct Varying : public ShaderVariable std::string structName; }; -struct InterfaceBlock +struct COMPILER_EXPORT InterfaceBlock { InterfaceBlock(); ~InterfaceBlock(); |