Remove UNRECOVERABLE_IF from setArgBuffer

Change-Id: I7cddad0fc902489139b26e655cb301de0dda422c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-08-14 13:16:40 +02:00
committed by sys_ocldev
parent 5be98e2e0f
commit 3469539798
2 changed files with 0 additions and 11 deletions

View File

@ -1128,8 +1128,6 @@ cl_int Kernel::setArgBuffer(uint32_t argIndex,
bool forceNonAuxMode = buffer->getGraphicsAllocation()->getAllocationType() == GraphicsAllocation::AllocationType::BUFFER_COMPRESSED &&
!kernelArgInfo.pureStatefulBufferAccess;
UNRECOVERABLE_IF(forceNonAuxMode && isBuiltIn);
if (requiresSshForBuffers()) {
auto surfaceState = ptrOffset(getSurfaceStateHeap(), kernelArgInfo.offsetHeap);
buffer->setArgStateful(surfaceState, forceNonAuxMode);