feat(zebin): inline sampler

Add support for inline samplers in zebin.
Generate required SAMPLER_STATEs in DSH.

Resolves: NEO-7388

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
Krystian Chmielewski
2022-10-06 09:50:38 +00:00
committed by Compute-Runtime-Automation
parent b21fef96cb
commit 73a58aaf9e
15 changed files with 511 additions and 4 deletions

View File

@@ -126,6 +126,7 @@ class MockKernel : public Kernel {
using Kernel::pImplicitArgs;
using Kernel::preferredWkgMultipleOffset;
using Kernel::privateSurface;
using Kernel::setInlineSamplers;
using Kernel::singleSubdevicePreferredInCurrentEnqueue;
using Kernel::svmAllocationsRequireCacheFlush;
using Kernel::unifiedMemoryControls;
@@ -261,7 +262,7 @@ class MockKernel : public Kernel {
KernelInfo *kernelInfoAllocated = nullptr;
};
//class below have enough internals to service Enqueue operation.
// class below have enough internals to service Enqueue operation.
class MockKernelWithInternals {
public:
MockKernelWithInternals(const ClDeviceVector &deviceVector, Context *context = nullptr, bool addDefaultArg = false, SPatchExecutionEnvironment execEnv = {}) {