aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-10build: Update known-good files glslang commit IDJeremy Kniager
Change-Id: I5ef3ac82301d42cbdb616da4c995cf6dc53c6708
2019-06-06cube: Add usage message on WindowsTony-LunarG
Change-Id: Id709544863b50def407d7e18c330914bebc9c03a
2019-06-06cmake: adjust cmake download process to match new designBob Ellison
Also took Karl off the list of e-mail addresses to be notified, at his request.
2019-06-06cmake: Use CMake 3.10.2 for CIBob Ellison
These changes ensure that the Travis and AppVeyor builds use a known version of CMake.
2019-05-29build: Update known-good files for 1.1.108 headerShannon McPherson
Change-Id: Ifc19c0e0fcb36f9a5009a73979eb20069e9db463
2019-05-29vulkaninfo: Run clang-formatJeremy Kniager
Change-Id: I956d5777b657a25edb7f289047f320345af5cc44
2019-05-29vulkaninfo: VK_KHR_surface_protected_capabilitiesJeremy Kniager
Added output for the following structures from extension VK_KHR_surface_protected_capabilities: VkSurfaceProtectedCapabilitiesKHR Change-Id: I5fb89b8118abbdb3876463f2ff5f96c08221781b
2019-05-29vulkaninfo: Add VK_EXT_host_query_resetJeremy Kniager
Added output for the following structures from extension VK_EXT_host_query_reset: VkPhysicalDeviceHostQueryResetFeaturesEXT Change-Id: Ibc3dce6261ff5e46926d4f969562d377c74f23f5
2019-05-29vulkaninfo: Add VK_EXT_ycbcr_image_arraysJeremy Kniager
Added output for the following structures from extension VK_EXT_ycbcr_image_arrays: VkPhysicalDeviceYcbcrImageArraysFeaturesEXT Change-Id: I0f10ae006e99fff5192729ac32bafae2d9170d0c
2019-05-13update_deps: make --clean-repo switch work in all casesBob Ellison
--clean-repo right now will raise an exception if the repository directory was not present. This makes it work in all cases.
2019-05-13scripts: Temporary workaround for python2Mike Schuchardt
Temporarily patch abc module with ABC helper class until upstream conventions.py script stops using it.
2019-05-13build: Add GN buildMike Schuchardt
Add support for GN, Google's meta-build system for Ninja: https://gn.googlesource.com/gn/ Pull BUILD.gn and script dependencies from https://chromium.googlesource.com/angle/angle Add build_overrides for this project to enable both standalone and component builds using GN. Add GN configuration to Travis CI
2019-05-03scripts: Update known good for 107 header updateShannon McPherson
Updated: - `build-android/vulkan-headers_revision_android` - `scripts/known_good.json` Change-Id: Ibf9d23645407e78805b8b8192a35338452baaf18
2019-05-02Fix memory leak in `vkcube`.Jason Chen
2019-05-01vulkaninfo: Fix crash at Presentable SurfaceJeremy Kniager
Checks to make sure surface extensions were enabled neglected to leave important struct variables outside the if statements. This resulted in these variables becoming uninitialized and causing undefined behaviour. Change-Id: Ice27314aa1d6520fc83c14726e2075a8574ba883
2019-04-30vulkaninfo: Check support for surface extensions before using themGabríel Arthúr Pétursson
Not all ICDs support all the surface extensions that vulkaninfo enumerates. For example, on Linux with an ICD that only support VK_KHR_xcb_surface, vulkaninfo crashes: Presentable Surfaces: ===================== ERROR: VK_KHR_xlib_surface extension not enabled. vkCreateXlibSurfaceKHR not executed! vulkaninfo/vulkaninfo.c:1427: failed with VK_ERROR_EXTENSION_NOT_PRESENT
2019-04-24Update CMakeLists.txtCody Jackson
Adds Control Flow Guard compiler flag to vulkaninfo Control Flow Guard (CG) protects against some forms of memory corruption. See https://docs.microsoft.com/en-us/windows/desktop/secbp/control-flow-guard for details. This compiler flag enables CFG on vulkaninfo. (CFG is already enabled on the Cube project.) Enabling CFG is a low-risk, "set and forget" low hanging fruit for security hardening.
2019-04-23known_good: Update MoltenVK known_good version IDJeremy Kniager
Updated the MoltenVK version in known_good.json to "v1.0.34" Change-Id: I81bfec2e80f724815c4e9576386d00a96b784a48
2019-04-23test: Update cloud CI to use known_good.jsonJeremy Kniager
Updates to other repos can cause errors to propagate from changes that have nothing to do with PRs on Vulkan-Tools. This commit changes cloud CI systems to build with known_good.json in Vulkan-Tools so that issues affecting other repos do not prevent PRs in Vulkan-Tools from getting merged. Change-Id: Iad4907c0bf07322c9b02477e09fed9fd5b72b631
2019-04-23cube: fix scoping of some variables.Dave Airlie
use_invalid: Using "present.pNext", which points to an out-of-scope variable "regions". In theory these local vars are out of scope when they are used later. Pointed out by coverity
2019-04-23cube: remove unused validation_layer_count.Dave Airlie
This is assigned but never used. Pointed out by coverity.
2019-04-23vulkaninfo: use correct type in malloc sizing.Dave Airlie
warning: Result of 'malloc' is converted to a pointer of type 'VkPresentModeKHR', which is incompatible with sizeof operand type 'VkPresentInfoKHR' Pointed out by coverity.
2019-04-23vulkaninfo: handle NULL layer_name.Dave Airlie
Earlier we check for a NULL layer name but not here. Vulkan-Tools-sdk-1.1.101.0/vulkaninfo/vulkaninfo.c:4403: var_deref_model: Passing null pointer "layer_name" to "strcmp", which dereferences it. Pointed out by coverity.
2019-04-23vulkaninfo: handle html output file open failure.Dave Airlie
Vulkan-Tools-sdk-1.1.101.0/vulkaninfo/vulkaninfo.c:5008: dereference: Dereferencing a pointer that might be "NULL" "out" when calling "PrintHtmlHeader". Pointed out by coverity.
2019-04-23cube.cpp: fix uninit non-static member.Dave Airlie
This was pointed out by coverity.
2019-04-12vulkaninfo: Fix HTML outputJeremy Kniager
Fixed the HTML output for the VkPhysicalDeviceDepthStencilResolvePropertiesKHR structure. HTML output was being sent to the terminal instead of the HTML file. Change-Id: I26daa670aa732c0c758dbbc48c1fcdc02e2da38b
2019-04-09scripts: Update known good for 106 header updateShannon McPherson
Changes: - Integrate upstream script changes: We have to plumb-through the new conventions object to continue using the makeCParamDecl utility function - Add GGP to available platforms - Define `VULKAN_HPP_TYPESAFE_CONVERSION` in `cube.cpp` to avoid build errors concerning explicit/implicit casting in `vulkan.hpp` - Update known-good files Updated: - `build-android/vulkan-headers_revision_android` - `cube/cube.cpp` - `scripts/common_codegen.py` - `scripts/known_good.json` - `scripts/kvt_genvk.py` - `scripts/mock_icd_generator.py` - `scripts/vulkan_tools_helper_file_generator.py` Change-Id: Ie9deb9f088d666195bcb987e30974f274d33fc85
2019-04-08cube: Update cube apps to use Khronos val layerMark Lobodzinski
2019-04-08format: Run clang-formatJeremy Kniager
Run clang-format to reformat appropriate changes. Change-Id: I0e8bd083806f5da81d889d306e1802621d4bf7b3
2019-04-08vulkaninfo: Add VK_KHR_depth_stencil_resolveJeremy Kniager
Added output for the following structure from extension VK_KHR_depth_stencil_resolve: VkPhysicalDeviceDepthStencilResolvePropertiesKHR Change-Id: Ib997c0c8d8f35be14cd611e6b6473accc28a2985
2019-04-08vulkaninfo: Add VK_EXT_buffer_device_addressJeremy Kniager
Added output for the following structure in the VK_EXT_buffer_device_address extension: VkPhysicalDeviceBufferAddressFeaturesEXT Change-Id: I04f18b62ccc485ea98522bafc01d9d3f15d19ac2
2019-04-08vulkaninfo: Add VK_EXT_memory_budget outputJeremy Kniager
Added output for the following structures provided by VK_EXT_memory_budget: VkPhysicalDeviceMemoryBudgetPropertiesEXT Change-Id: I442675019ca7b3fbdbed7cd52ac1843f3de341f2
2019-04-08vulkaninfo: Add VK_EXT_memory_priority OutputJeremy Kniager
Added out put for the following structure from extension VK_EXT_memory_priority: VkPhysicalDeviceMemoryPriorityFeaturesEXT Change-Id: I5c32039e878dff7b4323d143830ae7515733f74b
2019-03-28vulkaninfo: Run clang-formatJeremy Kniager
Change-Id: I9fc6732e87c71061c0cabb6b46022b525cf5c84b
2019-03-28vulkaninfo: Fix HTML output warnings and errorsJeremy Kniager
Updated vulkaninfo HTML output to fix errors and warnings output by https://validator.w3.org. Change-Id: Ic84cc71467e69a33d2c816e8e79b918006c3194e
2019-03-22docs: Update GOVERNANCEJeremy Kniager
Updated GOVERNANCE.md to better reflect the KhronosGroup/Vulkan-Tools repo. Change-Id: I74a609324e2e2e24c303d180dde4ba165ed2575a
2019-03-21deps: allow a --generator switch to update_deps.pyBob Ellison
This allows you to use any CMake generator available on your system to configure the dependent repositories, allowing you to match the same generator being used by the project build. update_deps.py: - Take a parameter to specify a CMake generator, and pass it to CMake if present - Allow the user to reduce the count of parallel make jobs that can happen at one time - remove an unnecessary semicolon
2019-03-21docs: Update CONTRIBUTING.md for CI processMike Weiblen
Change-Id: Iaca18022e840df01fd73654630e3f6377b4af2a7
2019-03-21docs: Update BUILD.md for CMake versionsMike Weiblen
2019-03-21build: Update CMake versionJeremy Kniager
Updated suggested CMake version for platforms in BUILD.md. Added CMake version output on Travis and AppVeyor. Change-Id: I128b17c85a8e4c8a5c1f334b818ea8171d9a7143
2019-03-18vulkaninfo: Fix compiler warningsPetr Kraus
2019-03-18vulkaninfo: Report images compatible with memory typePetr Kraus
2019-03-18vulkaninfo: Remove invalid json for present_supportPetr Kraus
2019-03-14docs: Update CONTRIBUTING.mdJeremy Kniager
Updated CONTRIBUTING.md to link to instructions about validating vulkaninfo JSON output.
2019-03-07vulkaninfo: Make present support 1\0 in jsonPetr Kraus
2019-03-07vulkaninfo: Fix missing struct declaration (warning)Petr Kraus
2019-03-07vulkaninfo: Restructure present support output of multi-platform casePetr Kraus
2019-03-07vulkaninfo: Convert surface dynamic array to a linked listPetr Kraus
2019-03-07vulkaninfo: Prevent surface creation silent failurePetr Kraus
2019-03-07vulkaninfo: Fix uninitialized VkDevice pQueuePrioritiesJeremy Kniager