Index: src/gpu/gl/GrGLProgramDataManager.cpp |
diff --git a/src/gpu/gl/GrGLProgramDataManager.cpp b/src/gpu/gl/GrGLProgramDataManager.cpp |
index 67b70417be0a462215892f74e57a84ca009dc726..9cd8d57f1826c399c5a8fea3f10f004156d46944 100644 |
--- a/src/gpu/gl/GrGLProgramDataManager.cpp |
+++ b/src/gpu/gl/GrGLProgramDataManager.cpp |
@@ -185,8 +185,7 @@ void GrGLProgramDataManager::setMatrix3f(UniformHandle u, const GrGLfloat matrix |
const Uniform& uni = fUniforms[u.toProgramDataIndex()]; |
SkASSERT(uni.fType == kMat33f_GrSLType); |
SkASSERT(GrGLShaderVar::kNonArray == uni.fArrayCount); |
- // TODO: Re-enable this assert once texture matrices aren't forced on all effects |
- // SkASSERT(kUnusedUniform != uni.fFSLocation || kUnusedUniform != uni.fVSLocation); |
+ SkASSERT(kUnusedUniform != uni.fFSLocation || kUnusedUniform != uni.fVSLocation); |
if (kUnusedUniform != uni.fFSLocation) { |
GR_GL_CALL(fGpu->glInterface(), UniformMatrix3fv(uni.fFSLocation, 1, false, matrix)); |
} |