procedural-3d-engine/examples/computenbody
JC Liang b575a1ff1a Fix some synchronization flaws
- shader: add barrier at the end of each iteration to avoid writing before the reading finished
- cpp: add synchronization between compute and graphics, the image barrier is not enough for the data visibility between different submission

	modified:   data/shaders/computenbody/particle_calculate.comp
	modified:   data/shaders/computenbody/particle_calculate.comp.spv
	modified:   examples/computenbody/computenbody.cpp
2019-06-17 19:31:00 +08:00
..
computenbody.cpp Fix some synchronization flaws 2019-06-17 19:31:00 +08:00