mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 15:39:03 +00:00
Deduplicate logging of pixel differences (#1175)
clCopyImage and clFillImage contain near-duplicate code for logging of pixel difference errors. Move this into imageHelpers. Signed-off-by: Stuart Brady <stuart.brady@arm.com>
This commit is contained in:
@@ -134,6 +134,11 @@ typedef struct
|
||||
float p[4];
|
||||
} FloatPixel;
|
||||
|
||||
void print_first_pixel_difference_error(size_t where, const char *sourcePixel,
|
||||
const char *destPixel,
|
||||
image_descriptor *imageInfo, size_t y,
|
||||
size_t thirdDim);
|
||||
|
||||
void get_max_sizes(size_t *numberOfSizes, const int maxNumberOfSizes,
|
||||
size_t sizes[][3], size_t maxWidth, size_t maxHeight,
|
||||
size_t maxDepth, size_t maxArraySize,
|
||||
|
||||
Reference in New Issue
Block a user