Index: src/gpu/vk/GrVkGLSLSampler.h |
diff --git a/src/gpu/vk/GrVkGLSLSampler.h b/src/gpu/vk/GrVkGLSLSampler.h |
index 4bfacaed4800e98453b57b5af9472a6afa5b28d6..f0ba7fa335991d0a68f54c86eea7215c0a9b600b 100644 |
--- a/src/gpu/vk/GrVkGLSLSampler.h |
+++ b/src/gpu/vk/GrVkGLSLSampler.h |
@@ -21,7 +21,7 @@ public: |
const char* name, |
uint32_t binding, |
uint32_t set) : INHERITED(visibility, config), fBinding(binding) { |
- SkASSERT(GrSLTypeIsSamplerType(type)); |
+ SkASSERT(GrSLTypeIsCombinedSamplerType(type)); |
fShaderVar.setType(type); |
fShaderVar.setTypeModifier(GrGLSLShaderVar::kUniform_TypeModifier); |
fShaderVar.setPrecision(precision); |