mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
feature: bindless global heap with debugger
- program debugSurface's SurfaceState at the beginning of Bindless Surface State Heap - SPECIAL_SSH - ensure SPECIAL_SSH is resident Related-To: NEO-7063 Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ba4c06811f
commit
5c565efe28
@@ -25,6 +25,8 @@
|
||||
#include "shared/source/os_interface/product_helper.h"
|
||||
#include "shared/source/utilities/tag_allocator.h"
|
||||
|
||||
#include "encode_surface_state_args.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <typename Family>
|
||||
@@ -612,6 +614,10 @@ void GfxCoreHelperHw<GfxFamily>::adjustPreemptionSurfaceSize(size_t &csrSize) co
|
||||
|
||||
template <typename GfxFamily>
|
||||
void GfxCoreHelperHw<GfxFamily>::encodeBufferSurfaceState(EncodeSurfaceStateArgs &args) const {
|
||||
using RENDER_SURFACE_STATE = typename GfxFamily::RENDER_SURFACE_STATE;
|
||||
auto surfaceState = reinterpret_cast<RENDER_SURFACE_STATE *>(args.outMemory);
|
||||
*surfaceState = GfxFamily::cmdInitRenderSurfaceState;
|
||||
|
||||
EncodeSurfaceState<GfxFamily>::encodeBuffer(args);
|
||||
}
|
||||
template <typename GfxFamily>
|
||||
|
||||
Reference in New Issue
Block a user