Commit Graph

168 Commits

Author SHA1 Message Date
Бранимир Караџић
52f728b253 Updated vulkan headers. 2020-05-15 23:36:29 -07:00
Hugo Amnov
b62302631e Add Webgpu backend (#2132)
* WebGPU first draft (shaderc bin version 8)

* WebGPU scripts
2020-05-08 08:53:53 -07:00
Hugo Amnov
6601a4a6f7 Fix Vulkan texture update/upload (#2130) 2020-05-03 14:22:20 -07:00
Hugo Amnov
b48b084d25 Vulkan cleanup for Webgpu (#2127)
* Harmonize and simplify Vulkan SPIRV bindings mappings

* Handle Vulkan V-flip properly

* Update Embedded shaders
2020-05-03 13:54:30 -07:00
Hugo Amnov
f9b1a9f5d4 Vulkan cleanup and minor bug fixes (#2129) 2020-05-03 13:27:31 -07:00
kingscallop
55a0427f93 Don't bind descriptorSetLayout if not present on program (#2124) 2020-05-01 09:39:30 -07:00
kingscallop
d619783769 Reworked vulkan layers and extensions support (#2117)
Better support for enabling and disabling vulkan instance layers and instance extensions and vulkan device layers and device extensions.
2020-05-01 07:39:21 -07:00
kingscallop
cb113a95fb Fix the missing clear of the depth buffer handle (#2122) 2020-04-26 20:32:27 -07:00
kingscallop
845f8692a5 Fix vulkan validation warning about alignment (#2121) 2020-04-26 20:32:10 -07:00
kingscallop
09c02f999d Fixed small typo (#2120) 2020-04-26 20:30:45 -07:00
Бранимир Караџић
36ec2a462d Removed alignment macros, and added functions instead. 2020-04-19 18:23:04 -07:00
Pablo Escobar
eeb5fe7c02 Don't double-quote profiler literals 2020-04-03 21:56:54 +00:00
Pablo Escobar
c08d451493 Formatting 2020-04-03 21:56:54 +00:00
Pablo Escobar
08360a338a Vulkan: streamline debug labels (+ color) 2020-04-03 21:56:54 +00:00
Pablo Escobar
be626359f9 Fix #2071 again 2020-03-29 16:16:33 +00:00
Pablo Escobar
1c9e6e6bb6 Fix #2071, #1950 2020-03-28 16:35:41 +00:00
Pablo Escobar
1f5ca837de Vulkan: fall back to deprecated validation layers if necessary 2020-03-27 04:35:19 +00:00
Pablo Escobar
9482c8589e Vulkan: bind correct compute index buffer 2020-03-26 22:17:53 +00:00
Pablo Escobar
d3e4e35700 Formatting 2020-03-26 19:03:05 +00:00
Pablo Escobar
570d269b86 Vulkan: enable sRGB backbuffer and sRGB textures 2020-03-26 19:03:05 +00:00
Pablo Escobar
0636436006 Vulkan: fix validation errors, switch to new validation layers 2020-03-24 21:28:48 +00:00
Бранимир Караџић
34caa9cfb3 Fixed issue #2072. 2020-03-22 13:52:50 -07:00
Бранимир Караџић
8e18824460 Cleanup. 2020-03-22 13:51:09 -07:00
Pablo Escobar
c9fcca6327 Vulkan: use correct vertex layout for calculating vertex count 2020-03-22 20:47:35 +00:00
Sandy Carter
dba8b8efef vulkan: Add swizzle definition to formats
Fix color ordering of RGBA4
2020-02-08 09:21:12 -08:00
stolk
e7b8606146 Properly size the set, so that no overrun happens. 2020-02-04 18:24:59 -08:00
Abraham Stolk
bb07e99907 Fix clear range. 2020-01-30 12:18:28 -08:00
Abraham Stolk
2efeada1c0 This fixes a buffer overflow in an array of write descriptor sets. 2020-01-30 12:18:28 -08:00
Cedric Guillemet
b4cac17b93 default parameters 2020-01-21 09:11:53 -08:00
Cedric Guillemet
4b83e0f5bc discard flags 2020-01-21 09:11:53 -08:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Sandy
3a78f007ef Fix inconsitency between Backends for RGB5A1 (#1932)
* opengl: Fix color ordering of RGB5A1

* vulkan: Fix color ordering of RGB5A1

* d3d9: Fix color ordering of RGB5A1
2019-11-03 07:10:55 -08:00
Бранимир Караџић
ac81eb1e9d Cleanup. 2019-10-28 18:26:28 -07:00
R. Belmont
02496b75c9 Support disabling vsync on Vulkan, take 2 (#1925)
* Support disabling Vsync on Vulkan [couriersud]

* Add missing lines to fix compiling.
2019-10-28 16:04:36 -07:00
Бранимир Караџић
6097f53378 Revert "Support disabling Vsync on Vulkan [couriersud] (#1924)"
This reverts commit 7ddbefac10.
2019-10-28 08:19:17 -07:00
R. Belmont
7ddbefac10 Support disabling Vsync on Vulkan [couriersud] (#1924) 2019-10-28 08:17:35 -07:00
Cedric Guillemet
6a883a33fd Front facing (#1904)
* Added BGFX_STATE_FRONT_CCW to defines.h and implemented initial usage only in renderer_d3d11.cpp.

* set front facing for d3d12, gl metal and vulkan

* front facing method Metal

* tabs

* removed tab
idl updated
2019-10-25 20:07:05 -07:00
Бранимир Караџић
1e5c99ed76 VK: Added VK device to internal data. 2019-09-12 21:18:18 -07:00
Jonathan Young
3ea69999e6 Fix uninitialized Vulkan sampler hash. 2019-09-05 06:54:53 -07:00
Jonathan Young
d23c203981 Use correct texture mip dimensions in Vulkan renderer. 1x0 was possible for the lowest mip if the texture had a 2:1 or greater aspect ratio. 2019-08-30 07:22:57 -07:00
Бранимир Караџић
7758c6a69c Fixed warnings. 2019-08-28 21:00:39 -07:00
Бранимир Караџић
016f29eea7 Cleanup. 2019-08-24 11:29:45 -07:00
Бранимир Караџић
31b2d37456 VK: Added more supported caps. 2019-08-23 20:48:58 -07:00
Rinthel
f453c55e7c reflect review 2019-08-18 07:55:27 -07:00
Rinthel
b35efb53a1 refactor swapchain 2019-08-18 07:55:27 -07:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Бранимир Караџић
2554425bae Cleanup. 2019-08-17 09:51:50 -07:00
Rinthel
4342db8f3b VK: descriptor set optimization / refactoring
- add support to indirect compute call
- use dynamic uniform buffer instead of uniform
- create depth view for depth/stencil texture
- fix dynamic uniform buffer bug, apply it to compute shader
- refactor descriptor set allocation / setting
- fix image layout reinit
- get and set device feature / fix independent blending
- cleanup
2019-08-17 09:49:01 -07:00
Бранимир Караџић
e501923756 Fixed back buffer depth format. 2019-08-15 19:18:18 -07:00
Бранимир Караџић
cebb749752 VK: Cleanup. 2019-08-14 08:05:00 -07:00