| Index: src/gpu/glsl/GrGLSLUniformHandler.h
|
| diff --git a/src/gpu/glsl/GrGLSLUniformHandler.h b/src/gpu/glsl/GrGLSLUniformHandler.h
|
| index 56cac4a49fe26e004bf8cda9384469dfb4f6c0ce..d7b213869c7d5444bfe0814a5ac00b00e303b84c 100644
|
| --- a/src/gpu/glsl/GrGLSLUniformHandler.h
|
| +++ b/src/gpu/glsl/GrGLSLUniformHandler.h
|
| @@ -32,7 +32,7 @@ public:
|
| GrSLPrecision precision,
|
| const char* name,
|
| const char** outName = nullptr) {
|
| - SkASSERT(!GrSLTypeIsSamplerType(type));
|
| + SkASSERT(!GrSLTypeIsCombinedSamplerType(type));
|
| return this->addUniformArray(visibility, type, precision, name, 0, outName);
|
| }
|
|
|
| @@ -42,7 +42,7 @@ public:
|
| const char* name,
|
| int arrayCount,
|
| const char** outName = nullptr) {
|
| - SkASSERT(!GrSLTypeIsSamplerType(type));
|
| + SkASSERT(!GrSLTypeIsCombinedSamplerType(type));
|
| return this->internalAddUniformArray(visibility, type, precision, name, true, arrayCount,
|
| outName);
|
| }
|
|
|