KhronosGroup / KhronosGroup/Vulkan-Utility-Libraries

Layer Settings need a way to validate `VkLayerSettingEXT`

Open
#254 1 comment 0 reactions 1 assignee Claimed by @christophe-lunarg View on GitHub
features Layer Settings OS - Platform Independent P1
Dominant language
C++
Stars
103
Forks
49
Avg merge
7h 15m
Merged PRs (30d)
4

Description

Brought up in https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/9028

I have no good way in the Validation Layers (without me, and every other layer having to hand-write it) to make sure the `VkLayerSettingEXT` passed in from the app

1. Is not using a `pSettingName` that doesn't exists (aka, a setting was removed and they are still setting it)
2. Validate the type is correct (you try setting `INT32` of `1` or `FLOAT32` of `1.0` instead of using a `BOOL32`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.