diff options
author | 2016-11-16 11:28:16 -0700 | |
---|---|---|
committer | 2016-11-16 19:34:48 +0000 | |
commit | 2245803fcdabbbf216519ef708e1ec84e197e1fb (patch) | |
tree | 429b604e7165982eff339f9d5ce32e99b89814a9 /include/gpu/GrTypesPriv.h | |
parent | 2a51de82ceb6790f329b9f4cc85e61f34fc2d0d4 (diff) |
Rename GrTextureBufferSampler to GrBufferSampler
Just a simple renaming to reinforce the Ganesh notion that a buffer
access is not related to a texture.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4879
Change-Id: I3f12b6eccff744e246618be0a7abf41c4a1228a1
Reviewed-on: https://skia-review.googlesource.com/4879
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'include/gpu/GrTypesPriv.h')
-rw-r--r-- | include/gpu/GrTypesPriv.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h index 72ae2f7d01..4ecab9cc01 100644 --- a/include/gpu/GrTypesPriv.h +++ b/include/gpu/GrTypesPriv.h @@ -31,7 +31,7 @@ enum GrSLType { kITexture2DSampler_GrSLType, kTextureExternalSampler_GrSLType, kTexture2DRectSampler_GrSLType, - kTextureBufferSampler_GrSLType, + kBufferSampler_GrSLType, kTexture2D_GrSLType, kSampler_GrSLType, }; @@ -97,7 +97,7 @@ static inline bool GrSLTypeIsFloatType(GrSLType type) { case kITexture2DSampler_GrSLType: case kTextureExternalSampler_GrSLType: case kTexture2DRectSampler_GrSLType: - case kTextureBufferSampler_GrSLType: + case kBufferSampler_GrSLType: case kBool_GrSLType: case kInt_GrSLType: case kUint_GrSLType: @@ -125,7 +125,7 @@ static inline bool GrSLTypeIs2DCombinedSamplerType(GrSLType type) { case kMat22f_GrSLType: case kMat33f_GrSLType: case kMat44f_GrSLType: - case kTextureBufferSampler_GrSLType: + case kBufferSampler_GrSLType: case kInt_GrSLType: case kUint_GrSLType: case kBool_GrSLType: @@ -143,7 +143,7 @@ static inline bool GrSLTypeIsCombinedSamplerType(GrSLType type) { case kITexture2DSampler_GrSLType: case kTextureExternalSampler_GrSLType: case kTexture2DRectSampler_GrSLType: - case kTextureBufferSampler_GrSLType: + case kBufferSampler_GrSLType: return true; case kVoid_GrSLType: @@ -180,7 +180,7 @@ static inline bool GrSLTypeAcceptsPrecision(GrSLType type) { case kITexture2DSampler_GrSLType: case kTextureExternalSampler_GrSLType: case kTexture2DRectSampler_GrSLType: - case kTextureBufferSampler_GrSLType: + case kBufferSampler_GrSLType: case kTexture2D_GrSLType: case kSampler_GrSLType: return true; |