commit | 83781bfa0cd221a190f925e3c196115801514f51 | [log] [tgz] |
---|---|---|
author | Dominik Witczak <Dominik.Witczak@amd.com> | Thu Nov 17 13:10:19 2016 +0100 |
committer | Pyry Haulos <phaulos@google.com> | Thu Feb 09 12:54:12 2017 -0500 |
tree | 14b9908ad3ca3b02b628a53915acb7515ac6536b | |
parent | b788e7ed33968a201f44d0b5f25ac04e4bbb61a0 [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 VK-GL-CTS issue: 156 Change-Id: Ie5717841fe0ef9c0672b5075380ff96bba9855b9 (cherry picked from commit 70fc0800efe725f4f91f4d03b09aa0e567dbb09c)
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.