File: portability_validation.md

package info (click to toggle)
vulkan-validationlayers 1.4.328.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 49,412 kB
  • sloc: cpp: 615,223; python: 12,115; sh: 24; makefile: 20; xml: 14
file content (26 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!-- markdownlint-disable MD041 -->
<!-- Copyright 2020-2024 LunarG, Inc. -->
[![Khronos Vulkan][1]][2]

[1]: https://vulkan.lunarg.com/img/Vulkan_100px_Dec16.png "https://www.khronos.org/vulkan/"
[2]: https://www.khronos.org/vulkan/

# VK_KHR_portability_subset Validation

## Requirements

Either
- The [VK_LAYER_KHRONOS_profiles](https://github.com/KhronosGroup/Vulkan-Profiles) layer with portability enabled _or_
- A driver that supports `VK_KHR_portability_subset`.

## Running the portability tests

All tests can be tested with `--gtest_filter=VkPortability*`

The [./tests README](../tests/README.md) explains how to use the `VK_LAYER_KHRONOS_profiles` to test the Validation Layers

**NOTE** that for portability tests to make sure `VK_KHR_portability_subset` is exposed from the `VVL Test Driver`

```bash
export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=false
```