Rename kTexture2DISampler to kITexture2DSampler.
Also remove unused kGrSLTypeCount.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4903
Change-Id: I7f934c56515424b2668886dec2f16296a1256e2c
Reviewed-on: https://skia-review.googlesource.com/4903
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
index 0c40b60..da0eae0 100644
--- a/src/gpu/gl/GrGLGpu.h
+++ b/src/gpu/gl/GrGLGpu.h
@@ -617,7 +617,7 @@
switch (texture->texturePriv().samplerType()) {
case kTexture2DSampler_GrSLType:
return 0;
- case kTexture2DISampler_GrSLType:
+ case kITexture2DSampler_GrSLType:
return 1;
case kTexture2DRectSampler_GrSLType:
return 2;
diff --git a/src/gpu/gl/GrGLTexture.cpp b/src/gpu/gl/GrGLTexture.cpp
index 9f213fb..0174452 100644
--- a/src/gpu/gl/GrGLTexture.cpp
+++ b/src/gpu/gl/GrGLTexture.cpp
@@ -23,7 +23,7 @@
SkASSERT(!GrPixelConfigIsSint(config));
return kTexture2DRectSampler_GrSLType;
} else if (GrPixelConfigIsSint(config)) {
- return kTexture2DISampler_GrSLType;
+ return kITexture2DSampler_GrSLType;
} else {
SkASSERT(idDesc.fInfo.fTarget == GR_GL_TEXTURE_2D);
return kTexture2DSampler_GrSLType;
diff --git a/src/gpu/glsl/GrGLSL.h b/src/gpu/glsl/GrGLSL.h
index 93eee31..872c618 100644
--- a/src/gpu/glsl/GrGLSL.h
+++ b/src/gpu/glsl/GrGLSL.h
@@ -128,7 +128,7 @@
return "mat4";
case kTexture2DSampler_GrSLType:
return "sampler2D";
- case kTexture2DISampler_GrSLType:
+ case kITexture2DSampler_GrSLType:
return "isampler2D";
case kTextureExternalSampler_GrSLType:
return "samplerExternalOES";
diff --git a/src/gpu/vk/GrVkUniformHandler.cpp b/src/gpu/vk/GrVkUniformHandler.cpp
index 612d0db..dcfefbf 100644
--- a/src/gpu/vk/GrVkUniformHandler.cpp
+++ b/src/gpu/vk/GrVkUniformHandler.cpp
@@ -39,7 +39,7 @@
case kVoid_GrSLType:
case kBool_GrSLType:
case kTexture2DSampler_GrSLType:
- case kTexture2DISampler_GrSLType:
+ case kITexture2DSampler_GrSLType:
case kTextureExternalSampler_GrSLType:
case kTexture2DRectSampler_GrSLType:
case kTextureBufferSampler_GrSLType:
@@ -80,7 +80,7 @@
case kVoid_GrSLType:
case kBool_GrSLType:
case kTexture2DSampler_GrSLType:
- case kTexture2DISampler_GrSLType:
+ case kITexture2DSampler_GrSLType:
case kTextureExternalSampler_GrSLType:
case kTexture2DRectSampler_GrSLType:
case kTextureBufferSampler_GrSLType:
diff --git a/src/gpu/vk/GrVkVaryingHandler.cpp b/src/gpu/vk/GrVkVaryingHandler.cpp
index 988e62c..7ea2f18 100644
--- a/src/gpu/vk/GrVkVaryingHandler.cpp
+++ b/src/gpu/vk/GrVkVaryingHandler.cpp
@@ -29,7 +29,7 @@
return 4;
case kTexture2DSampler_GrSLType:
return 0;
- case kTexture2DISampler_GrSLType:
+ case kITexture2DSampler_GrSLType:
return 0;
case kTextureExternalSampler_GrSLType:
return 0;