From 12491efc9b7733447afeb403a14a51279e729e92 Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 3 Jul 2015 15:18:55 -0400 Subject: [PATCH] P4 to Git Change 1167421 by gandryey@gera-w8 on 2015/07/03 15:12:19 ECR #304775 - Mipmaps support. - Add a check for mipmap levels in the resource cache Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#222 edit --- rocclr/runtime/device/gpu/gpuresource.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rocclr/runtime/device/gpu/gpuresource.cpp b/rocclr/runtime/device/gpu/gpuresource.cpp index 0a197a615d..454dff06ab 100644 --- a/rocclr/runtime/device/gpu/gpuresource.cpp +++ b/rocclr/runtime/device/gpu/gpuresource.cpp @@ -2072,6 +2072,7 @@ ResourceCache::findCalResource(Resource::CalResourceDesc* desc) (entry->channelOrder_ == desc->channelOrder_) && (entry->format_ == desc->format_) && (entry->flags_ == desc->flags_) && + (entry->mipLevels_ == desc->mipLevels_) && (entry->isAllocExecute_ == desc->isAllocExecute_)) { ref = it.second; delete it.first;