Commit graph

17 commits

Author SHA1 Message Date
Sascha Willems
3b1ff1eece Ray tracing samples can now also use the UI overlay
General cleanup, changed default settings.overlay value
2021-08-28 12:59:10 +02:00
Sascha Willems
a465bad5aa Cleaned up includes
Fixed typos
2020-08-09 13:16:35 +02:00
Sascha Willems
361535b29e Split texture class into header and implementation
Moved include to base class
2020-08-08 22:54:34 +02:00
Sascha Willems
78f9881ebf Fixed typos 2020-08-08 18:22:10 +02:00
Ben Clayton
ca884587a4 Move shaders into glsl and hlsl directories
Move `data/shaders` to `data/shaders/glsl`
Move `data/hlsl` to `data/shaders/hlsl`

Fix up shader paths in the cpp files to point to the new glsl location.

`data/shaders/hlsl/compile.py` still overwrites the glsl .spv files (for
now).

Issue: #723
2020-06-01 12:22:28 +01:00
Sascha Willems
53846d8b1d Code cleanup 2020-04-20 22:13:51 +02:00
Sascha Willems
458c149c71 Code cleanup 2020-04-20 20:29:15 +02:00
Sascha Willems
215b07bafa Rework synchronization for compute particles sample
Add proper cross-queue-barriers
Replace fence with semaphores
Fixes #649
Fixes #670
Fixes #406
2020-02-22 14:38:53 +01:00
Sascha Willems
780cfee8ab Get compute command buffer via device function 2020-02-22 12:32:17 +01:00
Sascha Willems
acdec3e127 Add proper queue family ownership transfer barriers between compute and graphics (for separate queue families)
Refs #544
2020-02-22 12:20:30 +01:00
Sascha Willems
eddd724e7c Removed unused compute shader ubo members 2019-10-23 20:45:54 +02:00
Sascha Willems
0e9ab19fad Reworked compute shader n-body synchronization 2019-10-13 09:40:31 +02:00
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
Sascha Willems
99a52ed64b Properly initialize compute UBO before first submit
Better naming
Fixes #552
2019-02-28 19:41:30 +01:00
saschawillems
c1c4f06a23 Updated samples to explicitly call drawUI (updated ImGUI version), some code cleanup, removed no-longer necessary UI setup
Refs #496
2018-08-30 21:08:02 +02:00
saschawillems
9e073bdd3b Fixed random seed when run in benchmark mode, use default random engine instead of fixed mersene twister
Refs #269
2018-01-18 21:31:19 +01:00
saschawillems
94a076e1ae Moved example source files into sub folder 2017-11-12 19:32:09 +01:00