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
Sascha Willems
4be9e1bf38
Merge pull request #474 from elect86/master
...
Dead code
2018-08-26 09:53:23 +02:00
Sascha Willems
5206b8e4c0
Merge pull request #479 from sjfricke/master
...
cleaned up particlefire example
2018-08-26 09:52:49 +02:00
saschawillems
34a66f8d73
Initial visibility, visibility toggle
2018-08-12 18:58:36 +02:00
saschawillems
8f4d137cc4
Added conditional rendering example (wip)
2018-08-12 15:07:07 +02:00
Sascha Willems
ae0b59c6e2
Merge pull request #503 from playmer/joshua/cmake_working_dir
...
Added VS_DEBUGGER_WORKING_DIRECTORY to examples
2018-07-27 22:34:14 +02:00
saschawillems
d29196810f
Fixed typo
2018-07-19 15:28:03 +02:00
saschawillems
1de1b9e568
Multiple frame buffer attachments (one per swapchain image)
2018-07-19 15:07:41 +02:00