commit | fda1b38dde52a02acaa12f2498d42ec01f3927e8 | [log] [tgz] |
---|---|---|
author | Karl Schultz <karl@lunarg.com> | Wed Aug 08 18:56:11 2018 -0600 |
committer | Karl Schultz <karl@lunarg.com> | Wed Aug 22 12:07:55 2018 -0600 |
tree | 1122d612af189848ae1490a2f45460c6e865ac08 | |
parent | 23707623efddc58c56414dd0c7e5103be93c4303 [diff] |
layers: Add check and test for relax block layout Tell the SPIR-V validator to skip block layout checking if the VK_KHR_relaxed_block_layout extension is enabled. This prevents validation error messages for shaders with non-compliant layouts when the extension is enabled. The VK_KHR_relaxed_block_layout extension was promoted to core in 1.1, so it is "enabled" for 1.1 and later apps all the time. Since block layout checking is always relaxed in 1.1 or later, there is really no way to write a negative test for 1.1 or later. Therefore there is just a positive test that checks that no error is generated for a shader with a non-compiliant layout. Fixes #275
This project provides the Khronos official Vulkan validation layers for Windows, Linux, Android, and MacOS.
Platform | Build Status |
---|---|
Linux/Android | |
Windows |
Vulkan is an Explicit API, enabling direct control over how GPUs actually work. By design, minimal error checking is done inside a Vulkan driver. Applications have full control and responsibility for correct operation. Any errors in how Vulkan is used can result in a crash. This project provides Vulkan validation layers that can be enabled to assist development by enabling developers to verify their applications correct use of the Vulkan API.
The following components are available in this repository:
Please see the CONTRIBUTING.md file in this repository for more details. Please see the GOVERNANCE.md file in this repository for repository management details.
BUILD.md Includes directions for building all components as well as running validation tests.
Information on how to enable the various Validation layers is in layers/README.md.
This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.
See COPYRIGHT.txt for a full list of licenses used in this repository.
While this project has been developed primarily by LunarG, Inc., there are many other companies and individuals making this possible: Valve Corporation, funding project development; Google providing significant contributions to the validation layers; Khronos providing oversight and hosting of the project.