Commit Graph

375 Commits

Author SHA1 Message Date
Minmin Gong
68e27b6655 Fix a couple framebuffer related bugs in D3D renderer
1. A crash in D3D11 renderer when create a texture with flag BGFX_TEXTURE_RT_WRITE_ONLY then override it, bcause m_srv is NULL.
2. In headless mode, RendererContextD3D12::m_swapChain is NULL, clear it resulting a D3D12 debug error
2020-02-27 04:59:35 +00:00
Minmin Gong
ca509c136d Store the command queue into device in D3D12 renderer 2020-02-27 04:58:27 +00:00
Minmin Gong
de4e62692d Don't clear RTVs/DSVs after creating them 2020-02-20 05:00:04 +00:00
Minmin Gong
141aae44cd Fix the sRGB support in D3D12 renderer 2020-02-20 04:59:03 +00:00
Minmin Gong
ccdd6676ca Implement the overrideInternal in D3D12 renderer 2020-02-13 07:11:47 +00: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
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
Бранимир Караџић
ff7497fb3e Fixed build. 2019-08-17 17:58:49 -07:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Bastien Brunnenstein
e9ad3a6eba Use SRGB texture format on backbuffer when MSAA is enabled 2019-06-13 23:51:22 +02:00
Бранимир Караџић
29cd7d69c7 Cleanup. 2019-05-23 17:56:25 -07:00
Hugo Amnov
594cc27a65 Implement aliasing vertex buffer with different vertex declaration. 2019-04-16 18:19:55 +02: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
Бранимир Караџић
a25c6b0649 Cleanup. 2019-02-20 17:20:59 -08:00
Branimir Karadžić
464a555101 texturev: Added winapi support for openFileSelectionDialog. 2019-02-19 22:42:46 -08:00
Бранимир Караџић
316b610d96 Cleanup. 2019-02-19 17:54:02 -08:00
Бранимир Караџић
4c899553e3 Cleanup internal profiler. 2019-02-15 16:45:35 -08:00
Бранимир Караџић
b9910211de Cleanup. 2019-02-13 10:28:49 -08:00
Branimir Karadžić
afd8145569 D3D12: Fixed texture array frame buffer. 2019-02-11 11:49:44 -08:00
Бранимир Караџић
dd10b04651 Fixed texture array frame buffer. 2019-02-07 18:02:48 -08:00
Бранимир Караџић
9054588331 Fixed texture mip mismatch. 2019-01-30 17:43:28 -08:00
Branimir Karadžić
001cfa1ba1 Cleanup. 2019-01-29 20:46:55 -08:00
Бранимир Караџић
ec4b823db7 Fixed skip mips when crating BC textures. 2019-01-29 17:43:57 -08:00
Бранимир Караџић
17a620a609 Cleanup. 2019-01-25 17:18:30 -08:00
Sean Burgoon
3e517c5f1b Fixed missing paren on line 2227 for WinRT
WINRT version doesn't compile due to typo
2019-01-25 00:01:53 -08:00
Branimir Karadžić
200778511e Cleanup. 2019-01-24 20:35:09 -08:00
Бранимир Караџић
a0c2907c22 Added internal debug names for index/vertex buffers, shaders, and textures. 2019-01-22 14:45:33 -08:00
Branimir Karadžić
33ececeb96 Fixed PR #1595. 2019-01-16 21:30:58 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Бранимир Караџић
4647e99f51 D3D12: Fixed GPU crash when binding 3D image to compute for RW. 2019-01-09 18:38:48 -08:00
Бранимир Караџић
22fb0f7ad7 Removing VR leftovers. 2018-12-21 23:25:30 -08:00
Branimir Karadžić
a4776e297d Cleanup. 2018-12-19 17:16:48 -08:00
Branimir Karadžić
27e3a1984c D3D12: Added compute PSO caching. 2018-12-19 17:16:38 -08:00
Branimir Karadžić
d1b6770776 D3D12: Fixed texture array UAV. 2018-12-19 17:16:09 -08:00
Branimir Karadžić
095188a533 Cleanup. 2018-12-18 16:11:41 -08:00
Branimir Karadžić
7639c5688c Added access parameter for frame buffer attachment. 2018-11-16 17:59:46 -08:00
Branimir Karadžić
48074e3eeb Cleanup. 2018-11-14 20:01:51 -08:00
Branimir Karadžić
a50b76a9a3 Added ability to specify sampler flags for samplers used in compute shader. 2018-11-14 17:04:24 -08:00
Branimir Karadžić
3ba0c76550 D3D12: Detect device interface version. 2018-11-11 09:05:20 -08:00
Branimir Karadžić
12a5bc959b Fixed static analysis issues from #1535. 2018-10-28 15:16:47 -07:00
Branimir Karadžić
e3d80a2381 D3D1x: Disable window changes on all windows. 2018-10-24 17:49:13 -07:00
Branimir Karadžić
623fd3cf0b shaderc: Added in/out hash. Fixed shader binary backward compatibility. 2018-10-12 16:41:26 -07:00
Branimir Karadžić
bafcf613ba Added number of blit calls submitted stat. 2018-10-09 18:10:54 -07:00
Branimir Karadžić
4cbd5a5c0a Added frame buffer resolve control. 2018-10-03 17:52:26 -07:00
Branimir Karadžić
29585d85ca Added numBackBuffers to initialization parameters. 2018-10-02 16:40:12 -07:00