Commit graph

1782 commits

Author SHA1 Message Date
Sascha Willems
92dcc1d23a
Merge pull request #636 from RenfengLiu/poolsize
Fix the validation error that there's not enough descriptors left in the pool.
2019-12-01 17:14:52 +01:00
Robin Liu
6eefd7a5b6 Fix the validation error that there's not enough descriptors left in the pool. 2019-11-28 16:44:13 -05:00
binary
364c4695a9
Update ssao.frag
samplePos.z bias  can remove banding
2019-11-25 10:13:19 +08:00
Sascha Willems
144b58a253 Put image memory barrier in proper command buffer 2019-11-23 14:00:24 +01:00
Sascha Willems
9a727ccc43 Put image memory barrier in proper command buffer 2019-11-23 13:59:11 +01:00
Hugues Evrard
05bf2105f4 Be robust to queuePresent returning VK_SUBOPTIMAL_KHR 2019-11-20 18:42:30 -08:00
Chris Forbes
60a459552e Fix displacement sample blindly enabling BC compression feature 2019-11-20 17:34:01 -08:00
Sascha Willems
7086684979 Fix image memory barriers
Use proper stages and access masks
This fixes image memory barrier validation
Refs #631
2019-11-19 19:07:03 +01:00
Sascha Willems
39852c4a27 Use proper buffer sizes 2019-11-19 18:02:49 +01:00
Sascha Willems
f544895708 Use proper type for scratch buffer memory requirements
Explicitly set type for top and botom level AS memory requirements
Fixes #622
2019-11-09 10:47:31 +01:00
Sascha Willems
40c5e64faf Updated comments
Refs #622
2019-11-09 10:35:49 +01:00
VZout
a74849668b Removed unnessessary increment to the shader binding table data 2019-11-01 16:13:23 +01:00
VZout
cd2ec54f7f Cleaned up the createShaderBindingTable for the raytracing examples 2019-11-01 16:01:48 +01:00
Sascha Willems
e1e348ac7a Merge branch 'master' of github.com:SaschaWillems/Vulkan 2019-10-27 17:53:51 +01:00
Sascha Willems
526ed2da0e Simplified offscreen sample 2019-10-27 17:53:31 +01:00
Sascha Willems
27ab72d73f Merge branch 'master' into libktx 2019-10-27 16:38:52 +01:00
Sascha Willems
eddd724e7c Removed unused compute shader ubo members 2019-10-23 20:45:54 +02:00
Sascha Willems
b3214c521b Use VK_EXT_debug_utils instead of deprecated VK_EXT_debug_report for debugging 2019-10-18 20:51:46 +02:00
Sascha Willems
10129ee606 Uee new VK_LAYER_KHRONOS_validation layer on all platforms
Check if validation layer is actually present
2019-10-18 20:48:50 +02:00
Sascha Willems
01bf10f9a8 Uee new VK_LAYER_KHRONOS_validation layer on all platforms
Check if validation layer is actually present
2019-10-18 20:28:54 +02:00
Sascha Willems
0356b62f81 Updated Vulkan headers to 1.1.125 2019-10-18 15:58:29 +02:00
Sascha Willems
0e9ab19fad Reworked compute shader n-body synchronization 2019-10-13 09:40:31 +02:00
Sascha Willems
02280057ea Reworked compute shader n-body synchronization 2019-10-12 20:06:10 +02:00
Sascha Willems
958f0cb65e
Merge pull request #609 from chrisforbes/shader-recompile
Recompile shaders with more modern glslang
2019-10-10 21:19:30 +02:00
Sascha Willems
a5794633f0 Get image offsets outside of assert calls 2019-09-13 22:05:57 +02:00
Sascha Willems
2b8b23acf9 Get image offsets outside of assert calls 2019-09-13 22:02:46 +02:00
Sascha Willems
79998b4851 Merge branch 'master' into libktx 2019-09-13 21:52:19 +02:00
Sascha Willems
ca17e35964 Don't use precise query control flag for statistic queries
Fixes ##600
2019-09-11 20:49:31 +02:00
Sascha Willems
ee354a2fbe Updated Android build instructions 2019-09-06 20:42:05 +02:00
Sascha Willems
d33fc23e0b Merge branch 'master' into libktx 2019-09-06 19:20:35 +02:00
Sascha Willems
36bf3dd31a Removed remaining dds files
All textures are now loaded from ktx
2019-09-06 19:18:15 +02:00
Sascha Willems
90c1cb85f8
Merge pull request #611 from chrisforbes/bug_610
Only use anisotropic sampling if the device supports it
2019-09-06 17:33:13 +02:00
Sascha Willems
ec9f2243e6
Merge pull request #606 from chrisforbes/bug_605
multisampling: only build the per-sample pipeline if the device supports it
2019-09-06 17:28:43 +02:00
Chris Forbes
7ea3fb5e2d Only use anisotropic sampling if the device supports it
Fixes #610
2019-09-06 10:47:10 +01:00
Chris Forbes
a05d90c221 Recompile shaders with more modern glslang
The SPIRV previously checked in had various issues -- most commonly, it
would use the VertexId and InstanceId builtins rather than the
replacmenet VertexIndex and InstanceIndex builtins required by Vulkan.
2019-09-06 09:59:45 +01:00
Chris Forbes
197671b586 multisampling: only build the per-sample pipeline if the device supports it
Bug: #605
2019-09-05 22:29:30 +01:00
Sascha Willems
2f985f2aae Fixed some compiler warnings 2019-08-18 18:33:16 +02:00
Sascha Willems
a6d9b57d7c Merge branch 'master' into libktx 2019-08-05 07:21:30 +02:00
Sascha Willems
c3f1692486 Updated Android build filed for Gradle 5.x
Fixes #597
2019-08-04 13:48:09 +02:00
Sascha Willems
b67c35299b Android asset loading 2019-08-03 18:20:27 +02:00
Sascha Willems
535c693ab2 C++11 flag only for C++ 2019-08-03 13:28:15 +02:00
Sascha Willems
a951ab80e8 Removed vkloader from CMake for libktx 2019-08-03 13:16:00 +02:00
Sascha Willems
1b27063bc7 Android texture loading 2019-08-03 11:38:02 +02:00
Sascha Willems
b3be81cf98 Add libktx to android base library cmake 2019-08-03 11:37:47 +02:00
Sascha Willems
c61fbab138 Removed gli 2019-08-03 10:44:30 +02:00
Sascha Willems
9a29ef7070 Removed gli from submodules 2019-08-03 10:41:27 +02:00
Sascha Willems
85f0e9f6b7 Replaced gli with libktx for terrain tessellation height map loading 2019-08-03 10:39:39 +02:00
Sascha Willems
803ccd0cf4 Replaced gli with libktx for mip generation sample 2019-08-03 10:20:36 +02:00
Sascha Willems
0eef7f2ee1 Removed unused gli includes 2019-08-03 10:15:55 +02:00
Sascha Willems
40a16ac48a Replaced gli with libktx for cubemap texture loading sample 2019-08-03 10:00:29 +02:00