commit | b37cb236c3a698b45a7d0deca0df32bb70bbaaa6 | [log] [tgz] |
---|---|---|
author | csmartdalton <csmartdalton@google.com> | Wed Feb 08 14:56:27 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Feb 08 21:37:22 2017 +0000 |
tree | cc59d0b58445468be23612004fd953a6333ab433 | |
parent | 119fb2b9505aea87900d2cf5cf3573814bcae08c [diff] [blame] |
Add integer vectors to GrSLType BUG=skia: Change-Id: I4a4a50e214f2240d83f6f0b02cf43e695c067933 Reviewed-on: https://skia-review.googlesource.com/8122 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/vk/GrVkVaryingHandler.cpp b/src/gpu/vk/GrVkVaryingHandler.cpp index d7d08c9..d936e2b 100644 --- a/src/gpu/vk/GrVkVaryingHandler.cpp +++ b/src/gpu/vk/GrVkVaryingHandler.cpp
@@ -21,6 +21,12 @@ return 1; case kVec4f_GrSLType: return 1; + case kVec2i_GrSLType: + return 1; + case kVec3i_GrSLType: + return 1; + case kVec4i_GrSLType: + return 1; case kMat22f_GrSLType: return 2; case kMat33f_GrSLType: