diff --git a/src/gpu/vk/GrVkBuffer.cpp b/src/gpu/vk/GrVkBuffer.cpp index 9926ec4ad0..d0332b9683 100644 --- a/src/gpu/vk/GrVkBuffer.cpp +++ b/src/gpu/vk/GrVkBuffer.cpp @@ -227,6 +227,6 @@ bool GrVkBuffer::vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInByt void GrVkBuffer::validate() const { SkASSERT(!fResource || kVertex_Type == fDesc.fType || kIndex_Type == fDesc.fType - || kTexel_Type == fDesc.fType || kCopyRead_Type == fDesc.fType - || kCopyWrite_Type == fDesc.fType || kUniform_Type == fDesc.fType); + || kCopyRead_Type == fDesc.fType || kCopyWrite_Type == fDesc.fType + || kUniform_Type == fDesc.fType); } diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp index db926179be..e8a397847c 100644 --- a/src/gpu/vk/GrVkCaps.cpp +++ b/src/gpu/vk/GrVkCaps.cpp @@ -248,8 +248,6 @@ void GrVkCaps::initShaderCaps(const VkPhysicalDeviceProperties& properties, uint } shaderCaps->fIntegerSupport = true; - shaderCaps->fTexelBufferSupport = true; - shaderCaps->fTexelFetchSupport = true; shaderCaps->fVertexIDSupport = true; // Assume the minimum precisions mandated by the SPIR-V spec.