Commit Graph

39 Commits

Author SHA1 Message Date
Бранимир Караџић
d61f78e263 Cleanup. 2021-04-05 12:27:48 -07:00
pezcode
db12a1d0e1 Vulkan: alias texture types in shaders + misc fixes (#2447)
* Don't enable optional extensions if BGFX_CONFIG_RENDERER_USE_EXTENSIONS is 0

* Support rendering to slices of 3D textures

* Create transient command pool

* Blit array layers for non-cube textures

* Clean up destroy and release functions

Simplifies CommandQueueVK code, automatically sets handles to NULL after release(), removes the need for explicit StateCacheT instantiations, and enables usage of StateCacheLru

* Fix renderpass hash calculation

* Allow sampling cube array textures

* Make StateCacheLru work with types overloading the address-of operator

* Alias textures to shader sampler type

Requires shaders with shaderc binary version 8 or higher

* Fix 32-bit compilation
2021-04-05 07:40:15 -07:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић
d86c16213e Cleanup. 2020-06-18 21:20:01 -07:00
Бранимир Караџић
2cbcb6ea90 RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:18 -07:00
juj
486f8bde71 Optimize hot matrix maths in renderer draw call submission (#2135) 2020-05-06 07:38:54 -07:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Sandy
c7950c6db3 view stats: Make CPU and GPU timestamps available (#1921)
* view stats: Make GPU begin and end times available

* view stats: Make CPU start and end times available

* view stats: Remove redundant `gpuTimeElapsed`

Value can be derived by `gpuTimeEnd - gpuTimeBegin`

* view stats: Remove redundant `cpuTimeElapsed`

Value can be derived by `cpuTimeEnd - cpuTimeBegin`
2019-10-31 07:30:35 -07:00
Бранимир Караџић
a1c39c7190 Cleanup. 2019-03-27 09:58:11 -07:00
Jan-Eric Duden
e4f0d6893a FIX asan error (false positive). Use of bx::uint32_cnttz with 0 results in undefined value. 2019-03-27 16:40:41 +01:00
Бранимир Караџић
4c899553e3 Cleanup internal profiler. 2019-02-15 16:45:35 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
22fb0f7ad7 Removing VR leftovers. 2018-12-21 23:25:30 -08:00
Branimir Karadžić
db0ec1f5db Removed HMD API and OculusVR support. 2018-07-19 20:22:21 -07:00
Branimir Karadžić
480620751b Separating DXGI functionality from D3D11 renderer. 2018-03-10 11:47:21 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
b3fcc8350b Fixed issue #1281. 2017-11-27 09:06:57 -08:00
Branimir Karadžić
85322904a9 Moved internal view state into single struct. 2017-10-30 08:39:25 -07:00
Branimir Karadžić
d4e3828e80 Cleanup. 2017-10-09 21:17:58 -07:00
Branimir Karadžić
61cee3d3bb Refactoring internal frame structure to separate submit encoder. 2017-10-08 20:47:51 -07:00
Branimir Karadžić
167db342bd Added BGFX_DEBUG_PROFILER. 2017-08-20 14:46:33 -07:00
Branimir Karadžić
21ade78454 Replaced GL internal profiler. 2017-08-20 14:20:54 -07:00
Branimir Karadžić
c83d2ea7a6 Fixed issue #1220. 2017-08-16 13:16:18 -07:00
Branimir Karadžić
83965f10e8 Cleanup. 2017-05-31 18:05:29 -07:00
Branimir Karadžić
276d1557de D3D11: Added multiple vertex stream support. 2017-05-12 17:53:12 -07:00
Branimir Karadžić
682cbc60ab GL: Fixed texture blit in last view. 2017-05-05 21:25:44 -07:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
5bfcf44d83 Cleanup. 2017-02-02 18:09:52 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
63aa96f113 Cleanup. 2016-11-20 12:50:28 -08:00
Branimir Karadžić
7092638aea Cleanup. 2016-11-17 18:53:49 -08:00
Branimir Karadžić
25470bb418 Cleanup. 2016-11-07 18:09:05 -08:00
Branimir Karadžić
1c3e28fd9d Cleanup. 2016-09-29 18:30:21 -07:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić
bb89e6291c Cleanup. 2015-08-28 20:34:14 -07:00
Mike Popoloski
117571231a Fixing crash on WP8 ARM
The ViewState struct is so big that it blows out the stack on ARM devices. This change promotes it to a member variable.
2015-04-17 22:06:09 -04:00
Branimir Karadžić
32f4165aa9 Updated GENie script to remove *.bin.h from projects. 2015-03-21 17:42:46 -07:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadžić
6e73d4ea34 Predefined uniforms refactoring. 2014-12-27 19:00:41 -08:00