P4 to Git Change 1155415 by gandryey@gera-w8 on 2015/05/28 11:39:24

ECR #304775 - Mipmaps support
	- Avoid a bogus error message for a mipmap unmap

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#219 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#81 edit
This commit is contained in:
foreman committed 2015-05-28 11:55:23 -04:00
1 parent 2b7be4d803
commit 89ab6d41a0
3 files changed
+10 -5

No files matched your search

@@ -277,6 +277,9 @@ public:
//! Returns global memory offset
uint64_t vmAddress() const { return gslResource()->getSurfaceAddress(); }
//! Returns global memory offset
bool mipMapped() const { return (cal()->mipLevels_ > 1) ? true : false; }
//! Checks if persistent memory can have a direct map
bool isPersistentDirectMap() const;