Index: src/gpu/vk/GrVkTexture.cpp |
diff --git a/src/gpu/vk/GrVkTexture.cpp b/src/gpu/vk/GrVkTexture.cpp |
index c8247ca2f632b54f8ab15ed4a44b536d7071d25c..5c4c3bd6c757b72a272eb54d70659251ae57c921 100644 |
--- a/src/gpu/vk/GrVkTexture.cpp |
+++ b/src/gpu/vk/GrVkTexture.cpp |
@@ -20,7 +20,8 @@ GrVkTexture::GrVkTexture(GrVkGpu* gpu, |
const GrVkImageView* view) |
: GrSurface(gpu, lifeCycle, desc) |
, GrVkImage(imageResource) |
- , INHERITED(gpu, lifeCycle, desc, false) // false because we don't upload MIP data in Vk yet |
+ , INHERITED(gpu, lifeCycle, desc, kSampler2D_GrSLType, |
+ false) // false because we don't upload MIP data in Vk yet |
, fTextureView(view) { |
this->registerWithCache(); |
} |
@@ -34,7 +35,8 @@ GrVkTexture::GrVkTexture(GrVkGpu* gpu, |
Derived) |
: GrSurface(gpu, lifeCycle, desc) |
, GrVkImage(imageResource) |
- , INHERITED(gpu, lifeCycle, desc, false) // false because we don't upload MIP data in Vk yet |
+ , INHERITED(gpu, lifeCycle, desc, kSampler2D_GrSLType, |
+ false) // false because we don't upload MIP data in Vk yet |
, fTextureView(view) {} |