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
This commit is contained in:
foreman
2015-07-03 15:18:55 -04:00
rodzic a3a1e0310f
commit 12491efc9b
@@ -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;