mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Add PipeControl prior to PipelineSelect WA
Change-Id: Id793ef5b6e7ef771b5b7a1d0fde1fb6aef6e7a5a Related-To: NEO-3457 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
@@ -48,7 +48,7 @@ inline size_t CommandStreamReceiverHw<GfxFamily>::getCmdSizeForL3Config() const
|
||||
template <typename GfxFamily>
|
||||
void CommandStreamReceiverHw<GfxFamily>::programPipelineSelect(LinearStream &commandStream, DispatchFlags &dispatchFlags) {
|
||||
if (csrSizeRequestFlags.mediaSamplerConfigChanged || !isPreambleSent) {
|
||||
PreambleHelper<GfxFamily>::programPipelineSelect(&commandStream, dispatchFlags);
|
||||
PreambleHelper<GfxFamily>::programPipelineSelect(&commandStream, dispatchFlags, peekHwInfo());
|
||||
this->lastMediaSamplerConfig = dispatchFlags.mediaSamplerRequired;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user