KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.36k stars 649 forks source link

Resolve VVL warning on not consuming vertex attribute at location 3 #1191

Closed asuessenbach closed 1 month ago

asuessenbach commented 1 month ago

Description

The extensions sample push_descriptors fires a VVL performance warning on not consuming the vertex attribute at location 3 in its vertex shader. This PR simply removes that fourth vertex attribute in the vertex_input_attributes on creating the graphics pipeline.

Build tested on Win10 with VS2022. Run tested on Win10 with NVidia GPU.

General Checklist:

Please ensure the following points are checked:

Sample Checklist

If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

marty-johnson59 commented 1 month ago

merging - 3 approvals