mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Refactor ImageInfo 2/n
Change-Id: I5e6081a75b802cc98fd89e384d550a219353728b Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0a39140284
commit
81e9591c31
@@ -272,7 +272,7 @@ cl_int Context::getSupportedImageFormats(
|
||||
const bool nv12ExtensionEnabled = device->getDeviceInfo().nv12Extension;
|
||||
const bool packedYuvExtensionEnabled = device->getDeviceInfo().packedYuvExtension;
|
||||
|
||||
auto appendImageFormats = [&](ArrayRef<const SurfaceFormatInfo> formats) {
|
||||
auto appendImageFormats = [&](ArrayRef<const ClSurfaceFormatInfo> formats) {
|
||||
if (imageFormats) {
|
||||
size_t offset = numImageFormats;
|
||||
for (size_t i = 0; i < formats.size() && offset < numEntries; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user