Skip to content

Commit bb51359

Browse files
authored
Add an example demonstrating the basics of occlusion queries (#1548)
* Add an example demonstrating the basics of occlusion queries * Make some functions const
1 parent fc42de0 commit bb51359

File tree

3 files changed

+508
-5
lines changed

3 files changed

+508
-5
lines changed

Diff for: CHANGELOG_VULKANO.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- `get_results` has been added to `QueriesRange`, to copy query results to the CPU.
3232
- The following functions have been added to both `SyncCommandBufferBuilder` and `AutoCommandBufferBuilder`: `begin_query` (still unsafe), `end_query` (safe), `write_timestamp` (still unsafe), `copy_query_pool_results` (safe), `reset_command_pool` (still unsafe).
3333
- Better documentation of everything in the `query` module.
34+
- An example demonstrating occlusion queries.
3435
- The deprecated `cause` trait function on Vulkano error types is replaced with `source`.
3536
- Vulkano-shaders: Fixed and refined the generation of the `readonly` descriptor attribute. It should now correctly mark uniforms and sampled images as read-only, but storage buffers and images only if explicitly marked as `readonly` in the shader.
3637
- Fixed bug in descriptor array layers check when the image is a cubemap.

0 commit comments

Comments
 (0)