Commit Graph

143 Commits

Author SHA1 Message Date
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
Бранимир Караџић
981ea06a97 Cleanup. 2019-08-13 19:22:46 -07:00
Rinthel
2fa32d855d implement compute shader support 2019-08-13 18:44:42 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Rinthel Kwon
6bd22840e7 VK: fix vertex binding bug 2019-08-12 08:31:23 -07:00
Бранимир Караџић
a6316cbf75 VK: Added EXT_memory_budget support. 2019-08-11 18:23:42 -07:00
Attila Kocsis
6b96532a41 Vulkan: scissor extent fixed.
I have tested with imgui combobox.
2019-08-11 14:19:08 -07:00
Бранимир Караџић
518a5f189f Fixed variable shadowing warning. 2019-08-11 09:08:16 -07:00
rinthel
2b5246f72c implement multiple vertex stream
- additional condition for devices that don't have debug_utils extension
- set FIFO present mode if possible
- fix attachment load and store operation and its image layout during render pass creation
- fix resolve attachment reference setup during render pass creation
- implement multiple vertex stream
2019-08-11 09:05:29 -07:00
Бранимир Караџић
e8d4cd032a VK: Added device info to debug screen. 2019-08-10 10:57:22 -07:00
Бранимир Караџић
289afdc762 Removed todos. 2019-08-10 08:00:06 -07:00
Бранимир Караџић
a0c06b1c7c Cleanup. 2019-08-08 07:58:14 -07:00
Rinthel
d3d5aa04b4 implement blit / debug draw / instancing 2019-08-08 07:55:43 -07:00
Бранимир Караџић
0a59946b2a Cleanup. 2019-08-07 07:50:17 -07:00
Бранимир Караџић
b53ae838d7 Cleanup. 2019-08-07 06:58:04 -07:00
Rinthel
72abfdc8a4 implement framebuffer / mipmap / cached sampler
- fix texture mipmap setting / texture update bug
- implement framebuffer
- fix image memory barrier bug
- vkstruct explicit initialization
- sampler caching
2019-08-07 06:49:52 -07:00
Бранимир Караџић
69a19c762c Cleanup. 2019-08-04 20:05:42 -07:00
Бранимир Караџић
4591f5029e Cleanup. 2019-08-04 19:54:27 -07:00
Бранимир Караџић
b59467c5fc Cleanup. 2019-08-04 19:53:28 -07:00
Rinthel
e604ca021d remove warning / add build option for osx 2019-08-04 19:51:16 -07:00
Rinthel Kwon
6927a9179b vulkan renderer draft implementation 2019-08-04 19:51:16 -07:00
Бранимир Караџић
4c899553e3 Cleanup internal profiler. 2019-02-15 16:45:35 -08:00
Branimir Karadžić
b32981d97c VK: Debug names. 2019-01-26 21:31:36 -08:00
Branimir Karadžić
1658b6a100 Fixed build. 2019-01-26 17:43:28 -08:00
Бранимир Караџић
7a45afd5a5 VK: WIP. 2019-01-26 15:26:46 -08:00
Бранимир Караџић
17a620a609 Cleanup. 2019-01-25 17:18:30 -08:00