switched from NUM_SHADER_BINARY_FORMATS to NUM_PROGRAM_BINARY_FORMATS
Bug: b/110175245 Change-Id: I6b843bc1e3c36bc32531705fc661788d4eef6d35 Reviewed-on: https://skia-review.googlesource.com/140003 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
b456e2fc84
commit
8fe31406e9
@ -600,7 +600,7 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
||||
}
|
||||
if (fProgramBinarySupport) {
|
||||
GrGLint count;
|
||||
GR_GL_GetIntegerv(gli, GR_GL_NUM_SHADER_BINARY_FORMATS, &count);
|
||||
GR_GL_GetIntegerv(gli, GR_GL_NUM_PROGRAM_BINARY_FORMATS, &count);
|
||||
fProgramBinarySupport = count > 0;
|
||||
}
|
||||
|
||||
|
@ -559,7 +559,6 @@
|
||||
#define GR_GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
|
||||
#define GR_GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE 0x8F63
|
||||
#define GR_GL_SHADER_BINARY_FORMATS 0x8DF8
|
||||
#define GR_GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
|
||||
|
||||
/* StencilFunction */
|
||||
#define GR_GL_NEVER 0x0200
|
||||
@ -852,6 +851,9 @@
|
||||
#define GR_GL_SHADER_BINARY_FORMATS 0x8DF8
|
||||
#define GR_GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
|
||||
|
||||
/* Program Binary */
|
||||
#define GR_GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
|
||||
|
||||
/* Shader Precision-Specified Types */
|
||||
#define GR_GL_LOW_FLOAT 0x8DF0
|
||||
#define GR_GL_MEDIUM_FLOAT 0x8DF1
|
||||
|
Loading…
Reference in New Issue
Block a user