KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.23k stars 634 forks source link

Fix three errors in BufferPool<bindingType>. #1127

Closed asuessenbach closed 1 month ago

asuessenbach commented 1 month ago

Description

Fixes three errors I introduced with #1091:

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

Resolves #1116.

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:

gary-sweet commented 1 month ago

You probably want to mention the issue number somewhere here to tie this back to it: https://github.com/KhronosGroup/Vulkan-Samples/issues/1116

gary-sweet commented 1 month ago

@asuessenbach I've messaged you privately about the cause of the remaining issue. It would also be really good, since these are framework changes, if you could run batch mode yourself and check the box that prompts you to do so.

asuessenbach commented 1 month ago

It would also be really good, since these are framework changes, if you could run batch mode yourself and check the box that prompts you to do so.

Totally agree. I did run the batch 'til its first failure (which was not related to my changes). Plus some of the other samples, but not all. We should strive to resolve all the failures on every sample!

I've messaged you privately about the cause of the remaining issue.

Thanks a lot for spotting the difference! Will have a look at it right now.

gary-sweet commented 1 month ago

Totally agree. I did run the batch 'til its first failure (which was not related to my changes).

The only thing that was preventing a full batch mode running to completion for me was the bug that this change is addressing. It runs fully for me now, so I'm not sure what other things are broken.

asuessenbach commented 1 month ago

It runs fully for me now, so I'm not sure what other things are broken.

I get an obscure error with hello_triangle (loader_add_layer_properties: 'layers' tag not supported until file version 1.0.1, but C:\Windows\System32\DriverStore\FileRepository\nvdmwi.inf_amd64_5542d7b83d2efdd5\nv-vk64.json is reporting version 1) and a to be fixed error in [hpp_]mesh_shading.