mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
Ensured that the mUsesPointSprites flag is properly preserved when loading shaders from binary cache.
BUG=https://code.google.com/p/angleproject/issues/detail?id=389 Review URL: https://codereview.appspot.com/6884053 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1560 736b8ea6-26fd-11df-bfd4-992fa37f6226
This commit is contained in:
1 parent
1aca1adb20
commit
512fb95627
2 files changed
+3
-1
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#define MAJOR_VERSION 1
|
||||
#define MINOR_VERSION 0
|
||||
#define BUILD_VERSION 0
|
||||
#define BUILD_REVISION 1557
|
||||
#define BUILD_REVISION 1560
|
||||
|
||||
#define STRINGIFY(x) #x
|
||||
#define MACRO_STRINGIFY(x) STRINGIFY(x)
|
||||
|
||||
@@ -1685,6 +1685,7 @@ bool ProgramBinary::load(InfoLog &infoLog, const void *binary, GLsizei length)
|
||||
|
||||
stream.read(&mUsedVertexSamplerRange);
|
||||
stream.read(&mUsedPixelSamplerRange);
|
||||
stream.read(&mUsesPointSize);
|
||||
|
||||
unsigned int size;
|
||||
stream.read(&size);
|
||||
@@ -1813,6 +1814,7 @@ bool ProgramBinary::save(void* binary, GLsizei bufSize, GLsizei *length)
|
||||
|
||||
stream.write(mUsedVertexSamplerRange);
|
||||
stream.write(mUsedPixelSamplerRange);
|
||||
stream.write(mUsesPointSize);
|
||||
|
||||
stream.write(mUniforms.size());
|
||||
for (unsigned int i = 0; i < mUniforms.size(); ++i)
|
||||
|
||||
Reference in new issue
Block a user