diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-09-08 15:52:55 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-09-08 15:52:57 -0700 |
commit | c87ec7ff113a9e102aa9e9d8462fdc00db51cb10 (patch) | |
tree | d911828df28c9397614c4f4d699a9c05f867000d | |
parent | 5d3a9962ab936d6023cf8eb9d25300398d7f972a (diff) |
tests/miptree: Don't check miptree_gen.c into git
It's generated by miptree_gen.py
-rw-r--r-- | src/tests/func/miptree/.gitignore | 1 | ||||
-rw-r--r-- | src/tests/func/miptree/miptree_gen.c | 3192 |
2 files changed, 1 insertions, 3192 deletions
diff --git a/src/tests/func/miptree/.gitignore b/src/tests/func/miptree/.gitignore new file mode 100644 index 0000000..1d28dac --- /dev/null +++ b/src/tests/func/miptree/.gitignore @@ -0,0 +1 @@ +/miptree_gen.c diff --git a/src/tests/func/miptree/miptree_gen.c b/src/tests/func/miptree/miptree_gen.c deleted file mode 100644 index 8580fd0..0000000 --- a/src/tests/func/miptree/miptree_gen.c +++ /dev/null @@ -1,3192 +0,0 @@ -// Copyright 2015 Intel Corporation -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the "Software"), -// to deal in the Software without restriction, including without limitation -// the rights to use, copy, modify, merge, publish, distribute, sublicense, -// and/or sell copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice (including the next -// paragraph) shall be included in all copies or substantial portions of the -// Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -// IN THE SOFTWARE. - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array01" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array01" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array01" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array01" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array02" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array02" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array02" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels01" - ".array02" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array01" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array01" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array01" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array01" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array02" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array02" - ".extent-512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array02" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-1d" - ".levels02" - ".array02" - ".extent-512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 512, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array01" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels01" - ".array02" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array01" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-2d" - ".levels02" - ".array02" - ".extent-512x512" - ".upload-copy-with-draw.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 512, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_WITH_DRAW, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels01" - "" - ".extent-32x32x32" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels01" - "" - ".extent-32x32x32" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels01" - "" - ".extent-32x32x32" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels01" - "" - ".extent-32x32x32" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels02" - "" - ".extent-32x32x32" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels02" - "" - ".extent-32x32x32" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels02" - "" - ".extent-32x32x32" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".r8g8b8a8-unorm" - ".aspect-color" - ".view-3d" - ".levels02" - "" - ".extent-32x32x32" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_R8G8B8A8_UNORM, - .aspect = VK_IMAGE_ASPECT_COLOR_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 32, - .height = 32, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array01" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array01" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array01" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array01" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array02" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array02" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array02" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels01" - ".array02" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array01" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array01" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array01" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array01" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array02" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array02" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array02" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-1d" - ".levels02" - ".array02" - ".extent-1024" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-linear-image.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels01" - "" - ".extent-1024x512x32" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels01" - "" - ".extent-1024x512x32" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels01" - "" - ".extent-1024x512x32" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels01" - "" - ".extent-1024x512x32" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels02" - "" - ".extent-1024x512x32" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels02" - "" - ".extent-1024x512x32" - ".upload-copy-from-buffer.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels02" - "" - ".extent-1024x512x32" - ".upload-copy-from-linear-image.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".d32-sfloat" - ".aspect-depth" - ".view-3d" - ".levels02" - "" - ".extent-1024x512x32" - ".upload-copy-from-linear-image.download-copy-to-linear-image", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_D32_SFLOAT, - .aspect = VK_IMAGE_ASPECT_DEPTH_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_LINEAR_IMAGE, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_LINEAR_IMAGE, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-1d" - ".levels01" - ".array01" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-1d" - ".levels01" - ".array02" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 1, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-1d" - ".levels02" - ".array01" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-1d" - ".levels02" - ".array02" - ".extent-1024" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_1D, - .levels = 2, - .width = 1024, - .height = 1, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels01" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels01" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels02" - ".array01" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-2d" - ".levels02" - ".array02" - ".extent-1024x512" - ".upload-copy-from-buffer.download-copy-with-draw", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_2D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 1, - .array_length = 2, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_WITH_DRAW, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-3d" - ".levels01" - "" - ".extent-1024x512x32" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 1, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; - -test_define { - .name = "func.miptree" - ".s8-uint" - ".aspect-stencil" - ".view-3d" - ".levels02" - "" - ".extent-1024x512x32" - ".upload-copy-from-buffer.download-copy-to-buffer", - .start = test, - .skip = false, - .no_image = true, - .user_data = &(test_params_t) { - .format = VK_FORMAT_S8_UINT, - .aspect = VK_IMAGE_ASPECT_STENCIL_BIT, - .view_type = VK_IMAGE_VIEW_TYPE_3D, - .levels = 2, - .width = 1024, - .height = 512, - .depth = 32, - .array_length = 1, - .upload_method = MIPTREE_UPLOAD_METHOD_COPY_FROM_BUFFER, - .download_method = MIPTREE_DOWNLOAD_METHOD_COPY_TO_BUFFER, - }, -}; |