P4 to Git Change 1530996 by gandryey@gera-w8 on 2018/03/22 18:11:14

SWDEV-79445 - OCL generic changes and code clean-up
	- Remove obsolete assert

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#55 edit


[ROCm/clr commit: d6589a93b2]
This commit is contained in:
foreman
2018-03-22 18:18:21 -04:00
parent 9ffcae9450
commit e5a20cfaa0
@@ -1692,7 +1692,6 @@ void* Resource::map(VirtualGPU* gpu, uint flags, uint startLayer, uint numLayers
}
if (flags & ReadOnly) {
assert(!(flags & Discard) && "We can't use lock discard with read only!");
}
if (flags & WriteOnly) {