mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Don't use BCS for NV12 images
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-4692
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6ea3f57849
commit
a9fe74c98d
@@ -756,6 +756,8 @@ bool CommandQueue::blitEnqueueImageAllowed(const size_t *origin, const size_t *r
|
||||
|
||||
blitEnqueuImageAllowed &= (origin[0] + region[0] <= BlitterConstants::maxBlitWidth) && (origin[1] + region[1] <= BlitterConstants::maxBlitHeight);
|
||||
blitEnqueuImageAllowed &= !isMipMapped(image.getImageDesc());
|
||||
blitEnqueuImageAllowed &= !IsNV12Image(&image.getImageFormat());
|
||||
|
||||
return blitEnqueuImageAllowed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user