Commit graph

35 commits

Author SHA1 Message Date
Per Mathisen
580008ee5a Fix for base subpass depedencies had uninitialized dependency flags.
This consistently crashed all the examples on my linux laptop with
Intel GPU in it.

Ref #665
2023-01-05 13:28:40 +01:00
Sascha Willems
9b624451cb Fix base subpass depedencies
Fixes #665
2023-01-01 09:14:25 +01:00
Stephen Saunders
62f6dcf767 Move macOS benchmarking to NSApp rendering loop, makes example windows visible vs. headless 2022-08-01 16:52:06 -04:00
Stephen Saunders
c89d4eb776 Code Review: a) revert TinyGLTF #defines, b) call vkDeviceWaitIdle() in macOS/iOS termination handlers, c) remove OpenMP target_compile_options() in CMakeLists 2022-07-27 01:21:20 -04:00
Stephen Saunders
46b2027dd1 Handle Vulkan / memory cleanup on shutdown for macOS benchmarking case 2022-07-20 12:00:14 -04:00
Stephen Saunders
279c95422d Implement viewChanged() in multiple examples for proper window resize handling, fix triangle example resizing on macOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
121612857c Fixes in examples: support swapchain image count change on resize, fix multiple validation layer errors on resize and quit, multiview now supports resize/fullscreen, computecloth deltaT now based on frame time, multisampling recreates attachments on resize, P key now pauses computeparticles, descriptorsets, and pushdescriptors 2022-07-07 09:57:01 -04:00
Stephen Saunders
2810087752 Fix glTF build & settings issues for macOS, fix triangle example resizing, update macOS examples.h file
(cherry picked from commit 47061ff99446d8826ebe7fe187467ba638236a70)
2022-07-07 09:57:01 -04:00
Rajnesh Kanwal
b228c1adbf Don't set VK_IMAGE_ASPECT_STENCIL_BIT bit if format is depth only 2022-03-06 18:36:11 +00:00
JJCUBER
e427c87664
Fixed typos in comments of triangle.cpp 2021-12-30 22:58:53 -05:00
Longer Long
a78f139563
[Minor] Remove small duplication in triangle.cpp
Remove a line of duplication in `void preparePipelines()` of triangle.cpp.
2021-12-06 10:40:07 -05:00
Sascha Willems
e79634e4da Disable UI overlay for triangle sample
Fixes validation layer errors
Refs #876
2021-10-24 13:19:05 +02:00
Per Inge Mathisen
45ba247b55 Add support for rendering for the headless extension 2021-04-27 13:53:07 +02:00
Nicolas Caramelli
c13a715ead
Add DirectFB WSI support (#761) 2020-09-13 10:12:33 +02:00
daemyung jang
ad6e36023f
Run on MacOS (#762)
* Run on MacOS

* Update BUILD.md
2020-09-11 20:19:28 +02:00
Francesco
2210ca22a9
add FreeBSD support (#752)
Signed-off-by: Lucas Francesco <uramekus@cirno.dev>
2020-08-21 16:23:01 +02:00
Sascha Willems
810efdae27
Merge pull request #749 from setoye/patch-1
fix typo
2020-08-09 18:12:02 +02:00
Sascha Willems
a465bad5aa Cleaned up includes
Fixed typos
2020-08-09 13:16:35 +02:00
Sascha Willems
5539991ca5 Fixed typos 2020-08-08 18:13:29 +02:00
YuTArrUsO
117641ebfb
fix typo
line 751, ttachment -> attachment, transitionss -> transitions
2020-08-02 16:21:57 +08: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
ab38f8b150 Code-Cleanup: All samples now use the camera class and it's matrices
Cleaned up base class
2020-04-22 20:58:24 +02:00
Petr Kraus
3e8c6e952f Tweak Triangle subpass dependencies 2020-03-05 21:20:48 +01:00
Petr Kraus
2a986b6a87 Fix some whitespace 2020-03-05 21:20:42 +01:00
Sascha Willems
b3749a90ad
Merge pull request #653 from httpdigest/master
Fix typos
2020-02-14 07:00:18 +01:00
Sascha Willems
498066749d Removed unused usage flags on depth stencil image 2020-01-24 09:45:48 +01:00
httpdigest
5029e15ec6 Fix typos
http://its-not-its.info/
2020-01-12 12:56:16 +01:00
Hugues Evrard
05bf2105f4 Be robust to queuePresent returning VK_SUBOPTIMAL_KHR 2019-11-20 18:42:30 -08: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
4be9e1bf38
Merge pull request #474 from elect86/master
Dead code
2018-08-26 09:53:23 +02:00
Timo Wiren
0b2104b272 Fix using a potentially uninitialized variable in triangle.cpp 2018-05-20 15:32:13 +03:00
Giuseppe Barbieri
51fe3eee02
Update triangle.cpp 2018-05-02 14:22:54 +02:00
saschawillems
1227f1e7f4 Removed deprecated call to app_dummy 2018-04-30 22:21:24 +02:00
saschawillems
603fdb8a16 Disable validation by default 2017-12-26 10:38:09 +01:00
saschawillems
94a076e1ae Moved example source files into sub folder 2017-11-12 19:32:09 +01:00
Renamed from triangle/triangle.cpp (Browse further)