Commit graph

  • 5d258ce249 Removed layout transitions and transition cmd buffers, replaced by subpass dependencies of framebuffer class (Refs #155) saschawillems 2016-08-12 22:13:37 +02:00
  • dae07726dc Framebuffer class generates sub pass dependencies for layout transitions, no longer requires layout cmd buffer (Refs #155) saschawillems 2016-08-12 22:00:17 +02:00
  • 2f8c9477f2 Fold attachment layout transitions into subpass (Refs #155) saschawillems 2016-08-12 20:36:49 +02:00
  • 85552a90df Merge branch 'master' into renderpasstransitions saschawillems 2016-08-11 20:00:34 +02:00
  • fd2859b81e Merge pull request #219 from lordheavy/origin/fix-linux-keyboard Sascha Willems 2016-08-11 19:36:53 +02:00
  • 26fa796517 Changed queue submission pipeline wait stages to color_attachment saschawillems 2016-08-11 19:29:40 +02:00
  • 6b259a22e8 Use keycodes intead of hardcoded values Laurent Carlier 2016-08-11 13:15:49 +02:00
  • 92089fc98a Add more Windows and Linux keycodes Laurent Carlier 2016-08-11 13:13:19 +02:00
  • f1fe33f37f Fence for text overlay command buffer submission saschawillems 2016-08-10 20:55:12 +02:00
  • 820e23b085 Fold attachment layout transitions into subpass (Refs #155) saschawillems 2016-08-10 20:48:26 +02:00
  • bc8cae9db7 Fold attachment layout transitions into subpass (Refs #155) saschawillems 2016-08-10 20:39:01 +02:00
  • a56f2b2c6f Correct fence count saschawillems 2016-08-09 23:53:36 +02:00
  • fdd9594221 Replace explicit attachment image transitions with implicit subpass dependencies (Refs #155), heavy refactoring, clean up and lots of added/enhanced comments saschawillems 2016-08-09 23:52:06 +02:00
  • e94a762684 Changes to device queue creation info (Fixes #216), try to get a separate compute queue if possible saschawillems 2016-08-08 20:48:24 +02:00
  • 6b9a8f6051 Correct sky sphere scale, fixed compiler warnings saschawillems 2016-08-08 19:52:16 +02:00
  • e5872c3df4 No longer enable depth clamp by default (Fixes #217) saschawillems 2016-08-07 11:25:21 +02:00
  • 0119d2fc51 Fixed descriptor types for compute pipelines (use storage instead of sampled for compute image reads and write) (Refs #157, Refs#210) saschawillems 2016-08-06 23:08:31 +02:00
  • ed71ae00c3 Windows keycodes, moved gamepad keycodes (Android) to keycodes header saschawillems 2016-08-04 21:18:48 +02:00
  • 563d7c4b9c Removed redundant depth attachment layout transition and wrong comment saschawillems 2016-08-04 21:18:05 +02:00
  • 3eeea85e20 Linux keys Sascha Willems 2016-08-04 20:58:02 +02:00
  • 067d474796 Added path for devices that don't support multiDrawIndirect, resource cleanup on destruction saschawillems 2016-08-04 18:57:32 +02:00
  • 3dea031e2c Added Android build files for indirect draw example saschawillems 2016-08-04 18:55:00 +02:00
  • f564e0b47e Added Android build files for indirect draw example saschawillems 2016-08-04 18:50:53 +02:00
  • f8cd3ee452 Movement keys for (first person) camera on Linux (Refs #56, Refs #181, Refs #186) Sascha Willems 2016-08-03 21:44:04 +02:00
  • df70cc1b6a Added header for platform specific key codes (wip) Sascha Willems 2016-08-03 21:43:01 +02:00
  • bc4e97cd0c Fixed Linux event loop and added first person camera view Sascha Willems 2016-08-03 20:44:31 +02:00
  • 55721b4166 Added indirect draw and terrain tessellation examples to CMakeLists.txt Sascha Willems 2016-08-03 20:43:18 +02:00
  • 84ce1d8da7 No longer overwrite image usage flags passed via arguments, ensure that transfer dest flag is set for staged textures saschawillems 2016-08-02 21:51:22 +02:00
  • 381f568b07 Replaced some C casts with C++ style casts saschawillems 2016-08-02 20:41:16 +02:00
  • 471f592610 Added missing STORGE_BUFFER usage flag for SSBO Sascha Willems 2016-08-02 16:03:38 +02:00
  • 9c1e254b6a Added Android function pointers for indirect draws, lowered object count on Android saschawillems 2016-08-01 22:01:36 +02:00
  • 444c4b9c24 Updated (multi) indirect draw example saschawillems 2016-08-01 21:43:47 +02:00
  • be68bc0a5a Python script for compiling example shaders saschawillems 2016-08-01 18:38:02 +02:00
  • ba8ff21d36 Fixed windows message loop, reduce number of view updates saschawillems 2016-07-31 12:41:50 +02:00
  • 24daaac70e MeshLoader store per-mesh descriptor in buffer for app use, refactoring saschawillems 2016-07-30 11:26:10 +02:00
  • 78fc9be5a4 Added buffer copy function to VulkanDevice saschawillems 2016-07-30 11:06:16 +02:00
  • dde94103eb Clarification for surface capabilities with extent matching the special value 0xFFFFFFFF (refs #90) saschawillems 2016-07-28 23:30:58 +02:00
  • 0495b605fd Restored correct assimp mesh loading flags (Fixes #214) saschawillems 2016-07-28 23:14:45 +02:00
  • cff9eb6b30 Added shaders and testmeshes for indirect drawing example saschawillems 2016-07-28 23:10:10 +02:00
  • 4ed547a916 Change window positioning and sizing for Windows (Fixes #212) saschawillems 2016-07-28 23:07:04 +02:00
  • 175b15da51 Use VulkanDevice for buffer allocations, check anisotropic sampling feature, compiler warnings, comments and code improvements saschawillems 2016-07-24 21:19:28 +02:00
  • 706b9497ce No fps display in window title if text overlay is enabled saschawillems 2016-07-24 21:18:25 +02:00
  • d414849e23 Use VulkanDevice saschawillems 2016-07-23 23:44:26 +02:00
  • 27aa3ad1b2 Added command buffer creation and flush functions to VulkanDevice saschawillems 2016-07-23 23:25:25 +02:00
  • ffaea5a430 Use VulkanDevice saschawillems 2016-07-23 23:24:59 +02:00
  • 053d6423fa Global scene memory allocation instead of per-mesh, use VulkanDevice, compiler warnings saschawillems 2016-07-23 22:47:58 +02:00
  • e4fb1e6126 Global scene memory allocation instead of per-mesh, use VulkanDevice, compiler warnings saschawillems 2016-07-23 22:47:17 +02:00
  • 72a8f94251 Use VulkanDevice for scene loading saschawillems 2016-07-23 21:21:32 +02:00
  • 9a057f4146 Replaced example base memory type index function with function from VulkanDevice saschawillems 2016-07-23 20:42:03 +02:00
  • dbed50bbf2 Command pool creation for VulkanDevice saschawillems 2016-07-23 20:27:51 +02:00
  • 4194673e16 Command pool creation for VulkanDevice saschawillems 2016-07-23 20:18:08 +02:00
  • 1f8a58b6b3 Textoverlay now uses VulkanDevice, refactoring, documentation saschawillems 2016-07-23 18:16:53 +02:00
  • 8503e4a562 Added mips saschawillems 2016-07-23 17:45:49 +02:00
  • 2889bea4e9 TextureLoader now uses VulkanDevice, refactoring, default parameters, documentation saschawillems 2016-07-23 12:26:49 +02:00
  • 6a9bd4fc55 Validation error bits saschawillems 2016-07-22 23:32:43 +02:00
  • c3207287b5 Started work on indirect draw example (wip) saschawillems 2016-07-22 23:16:08 +02:00
  • 919a510549 VulkanDevice class, setup debugging before creating the logical device saschawillems 2016-07-22 22:24:27 +02:00
  • 03fc9f66ea Queue family index stuff moved to VulkanDevice class saschawillems 2016-07-22 21:50:10 +02:00
  • 2e6e9d5eb2 VulkanDevice refactoring saschawillems 2016-07-22 20:45:48 +02:00
  • 109d3e718d Android function pointers for buffer flush and invalidation (Refs #196) Sascha Willems 2016-07-21 17:12:24 +02:00
  • dafc4da14a Added a dedicated buffer object class saschawillems 2016-07-20 22:21:52 +02:00
  • 16d78af7fe Removed unused function saschawillems 2016-07-20 19:16:09 +02:00
  • eedf4d4188 Added more comments to the swapchain, some renaming for clarification Sascha Willems 2016-07-20 16:45:09 +02:00
  • ac7a902c41 Added deferred shadow example to the readme saschawillems 2016-07-19 22:52:24 +02:00
  • ec800e3496 Updated to Android API Level 23 saschawillems 2016-07-19 22:06:19 +02:00
  • d47d6a126a Added deferred shadows example to CMakeLists saschawillems 2016-07-19 20:41:29 +02:00
  • 2e16741d09 Merge pull request #201 from akien-mga/pr-libvulkan-soname Sascha Willems 2016-07-19 21:19:28 +02:00
  • 5e019dfdbb Iterate over all available memory types (Fixes #209) saschawillems 2016-07-19 20:28:31 +02:00
  • 3d4d852b8a Android adjustments saschawillems 2016-07-18 21:39:21 +02:00
  • 4a281dd88d Android gamepad Start button toggles example pause state saschawillems 2016-07-18 21:33:59 +02:00
  • 7251ba347b Added Android build for deferred shadow example saschawillems 2016-07-18 20:54:11 +02:00
  • cba856c1eb Initialize (Linux) quit member (Fixes #207) saschawillems 2016-07-18 20:43:41 +02:00
  • 574287f210 Request host coherent memory types for index and vertex staging buffers (Fixes #203), example uses own getMemoryTypeIndex function for clarification, enabled exceptions for Android build saschawillems 2016-07-18 20:32:25 +02:00
  • cd13e69622 Removed memset on indices in non-staging path for index upload (Fixex #206) saschawillems 2016-07-18 19:59:57 +02:00
  • 7f687570d4 Added debug display for light source depth maps and shadow toggle saschawillems 2016-07-17 18:34:52 +02:00
  • 1e4e233f81 Set framebuffer layer depending on attachment layer count (Refs #204) saschawillems 2016-07-17 15:35:05 +02:00
  • 94d8f7b94a Correct specular highlights, light colors saschawillems 2016-07-17 15:14:52 +02:00
  • f3a86c292c Updated deferred shadows example to use new framebuffer class saschawillems 2016-07-16 23:27:39 +02:00
  • 47bd9d62e2 Added sampler and (default) render pass creation functions to framebuffer class saschawillems 2016-07-16 22:42:45 +02:00
  • 8b785a539f Naming saschawillems 2016-07-16 21:03:13 +02:00
  • 2c663a6c45 Added Vulkan framebuffer class saschawillems 2016-07-16 21:00:26 +02:00
  • 8d7450dbf6 MeshLoader now uses VulkanDevice for creating buffers saschawillems 2016-07-16 19:14:11 +02:00
  • 3c944c2bd9 Added Vulkan device class that encapsulates access to the physical and logical device and includes common functions saschawillems 2016-07-16 17:36:35 +02:00
  • 3339279825 Use scene albedo in final scene composition saschawillems 2016-07-16 11:54:54 +02:00
  • 0112aa034d Initial commit for deferred shadow example (wip) saschawillems 2016-07-14 23:45:52 +02:00
  • 1596086da3 Added open box background mesh saschawillems 2016-07-14 23:44:38 +02:00
  • a89aebd381 Added shaders for deferred shadow example saschawillems 2016-07-14 23:44:08 +02:00
  • 9782fbcb66 Function for generating vertex attribute descriptions for a given vertex layout saschawillems 2016-07-14 21:29:56 +02:00
  • c0798b28ac Linux: Fix name of embedded libvulkan.so Rémi Verschelde 2016-07-11 08:54:19 +02:00
  • 876f5714eb Use gl_FrontFacing to determine mirrored surface side, enable clipping (Refs #190) saschawillems 2016-07-06 21:13:24 +02:00
  • becdc7c9dc Merge pull request #190 from jherico/mirror Sascha Willems 2016-07-06 20:37:27 +02:00
  • 29de5135b0 Updated android build file for deferred shading example saschawillems 2016-07-04 20:54:00 +02:00
  • 48ecef07fa Normal orientation, don't pause by default saschawillems 2016-07-04 19:28:43 +02:00
  • d139e90f66 Reverted change for inverted normal y saschawillems 2016-07-04 19:28:19 +02:00
  • e97713ab34 Added missing line for linux example main macro (Fixes #193) saschawillems 2016-07-04 19:12:30 +02:00
  • 18013c44e0 Visually upgraded deferred rendering example with moving lights, multiple meshes and normal mapping saschawillems 2016-07-03 21:32:35 +02:00
  • f06ffae58e Added normal maps saschawillems 2016-07-03 21:16:36 +02:00
  • 14f82969be Added mesh create info structure for passing info on scaling and centering upon mesh creation saschawillems 2016-07-03 21:09:20 +02:00
  • 93724b523f Apply rotation speed for mouse input saschawillems 2016-07-03 21:06:17 +02:00
  • 28fee1fe6c gl_PerVertex outputs saschawillems 2016-07-03 17:30:27 +02:00