Commit Graph

34 Commits

Author SHA1 Message Date
Бранимир Караџић
fa97a50df0 VK: GPU timer stub. 2020-10-19 19:30:39 -07:00
pheonix
13bbf02a67
Vulkan API version auto selector (#2283)
* [vulkan] Vulkan API auto-selection for latest available.
- Selects for the maximum vulkan API version available on the host's vulkan driver for a created instance.
- Stores the created instance's vulkan API version on RendererContextVK.
- Created instance's vulkan API version dumped using BX_TRACE in MAJOR.MINOR.PATCH format.
- Physical Device's vulkan API version dumped in MAJOR.MINOR.PATCH format.

* Address code review notes.
- Actually use `vkEnumerateInstanceVersion` if it exists.
- Remove "bgfx supported" vulkan api static array.
2020-10-11 20:38:57 -07:00
Бранимир Караџић
a1d12fe7f3 Cleanup. 2020-10-04 14:23:00 -07:00
Julian Xhokaxhiu
2c38e090d2
Various Vulkan/Direct3D 12 enhancements (#2246)
* [VK] Add RT MSAA support

* [VK] Add GenerateMips support

* [VK] Add Screenshot feature

* [D3D12] Add MSAA RT support

* [VK] Fix blit operation on MSAA RT textures

* [D3D12] Fix blit operation on MSAA RT textures
2020-10-04 14:21:12 -07:00
Бранимир Караџић
0123831126 Fixed release build. 2020-07-24 20:35:08 -07:00
Бранимир Караџић
486fdecbcc Cleanup. 2020-07-24 14:55:03 -07:00
Edu Garcia
f95a596851
Don't call vkCmdEndDebugUtilsLabelEXT when unsupported (#2211)
Validation will swamp your logs with a warning on every call
2020-07-24 08:58:31 -07:00
Бранимир Караџић
5b05c6c09e Cleanup. 2020-06-24 17:57:35 -07:00
Бранимир Караџић
2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -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
Бранимир Караџић
aff6bc0d41 Renamed directory containing vulkan headers to avoid clash with system headers. Fixed issue #2097. 2020-04-07 20:42:53 -07:00
Pablo Escobar
eeb5fe7c02 Don't double-quote profiler literals 2020-04-03 21:56:54 +00:00
Pablo Escobar
08360a338a Vulkan: streamline debug labels (+ color) 2020-04-03 21:56:54 +00:00
Sandy Carter
dba8b8efef vulkan: Add swizzle definition to formats
Fix color ordering of RGBA4
2020-02-08 09:21:12 -08:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -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
Бранимир Караџић
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
Бранимир Караџић
a6316cbf75 VK: Added EXT_memory_budget support. 2019-08-11 18:23:42 -07:00
Rinthel
d3d5aa04b4 implement blit / debug draw / instancing 2019-08-08 07:55:43 -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
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
Бранимир Караџић
7a45afd5a5 VK: WIP. 2019-01-26 15:26:46 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić
fd9eb3a021 VK: Fixing validation errors. 2018-04-15 18:08:39 -07:00
Branimir Karadžić
ca22a96f70 VK: Added attribute remap for binding vertex layout to shader. 2018-04-13 18:01:39 -07:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
e0b901a98a VK: Initial commit. 2016-12-15 19:03:47 -08:00