mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove UNRECOVERABLE_IF from setArgBuffer
Change-Id: I7cddad0fc902489139b26e655cb301de0dda422c Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
5be98e2e0f
commit
3469539798
@ -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);
|
||||
|
Reference in New Issue
Block a user