-
Notifications
You must be signed in to change notification settings - Fork 53
[WIP] Bloom example #24
base: master
Are you sure you want to change the base?
Conversation
Sorry about the inactivity. I still aim to finish this at some point, just probably not until August. |
So I found some hours to revisit this a bit. There are 3 major tasks that need doing before I would consider this at least partially done:
@tomaka If you have time (I know you are probably too busy), could you please provide some guidance on the image reuse issue? I described it in the first comment. Is it possible to do in current vulkano? Also what do you think about the general direction? Is it worth working on further? |
You should definitely be able to share the same image between descriptor sets and framebuffers (as long as you don't use them simultaneously). Theoretically vulkano allows that, but in practice there have been some bugs, and even when it's the programmer's fault it's not very obvious to figure out why. |
This adds a really basic bloom example. While it runs, I would not merge this just yet, as I want to work on it a bit more:
?
inmain
One of the major troubles I had here is, that it is impossible to share images between multiple framebuffers and descriptor sets (it messed with their layout, failing to transition them from
Undefined
). Not sure, if that is the right vulkan behaviour and if images can be shared at all (OpenGL/WebGL does not complain :) ). I tried to track the problem down in vulkano, but got a bit lost.