mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Correct binding table prefetch
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-6075 Binding table entry count was zeroed even when ForceBtpPrefetchMode debug flag was enabled
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
88fe22fc49
commit
410fd7d909
@ -251,10 +251,9 @@ size_t HardwareCommandsHelper<GfxFamily>::sendIndirectState(
|
||||
|
||||
uint64_t offsetInterfaceDescriptor = offsetInterfaceDescriptorTable + interfaceDescriptorIndex * sizeof(INTERFACE_DESCRIPTOR_DATA);
|
||||
|
||||
auto bindingTablePrefetchSize = std::min(31u, static_cast<uint32_t>(kernel.getNumberOfBindingTableStates()));
|
||||
|
||||
if (!EncodeSurfaceState<GfxFamily>::doBindingTablePrefetch()) {
|
||||
bindingTablePrefetchSize = 0;
|
||||
auto bindingTablePrefetchSize = 0;
|
||||
if (EncodeSurfaceState<GfxFamily>::doBindingTablePrefetch()) {
|
||||
bindingTablePrefetchSize = std::min(31u, static_cast<uint32_t>(kernel.getNumberOfBindingTableStates()));
|
||||
}
|
||||
|
||||
HardwareCommandsHelper<GfxFamily>::sendInterfaceDescriptorData(
|
||||
|
Reference in New Issue
Block a user