Ealrann / VSand

Rewrite of the "Falling Sand" game with Vulkan.
GNU General Public License v3.0
30 stars 3 forks source link

Change random uniform buffer to a push constant. #5

Closed Ealrann closed 6 years ago

Ealrann commented 6 years ago

The random uniform buffer is just an uint, and is updated every frame.

It would better be a push constant.

Ealrann commented 6 years ago

Bad idea: Update the PushConstants means rebuild the command buffer every frame : I'd like to avoid that for this project.