Reduce max number of textures to 4 to make room for a larger class id in effect key
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Sep 2013 19:57:15 +0000 (19:57 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Sep 2013 19:57:15 +0000 (19:57 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@11538 2bbb7eff-a529-9590-31e7-b0007b416f81

include/gpu/GrBackendEffectFactory.h

index 77cf2cc..6f5cb3b 100644 (file)
@@ -40,7 +40,7 @@ public:
          * GrGLEffects' control. So there is a dedicated part of the key which is combined
          * automatically with the bits produced by GrGLEffect::GenKey().
          */
-        kTextureKeyBits = 6,
+        kTextureKeyBits = 4,
         kAttribKeyBits = 6
     };