mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
refactor: Remove 3DSTATE_BTD_BODY structure
Removes 3DSTATE_BTD_BODY as redundant structure. Related-To: NEO-13147 Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9ccecb5a35
commit
f198507875
@@ -1183,8 +1183,8 @@ void EncodeSurfaceState<Family>::encodeExtraCacheSettings(R_SURFACE_STATE *surfa
|
||||
template <typename Family>
|
||||
void EncodeEnableRayTracing<Family>::programEnableRayTracing(LinearStream &commandStream, uint64_t backBuffer) {
|
||||
auto cmd = Family::cmd3dStateBtd;
|
||||
cmd.getBtdStateBody().setPerDssMemoryBackedBufferSize(static_cast<typename Family::_3DSTATE_BTD_BODY::PER_DSS_MEMORY_BACKED_BUFFER_SIZE>(RayTracingHelper::getMemoryBackedFifoSizeToPatch()));
|
||||
cmd.getBtdStateBody().setMemoryBackedBufferBasePointer(backBuffer);
|
||||
cmd.setPerDssMemoryBackedBufferSize(static_cast<typename Family::_3DSTATE_BTD::PER_DSS_MEMORY_BACKED_BUFFER_SIZE>(RayTracingHelper::getMemoryBackedFifoSizeToPatch()));
|
||||
cmd.setMemoryBackedBufferBasePointer(backBuffer);
|
||||
append3dStateBtd(&cmd);
|
||||
*commandStream.getSpaceForCmd<typename Family::_3DSTATE_BTD>() = cmd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user