Fix scratch in bindless mode

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2021-01-11 11:30:28 +00:00
committed by Compute-Runtime-Automation
parent 024012c66c
commit 24a88d22aa
8 changed files with 49 additions and 18 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Intel Corporation
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -140,8 +140,8 @@ void populatePointerKernelArg(ArgDescPointer &dst,
case KernelDescriptor::BindlessAndStateless:
dst.bindful = undefined<SurfaceStateHeapOffset>;
dst.stateless = stateless;
dst.bindless = bindless;
dst.stateless = undefined<CrossThreadDataOffset>;
dst.bindless = stateless;
dst.pointerSize = pointerSize;
break;
}