Commit graph

2339 commits

Author SHA1 Message Date
Sascha Willems
9a6a0b30b0 Added VRS HLSL shaders
Color coding doesn't work properly, as shading rate values don't seem to match with GLSL or DX12 specs
2020-09-12 09:36:28 +02:00
Sascha Willems
08648a417f Properly handle resize 2020-09-11 20:57:06 +02:00
daemyung jang
ad6e36023f
Run on MacOS (#762)
* Run on MacOS

* Update BUILD.md
2020-09-11 20:19:28 +02:00
Sascha Willems
3643d10cac Fix shading rate image dimensions for resolutions that don't divide by shadingRateTexelSize 2020-09-06 17:05:38 +02:00
Sascha Willems
ccadcdd238 Shading rate pattern and colorization 2020-09-05 14:10:02 +02:00
Sascha Willems
8d896cd04b Separate oaque and masked pipelines 2020-09-05 12:15:54 +02:00
Sascha Willems
85bf87125b Added additional flags for binding texture maps and only rendering opaque/masked/blended meshes 2020-09-05 12:12:47 +02:00
Sascha Willems
d9612098a7 Add toggle for shading rate 2020-09-04 09:26:30 +02:00
Sascha Willems
14aebeddbb Toggle for shading rate pattern color visualization 2020-09-02 20:07:37 +02:00
Sascha Willems
236595c940 Proper shading rate image size based on device properties
Fill with different shading rate invocation patters
2020-09-02 19:14:11 +02:00
Sascha Willems
9d0fd8ce5a Started work on variable rate shading sample 2020-09-01 21:51:06 +02:00
Sascha Willems
dcdabb9b12 Added SPIR-V extension to HLSL compile script 2020-08-29 19:56:07 +02:00
Sascha Willems
b9f4b1adf1 Use concurrent sharing mode for image if compute and graphics queue family indices differ
Use semaphores to sync compute and graphics work
Fixes #667
2020-08-29 12:19:05 +02:00
Sascha Willems
5d594acb02 Bugfix for checking enabled instance extensions 2020-08-29 11:32:48 +02:00
Sascha Willems
af49951afb Removed unused include 2020-08-29 10:43:01 +02:00
Sascha Willems
4e600f5943 Fixed coordinate transformation for skybox and reflection objects
Matched HLSL and GLSL shaders
Fixes #757
2020-08-28 21:15:13 +02:00
Sascha Willems
1d815e6ced Better handling of device creation failure 2020-08-27 22:32:49 +02:00
Sascha Willems
8374d6cd68 Code cleanup, changed message for missing enabled device extensions 2020-08-27 22:24:43 +02:00
Sascha Willems
de61539799 Store instance extensions, reworked support check 2020-08-27 19:56:02 +02:00
Jérôme Leclercq
3298455373
Output warning to stderr if an extension is not supported (#756) 2020-08-27 19:36:24 +02:00
Sascha Willems
d5be770f55 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2020-08-24 20:04:53 +02:00
Sascha Willems
236a424955 Fixed full screen mode for resolutions different than current desktop size 2020-08-24 20:04:46 +02:00
datenwolf
fd202bfc76
xcb_connect always returns nonnull pointer, errors must be checked with xcb_connection_has_error (#720)
* xcb_connect always returns nonnull pointer, errors must be checked with xcb_connection_has_error: Fixed the error check to conform to XCB and assert nonnull pointer

* merged with newest master from upstream (tagged ktx)

Co-authored-by: Wolfgang Draxinger <code@datenwolf.net>
Co-authored-by: datenwolf <dw@kraeh.datenwolf.net>
2020-08-24 08:01:23 +02:00
Sascha Willems
d32663d569 Merged #729 2020-08-23 18:05:39 +02:00
Sascha Willems
8f88155a72 Remove prebuilt lib 2020-08-22 09:23:46 +02:00
Hanif Ariffin
8b521e2cd9
Don't perform unecessary copy (#727) 2020-08-22 09:21:12 +02:00
Sascha Willems
4ae75d3ee9 Removed unused define 2020-08-21 21:43:18 +02:00
Sascha Willems
7ef936b044 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2020-08-21 17:29:43 +02:00
Sascha Willems
e04c084312 Use push constants for fixed object data, some minor code cleanup 2020-08-21 17:27:54 +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
fbc3526c58 Added HLSL shaders for order independent transparency sample 2020-08-21 13:37:05 +02:00
Sascha Willems
38ba5e6f3e Descripton of OIT sample 2020-08-21 10:21:59 +02:00
Sascha Willems
2083a9839c Added Android build files and screenshot for order independent transparency sample 2020-08-21 10:12:55 +02:00
daemyung jang
82747df540
Add Order Independent Transparency example (#755)
* Add Order Independent Transparency example

* Update README.md

* Add copyright at Order Independent Transparency example

* Disable the validation by default
2020-08-21 09:27:06 +02:00
Sascha Willems
d6b61a0952 Ray tracing samples properly handle window resize
Refs #750
2020-08-16 10:28:29 +02:00
Sascha Willems
9e22fe7b0d Add resized flag to base class 2020-08-16 10:22:45 +02:00
Sascha Willems
ee946e2abf
Update ray tracing samples to use VK_KHR_ray_tracing (#753)
* Started updating ray tracing samples to KHR extension

* Updated GLSL shaders to use GL_EXT_ray_tracing

* Code cleanup, naming

* Fix include directories to use Vulkan headers from repository instead of NDK for the Android build

* Added new Android function pointers

* Renamed basic ray tracing sample

Added android build files

* Remove unused batch file

* Replaced remaining NV identifiers

* Updating ray tracing shadow sample to KHR extension

* Updated shaders to use KHR instead of NV extension

Fixed shader bindings

* Updating ray tracing reflections sample to KHR extension

* Renamed ray tracing reflections sample

* Renamed ray tracing shadows sample

Added android build files

* Removed no-longer used batch files for shader generation

* Proper alignment for the shader binding table

* Updated readme

* Reworked shader group setup

* Cleanup

* Reworked shader group setup

* Reworked shader group setup

* Code cleanup
2020-08-15 17:59:02 +02:00
Sascha Willems
e6956acfbd Enable VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT_KHR flag on buffers that are allocated with VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT 2020-08-12 20:51:18 +02:00
Sascha Willems
f91bac81ad Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2020-08-12 17:58:34 +02:00
Sascha Willems
15969d58f2 Updated Vulkan headers to 1.2.150 2020-08-12 17:58:00 +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
b0376aea5e Fixed some compiler warnings and obvious errors 2020-08-09 15:10:28 +02:00
Sascha Willems
583e61ac35 Fixed typos 2020-08-09 14:39:32 +02:00
Sascha Willems
2898671f40 Fixed typos 2020-08-09 13:48:49 +02:00
Sascha Willems
fd5f50f298 Fixed typos 2020-08-09 13:38:33 +02:00
Sascha Willems
de035d3572 Fixed typos 2020-08-09 13:28:03 +02:00
Sascha Willems
a465bad5aa Cleaned up includes
Fixed typos
2020-08-09 13:16:35 +02:00
Sascha Willems
9207090718 Fixed typos 2020-08-09 12:14:12 +02:00
Sascha Willems
76331af78f Remove pragma once from implementation files 2020-08-09 11:56:19 +02:00
Sascha Willems
361535b29e Split texture class into header and implementation
Moved include to base class
2020-08-08 22:54:34 +02:00