KhronosGroup / Vulkan-Samples

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

Add missing request of Vulkan1.2 feature scalarBlockLayout #1205

Closed asuessenbach closed 3 weeks ago

asuessenbach commented 1 month ago

Description

The shaders of the ray_tracing_reflection sample are using the scalar block layout. To use that, requesting the VkPhysicalDeviceVulkan12Features::scalarBlockLayout on device creation is required.

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: