Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: src/gpu/vk/GrVkPipelineState.cpp

Issue 1974983002: Refactor Vulkan image, texture, RTs so that create and getter handles match. (Closed) Base URL: https://skia.googlesource.com/skia.git@fixLayerVersion
Patch Set: clean up Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/vk/GrVkPipelineState.cpp
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp
index 8e52fb46c0e28282efc23ce688004ec3ed2df6e9..c3f91d04a70faae7d831b6bbedcbb54debd3c1eb 100644
--- a/src/gpu/vk/GrVkPipelineState.cpp
+++ b/src/gpu/vk/GrVkPipelineState.cpp
@@ -303,7 +303,7 @@ void GrVkPipelineState::writeSamplers(GrVkGpu* gpu,
fSamplers.push(gpu->resourceProvider().findOrCreateCompatibleSampler(params,
texture->texturePriv().maxMipMapLevel()));
- const GrVkImage::Resource* textureResource = texture->resource();
+ const GrVkResource* textureResource = texture->resource();
textureResource->ref();
fTextures.push(textureResource);

Powered by Google App Engine
This is Rietveld 408576698