Index: src/gpu/vk/GrVkTexture.cpp |
diff --git a/src/gpu/vk/GrVkTexture.cpp b/src/gpu/vk/GrVkTexture.cpp |
index 5d15311cbfe7e079d4bd5275938a25780365b24b..b0dd1079dc6311a50882c3563a43c72b2a32f8e0 100644 |
--- a/src/gpu/vk/GrVkTexture.cpp |
+++ b/src/gpu/vk/GrVkTexture.cpp |
@@ -23,7 +23,7 @@ GrVkTexture::GrVkTexture(GrVkGpu* gpu, |
const GrVkImageView* view) |
: GrSurface(gpu, desc) |
, GrVkImage(info, GrVkImage::kNot_Wrapped) |
- , INHERITED(gpu, desc, kSampler2D_GrSLType, desc.fIsMipMapped) |
+ , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, desc.fIsMipMapped) |
, fTextureView(view) |
, fLinearTextureView(nullptr) { |
this->registerWithCache(budgeted); |
@@ -37,7 +37,7 @@ GrVkTexture::GrVkTexture(GrVkGpu* gpu, |
GrVkImage::Wrapped wrapped) |
: GrSurface(gpu, desc) |
, GrVkImage(info, wrapped) |
- , INHERITED(gpu, desc, kSampler2D_GrSLType, desc.fIsMipMapped) |
+ , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, desc.fIsMipMapped) |
, fTextureView(view) |
, fLinearTextureView(nullptr) { |
this->registerWithCacheWrapped(); |
@@ -51,7 +51,7 @@ GrVkTexture::GrVkTexture(GrVkGpu* gpu, |
GrVkImage::Wrapped wrapped) |
: GrSurface(gpu, desc) |
, GrVkImage(info, wrapped) |
- , INHERITED(gpu, desc, kSampler2D_GrSLType, desc.fIsMipMapped) |
+ , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, desc.fIsMipMapped) |
, fTextureView(view) |
, fLinearTextureView(nullptr) { |
} |