Commit graph

144 commits

Author SHA1 Message Date
Sascha Willems
43f529f46b Initial state 2019-03-29 15:40:27 +01:00
Sascha Willems
072a174e6b Resource cleanup 2019-03-29 08:50:17 +01:00
Sascha Willems
b64f83cc68 Render and visualize CW and CCW quads 2019-03-29 08:45:47 +01:00
Sascha Willems
8afe8d825d Cleanup, code comments 2019-03-29 08:07:20 +01:00
Sascha Willems
358ab9d550 Added new sample to demonstrate negative viewport height via VK_KHR_MAINTENANCE1
Refs #563
2019-03-28 23:51:50 +01:00
Sascha Willems
a7cec2a43f
Merge pull request #555 from gary-sweet/deferred_ms_fix
Fix sample count limits in deferredmultisampling
2019-03-23 09:39:53 +01:00
Sascha Willems
41116e4b53
Merge pull request #560 from rg3igalia/fix_occulsionquery_ubo_update
Fix occlusion query example visual glitch
2019-03-23 09:39:00 +01:00
Ricardo Garcia
afc1663f85 Fix occlusion query example visual glitch
In the occlusion query example, uniform buffers containing visibility
flags are only updated when the view changes, and visibility information
is calculated from occlusion queries coming from the previous frame.

This means a quick mouse movement can produce a visual glitch by which
the number of visible fragments becomes zero (and this is correctly
reflected in the UI overlay) but the color of the model remains
unchanged, or vice versa, until the view is changed again with the
mouse.

To fix this, update uniform buffers before preparing every frame as part
of the draw() method.
2019-03-20 14:15:44 +01:00
Gary Sweet
7632def9d6 Fix sample count limits in deferredmultisampling
The sample count was previously fixed at 8, which is not supported
on some platforms. The code now checks for the maximum supported
sample count and uses that instead.

If you would prefer the upper limit to be fixed at 8, that is
obviously trivial to change.
2019-03-06 12:58:28 +00:00
Sascha Willems
a0adb3cd68 Moved model to asset pack, fixed image usage (validation)
Fixes #553
2019-03-05 20:22:46 +01:00
Sascha Willems
99a52ed64b Properly initialize compute UBO before first submit
Better naming
Fixes #552
2019-02-28 19:41:30 +01:00
Sascha Willems
047f9faeec Fixed image usage (validation), code cleanup
Moved model to asset pack
2019-02-20 20:03:12 +01:00
Scott Moreau
203ea178d0 wayland: Port to xdg-shell stable
Wayland compositors and clients are expected to support the xdg-shell
stable protocol over the deprecated wl_shell protocol.
2019-01-16 01:33:34 -07:00
Orhun Birsoy
4a546d33c0 Pass the full count of the indirectCommands to vkCmdDrawIndexedIndirect
Items with zero instance count still need to be processed.
2018-12-27 13:11:07 -07:00
Sascha Willems
931c79d249 Code cleanup, free Vulkan resources 2018-12-01 22:31:51 +01:00
Sascha Willems
a5c03c7b66 Added per-frame static command buffer scenario 2018-12-01 21:52:27 +01:00
Sascha Willems
32bc5b3a75 Don't use base class semaphores, Code cleanup and reorder 2018-12-01 16:21:56 +01:00
saschawillems
c5e16e2ee1 Command buffer update strategy scenarios example (wip) 2018-11-27 21:24:33 +01:00
Igor Ostrowski
4911aa7d18 Fix maxInlineUniformBlockBindings value + comment 2018-11-14 17:32:46 +01:00
saschawillems
c3e39e555a Use number of cubes for max. number of sets to allocate
Fixes #518
2018-11-10 20:40:33 +01:00
saschawillems
33870e46e3 Code cleanup
Fixes #462
2018-11-10 20:32:48 +01:00
saschawillems
e365faf2b6 Removed unused variables
Fixes #461
2018-11-10 20:13:25 +01:00
saschawillems
64252424a9 Use non-multiview renderpass for view display pipeline, proper final image layout (validation)
Fixes #514
2018-11-07 21:34:02 +01:00
saschawillems
2d7ec92923 Update camera perspective and aspect ratio on window resize
Fixes #510
2018-10-21 09:47:29 +02:00
saschawillems
4af6419f43 Use texture class descriptor with proper image usage layout (fixes validation) 2018-10-20 12:14:11 +02:00
saschawillems
09c6e42468 Code cleanup, fixed validation error
Refs #277
2018-10-20 11:38:43 +02:00
saschawillems
6e30114b1d Material randomization, added sample to readme 2018-10-07 11:44:47 +02:00
saschawillems
e36b0ae021 Enable additional required extensions 2018-10-07 11:26:30 +02:00
saschawillems
38cd7581b6 UI button for updating inline uniform blocks at runtime 2018-10-07 11:12:05 +02:00
saschawillems
367fce5b46 Reworked inline uniform block example 2018-10-07 10:27:28 +02:00
saschawillems
f1a7e66de1 Removed fragment shader from shadow map generation pipeline 2018-09-16 21:39:31 +02:00
saschawillems
dff35dd336 Started work on inline uniform block example (VK_EXT_inline_uniform_block) 2018-09-13 22:46:17 +02:00
saschawillems
0da529d875 Command buffer fence ordering, vertex input refactored 2018-09-09 10:15:51 +02:00
saschawillems
b273739e66 Command buffer fence ordering 2018-09-09 10:05:21 +02:00
saschawillems
3b2e23ac49 Corrected ui rendering order, refactored secondary command buffer generation 2018-09-09 09:34:03 +02:00
saschawillems
e69090df78 Samplecount for UIOverlay, refactored vertex inputs 2018-09-08 22:43:59 +02:00
saschawillems
eef7c81640 UI rendering as part of command Buffer
Refs #496
2018-09-07 14:00:19 +02:00
saschawillems
d39738f39e Merge branch 'master' into imgui_162 2018-09-07 13:44:01 +02:00
saschawillems
0b7804d8f3 Validation fixes, resource cleanup 2018-09-07 12:31:48 +02:00
saschawillems
fbc6154921 Removed unused pipeline binding call, refactored vertex input state 2018-09-07 11:40:04 +02:00
saschawillems
4194499ca4 Changed asset path 2018-09-05 21:09:39 +02:00
saschawillems
7d06198d34 Added conditional rendering sample to CMakeLists 2018-09-05 18:16:28 +02:00
saschawillems
25e296be55 Updated shaders, UI 2018-09-04 21:18:14 +02:00
saschawillems
0dd76f4ce3 Reworked conditional rendering example, using complex glTF model 2018-09-03 21:57:26 +02:00
saschawillems
73dbdfcbda Updated multithreading sample to explicitly call drawUI (updated ImGUI version)
Refs #496
2018-08-31 22:33:26 +02:00
saschawillems
69c3f62b9a Streamlined UI overlay, code cleanup
Refs #496
2018-08-31 21:15:43 +02: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
3bbf0d8f29 Updated ImGui example to support recent ImGui version
Refs #496
2018-08-29 18:24:39 +02:00
Sascha Willems
c9f9d3fccb
Merge pull request #488 from bioglaze/master
Fix using a potentially uninitialized variable in triangle.cpp
2018-08-26 09:56:48 +02:00
Sascha Willems
03864fcce7
Merge pull request #469 from gkv311/master
Fix texture height misprint in texture3d sample
2018-08-26 09:56:07 +02:00