fix: add missing unrecoverable macro

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2023-06-22 09:41:13 +00:00
committed by Compute-Runtime-Automation
parent a04915fc33
commit ddffb8a67f

View File

@@ -104,6 +104,7 @@ struct KernelHw : public KernelImp {
args.isDebuggerActive = isDebuggerActive;
NEO::EncodeSurfaceState<GfxFamily>::encodeBuffer(args);
UNRECOVERABLE_IF(surfaceStateAddress == nullptr);
*reinterpret_cast<typename GfxFamily::RENDER_SURFACE_STATE *>(surfaceStateAddress) = surfaceState;
}