Commit graph

273 commits

Author SHA1 Message Date
Sascha Willems
8afe8d825d Cleanup, code comments 2019-03-29 08:07:20 +01:00
Sascha Willems
358ab9d550 Added new sample to demonstrate negative viewport height via VK_KHR_MAINTENANCE1
Refs #563
2019-03-28 23:51:50 +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
cf83c1b499 Nicer font for ImGui overlay 2019-02-20 20:57:38 +01:00
Sascha Willems
eec6444e3d Rebuild shaders with recent glslang compiler
Refs #544
2019-02-20 20:52:12 +01:00
Sascha Willems
047f9faeec Fixed image usage (validation), code cleanup
Moved model to asset pack
2019-02-20 20:03:12 +01:00
Sascha Willems
49ee3469b6 Merge branch 'master' of github.com:SaschaWillems/Vulkan 2019-01-31 20:10:04 +01:00
Sascha Willems
fbbfe62ff4 Updated shadow mapping SPIR-V shaders 2019-01-31 20:09:48 +01:00
Sascha Willems
3eec106b47
Merge pull request #539 from Lunarsong/patch-2
Removed redundant division by w
2019-01-31 20:07:23 +01:00
Shanee
a301ed7c5b
Removed redundant division by w 2019-01-29 23:28:12 -08:00
Shanee
715f3fd9b2
Removed redundant division by w 2019-01-29 23:25:02 -08:00
saschawillems
1f3cb12bd3 Removed GL_ARB_separate_shader_objects and GL_ARB_shading_language_420pack extensions from all shaders 2018-11-19 22:05:47 +01:00
saschawillems
648339bbe6 Removed gl_PerVertex overrides
Fixes #509
2018-10-20 18:00:32 +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
25e296be55 Updated shaders, UI 2018-09-04 21:18:14 +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
8f4d137cc4 Added conditional rendering example (wip) 2018-08-12 15:07:07 +02:00
saschawillems
0fb88d5467 Different scene, toon shading and separate parameters for color input attachment 2018-07-19 11:01:15 +02:00
saschawillems
583a665990 Code cleanup, simplifications, comments 2018-07-17 19:00:55 +02:00
saschawillems
e64f4cf5e4 Simplified and cleaned up sub pass setup, additional comments 2018-07-15 21:15:03 +02:00
saschawillems
a1f166e001 Added basic input attachment sample 2018-07-15 18:18:41 +02:00
saschawillems
0eb306ec9e Barrel distortion as parameter 2018-06-08 21:07:51 +02:00
saschawillems
a122c2380a Render views using quads with barrel distortion (instead of directly blitting result to swapchain) 2018-06-03 16:02:33 +02:00
saschawillems
c56868d660 Started working on multiview example 2018-06-01 22:48:53 +02:00
sjfricke
7e15234145 cleaned up particlefire example
really dug into example to learn and just _leaving the example better then I found it_ but cleaning up some unused values and swizzle redudency in shaders. Tested on desktop and android
2018-05-06 23:27:41 -05:00
saschawillems
6b3dbb81a2 Remove useless uniform in subpasses
Fixes #390
2018-04-27 19:10:47 +02:00
saschawillems
3c578a065f Added basic descriptor sets usage example 2018-04-08 13:12:16 +02:00
saschawillems
3c230c7ff5 Simplified text overlay example, code cleanup, better text blending 2018-03-24 11:35:02 +01:00
saschawillems
0c2720efc3 Code cleanup, comments, different texture and default shader
Fixes #438
2018-03-23 22:04:14 +01:00
saschawillems
9c454d7550 Added push descriptors example 2018-03-09 13:48:54 +01:00
saschawillems
c7b2d04200 Parallax mapping sample shader folder name 2018-03-08 16:48:08 +01:00
Sascha Willems
a3f7d5729c
Merge pull request #431 from cforfang/parallax
Parallax: fix texture() in non-uniform control-flow
2018-03-08 15:16:35 +01:00
Christian Forfang
1daa3a640e Fix capitalization of glslangValidator
* Fixes compileshaders.py not working on Linux due to case-sensitivity
2018-03-07 14:56:56 +01:00
Christian Forfang
8cc8805a43 Parallax: fix texture() in non-uniform control-flow 2018-03-07 14:56:46 +01:00
saschawillems
b2d37e714b Added conservative rasterization example
Refs #422
2018-03-03 17:32:28 +01:00
saschawillems
e7c4e24717 Update PBR SPIR-V shaders (fixes new validation layer message) 2018-03-03 09:54:51 +01:00
saschawillems
3f92d4c0df Removed unused uv vertex attribute
Fixes #412
2018-02-24 10:39:02 +01:00
saschawillems
8b36ac5f76 Moved shader into properly named sub folder 2018-02-24 10:36:38 +01:00
saschawillems
36dbb037c6 Debug quad shader
Fixes #424
2018-02-20 19:28:44 +01:00
saschawillems
75b2a72957 Texture tree and terrain scene, refactoring and cleanup 2017-12-21 21:28:31 +01:00
saschawillems
da17b70fda Small fixes, optimizations and different default scene 2017-12-10 12:22:13 +01:00
saschawillems
3c150e18f3 Added cascaded shadow mapping example 2017-12-09 21:12:55 +01:00
saschawillems
6c5de48c22 Added compute shader execution barrier
Closes #374
2017-11-13 21:06:19 +01:00
saschawillems
a17e3924b3 Added pipeline statistics query example 2017-11-12 14:19:01 +01:00
saschawillems
68692367e0 Replaced text overlay with proper UI overlay 2017-11-01 14:22:10 +01:00
saschawillems
f6af0bde03 Replaced text overlay with proper (imgui based) UI overlay class 2017-10-29 11:41:43 +01:00
saschawillems
cee95e30c5 Enable required features, fix shader validation message 2017-10-21 15:58:10 +02:00
saschawillems
9af56b0ae0 Naming, formatting 2017-09-22 18:59:51 +02:00