Our great sponsors
-
vulkan_minimal_compute
Minimal Example of Using Vulkan for Compute Operations. Only ~400LOC. (by karlrado)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
For debugging these kinds of issues, I would recommend enabling the synchronization validation layer.
I got your shader and some of your code working. See https://github.com/karlrado/vulkan_minimal_compute/tree/mipmap.
Yeah, TBH I meant to look at that more carefully. I guess it worked the way I had it and I didn't remember to go back to it. I fixed that up along the lines of (https://github.com/KhronosGroup/Vulkan-Docs/wiki/Synchronization-Examples) and it continues to work ok (at least on the nvidia and intel drivers I tried).
Holy S**T I feel like such an idiot. This fixes it for me. Turns out I understood vulkan just fine, but I did not understand C++.. Commit with the fix: here