commit | 70fc0800efe725f4f91f4d03b09aa0e567dbb09c | [log] [tgz] |
---|---|---|
author | Dominik Witczak <Dominik.Witczak@amd.com> | Thu Nov 17 13:10:19 2016 +0100 |
committer | Pyry Haulos <phaulos@google.com> | Mon Nov 28 14:23:37 2016 -0500 |
tree | 9550b113c6fa2a8422820701b40e0993e041f356 | |
parent | 179031edd002b72ab8d2f4d8c9bb7d9fb59e1ac9 [diff] |
Fix memory management, image layout issues in uploadImageSparse() Fixes an issue where ShaderRenderCaseInstance::uploadSparseImage() would first configure sparse image bindings and then deallocate the memory objects, prior to actually sampling the image. Fixes an issue where the sparse image, after having been filled with contents, would first be transitioned to SHADER_READ_ONLY_OPTIMAL layout, and then used in a DS which was expecting it to be in GENERLA layout. Finally, the patch addresses a problem, where the function would not correctly recognize the VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT, as reported by the running driver. The change affects dEQP-VK.glsl.*sparse* tests Khronos issue: #543 Change-Id: Ie5717841fe0ef9c0672b5075380ff96bba9855b9
This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.
Up-to-date documentation for the dEQP is available at Android Open Source Project site.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.