Branimir Karadžić
1d2cff2c0d
Cleanup.
2018-04-04 17:19:07 -07:00
Branimir Karadžić
a0d6aedc76
Cleanup.
2018-04-03 11:56:23 -07:00
Branimir Karadžić
5a8dab3a92
Cleanup.
2018-04-03 11:44:32 -07:00
Branimir Karadžić
1f9c077236
Cleanup.
2018-04-03 11:28:40 -07:00
Branimir Karadžić
a9024a9ba5
Fixed issue #1362 .
2018-04-03 06:23:08 -07:00
Branimir Karadžić
a5d9d33264
Cleanup.
2018-03-31 18:58:25 -07:00
Branimir Karadžić
2c4e35508b
D3D12: Fixed 37-gpudrivenrendering.
2018-03-30 21:03:26 -07:00
Branimir Karadžić
f45aef7294
Cleanup.
2018-03-30 19:30:44 -07:00
Branimir Karadžić
027ac79973
Cleanup.
2018-03-29 22:06:24 -07:00
Branimir Karadžić
4f64a4792b
NVAPI: Adding support for NV Aftermath.
2018-03-29 20:36:48 -07:00
MaulingMonkey
757f167b62
NVAPI: Don't truncate available memory to 4GiB ( #1358 )
2018-03-28 21:26:25 -07:00
Branimir Karadžić
7f36cb1164
D3D12: Clear render targets on init.
2018-03-28 18:06:16 -07:00
Branimir Karadžić
e5031c5897
Added texture&rt memory stats.
2018-03-28 18:05:49 -07:00
Branimir Karadžić
a4faa82164
Fixed state tracking when scissor area is zero.
2018-03-26 16:21:27 -07:00
Branimir Karadžić
b75f49d3fb
Cleanup.
2018-03-23 17:21:59 -07:00
Branimir Karadžić
8c93e4a4ae
Cleanup.
2018-03-21 21:38:00 -07:00
Branimir Karadžić
341d79deb0
WebGL2 fixes.
2018-03-21 20:36:33 -07:00
Branimir Karadžić
f4c227ffc9
Cleanup.
2018-03-21 17:12:31 -07:00
Branimir Karadžić
fc133a2f7a
Fixed CheckFeatureSupport with DXGI_FEATURE_PRESENT_ALLOW_TEARING crash on Windows 7. Issue #1356 .
2018-03-21 08:40:13 -07:00
Branimir Karadžić
f10d4c1646
NVAPI: Shutdown after device is released.
2018-03-20 17:52:49 -07:00
Branimir Karadžić
df83b98fd6
Added D3D12EnableExperimentalFeatures.
2018-03-20 09:53:45 -07:00
Branimir Karadžić
f96f7b6ea0
Cleanup.
2018-03-19 22:33:49 -07:00
Branimir Karadžić
61bf6b061a
Removed use of std::list. Issue #1270 .
2018-03-19 22:17:24 -07:00
Branimir Karadžić
2a3435e377
Fixed Android build.
2018-03-19 18:02:42 -07:00
云风
ba32657d6d
remove BX_FALLTHROUGH to avoid warning ( #1355 )
2018-03-19 09:05:03 -07:00
Branimir Karadžić
5ecd605107
Updated shaders.
2018-03-17 21:56:54 -07:00
Branimir Karadžić
cefe086fa0
Cleanup.
2018-03-17 21:55:25 -07:00
Branimir Karadžić
fab9cb5c0b
spirv: Fixed stack corruption.
2018-03-17 21:32:50 -07:00
Branimir Karadžić
6a7d2a1cfd
Cleanup.
2018-03-16 09:32:50 -07:00
Branimir Karadžić
f2e19da28a
Cleanup.
2018-03-15 18:27:34 -07:00
Hugo Amnov
3a5a9d4d6d
Add 2D Texture layer attachment support in GL and D3D11 ( #1354 )
...
* Impl Texture2D layer attachment in GL and D3D11
* Fix previous commit
* Style fixes
2018-03-15 18:27:17 -07:00
Branimir Karadžić
cd4b132259
Added textureSize and mtxFromRows/Cols.
2018-03-13 17:41:50 -07:00
Branimir Karadžić
fd334ae583
D3D11: Fixed crash when driver unloads when context is released.
2018-03-13 17:41:29 -07:00
Branimir Karadžić
e38d736106
Fixed build.
2018-03-12 19:30:02 -07:00
Branimir Karadžić
d227f9e8bf
Fixed memory leak.
2018-03-12 18:56:27 -07:00
Branimir Karadžić
45c1554d56
D3D12: DXGI usage cleanup.
2018-03-12 17:40:16 -07:00
Branimir Karadžić
b544293958
Cleanup.
2018-03-12 13:23:59 -07:00
Branimir Karadžić
6e7e761a3b
Cleanup.
2018-03-10 15:01:22 -08:00
Branimir Karadžić
b8040bd24a
Cleanup.
2018-03-10 13:17:54 -08:00
Branimir Karadžić
ee2fddfa07
Cleanup.
2018-03-10 13:16:45 -08:00
Branimir Karadžić
35c8fb6478
Fixed Linux build.
2018-03-10 11:54:33 -08:00
Branimir Karadžić
480620751b
Separating DXGI functionality from D3D11 renderer.
2018-03-10 11:47:21 -08:00
Branimir Karadžić
664e212e3c
D3D12: Adding dispatch indirect support.
2018-03-09 18:20:36 -08:00
Branimir Karadžić
06a827d809
D3D12: Adding draw indirect support.
2018-03-09 17:42:28 -08:00
Branimir Karadžić
1c5aa7fd7e
Cleanup.
2018-03-06 20:52:56 -08:00
Branimir Karadžić
e7987e3340
Cleanup.
2018-03-06 17:52:26 -08:00
Branimir Karadžić
6fe21f1019
MTL: Allow null fragment shader for depth only programs.
2018-03-06 09:49:04 -08:00
Branimir Karadžić
67ad9fbbef
Allow null fragment shader for depth only programs.
2018-03-05 18:15:35 -08:00
云风
c5f7ad598b
fix mingw-gcc bug like #1239 ( #1345 )
2018-03-05 08:00:54 -08:00
Branimir Karadžić
f530a81498
Cleanup.
2018-03-04 16:22:33 -08:00
Branimir Karadžić
90aadf835b
37-gpudrivenrendering: Fixed GL shaders.
2018-03-04 16:11:05 -08:00
Branimir Karadžić
0480b73b96
D3D12: Added allow tearing support.
2018-03-02 17:57:50 -08:00
Branimir Karadžić
b4229e4a17
Cleanup.
2018-03-01 17:30:28 -08:00
Branimir Karadžić
6ec06fadfc
GLES3: Fixed issue #259 .
2018-02-25 08:00:51 -08:00
Branimir Karadžić
a23933da9a
Cleanup.
2018-02-21 18:48:43 -08:00
Branimir Karadžić
20cba39df6
Cleanup.
2018-02-21 09:40:47 -08:00
云风
5e78c10358
Add struct MemSlot for future use, See #1249 ( #1342 )
2018-02-21 09:37:55 -08:00
Branimir Karadžić
627abbd9d3
Prevent invalid texture update calls to immutable texture. Issue #1338 .
2018-02-19 09:42:02 -08:00
Branimir Karadžić
6204854b3a
GLES3: Fixed build.
2018-02-17 15:16:30 -08:00
Branimir Karadžić
dcc89d532a
Reverted last commit.
2018-02-17 14:35:08 -08:00
Branimir Karadžić
7b7311daa1
GLES3: Fixed build.
2018-02-17 14:08:47 -08:00
Branimir Karadžić
6ec83e0c0a
GL: Fixed runtime patching when interpolation qualifier is used.
2018-02-17 10:14:54 -08:00
Branimir Karadžić
fb464ba4e2
Cleanup.
2018-02-16 18:26:53 -08:00
Branimir Karadžić
b00ba52cd3
Cleanup.
2018-02-15 19:24:53 -08:00
Branimir Karadžić
a02e57f121
D3D12: Enabled direct access textures.
2018-02-14 17:54:19 -08:00
Branimir Karadžić
4f42f9beb3
D3D12: Cleanup.
2018-02-14 17:09:00 -08:00
PpluX
82dd183d24
Android supports creating swap chains ( #1332 )
2018-02-14 09:24:40 -08:00
PpluX
53af38bb83
fix ios11 black screen when using postprocess ( #1333 )
...
ios11 requires to flush transactions before creating a new
framebuffer for full screen postproceses.
2018-02-14 09:24:30 -08:00
Branimir Karadžić
584b8b34f0
Added support for independent RGB channel write control.
2018-02-13 12:35:23 -08:00
Branimir Karadžić
654160d3ee
D3D12: Initialize instrumented device when PIX is enabled.
2018-02-12 17:40:11 -08:00
Branimir Karadžić
03a687b1fe
Cleanup.
2018-02-10 15:49:30 -08:00
Branimir Karadžić
636d4bfe55
Cleanup.
2018-02-10 15:43:26 -08:00
Branimir Karadžić
3a8857654f
Added ability to set offset in instance data buffer.
2018-02-10 15:36:32 -08:00
attilaz
85c5b1e74d
maxTextureLayers limit for Metal ( #1328 )
...
Source:
https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf
At Resources/Maximum number of layers per 1D texture array, 2D texture array, or 3D texture
2018-02-09 09:17:05 -08:00
Branimir Karadžić
8adb5fc020
Added maxTextureLayers to caps/limits.
2018-02-08 16:48:54 -08:00
Branimir Karadžić
633d15cde3
D3D11: Fixed depth texture update.
2018-02-08 16:48:36 -08:00
Branimir Karadžić
c0847b894a
GL: Fixed shader patching.
2018-02-07 18:10:10 -08:00
Branimir Karadžić
b2240e9197
D3D12: Fixed buffer state.
2018-02-07 18:09:53 -08:00
Branimir Karadžić
372a26882b
Detect corrupted shader.
2018-02-07 18:09:39 -08:00
Branimir Karadžić
099e6b9e00
D3D12: Fixed texture barrier state after destruction.
2018-02-06 17:17:24 -08:00
Branimir Karadžić
a0fd120bc5
DXBC: Fixed custom data encoding. Fixed operand modifier parsing.
2018-02-06 16:37:13 -08:00
Branimir Karadžić
d925e1a4b5
DXBC: Added immediate constant buffer support.
2018-02-05 18:06:33 -08:00
Branimir Karadžić
91441f25c3
Removed transient vertex buffer limit validation.
2018-02-03 14:41:32 -08:00
Branimir Karadžić
e563dedb25
Cleanup.
2018-02-03 11:18:21 -08:00
Branimir Karadžić
14e861747e
Fixed issue #1326 .
2018-02-03 10:09:33 -08:00
Johan Sköld
76442f2f29
Fixing macOS build. ( #1324 )
...
- Fixing compiler errors from C functions with missing argument lists.
- Silencing warning about -Wunused-but-set-variable being unknown.
- Silencing warnings about comma mis-use.
- Silencing warning about implicit cast from unsigned to int.
2018-01-30 21:47:27 -08:00
Branimir Karadžić
9d167c7a38
DXBC: Added operand modifier annotation.
2018-01-30 17:30:29 -08:00
Branimir Karadžić
5b37b39155
Fixed GCC7 warnings.
2018-01-29 21:53:52 -08:00
Branimir Karadžić
e5a983d25a
Cleanup.
2018-01-29 21:39:17 -08:00
云风
b9f9ec56f5
Add BX_FALLTHROUGH to avoid -Wimplicit-fallthrough false positives ( #1322 )
2018-01-28 21:31:34 -08:00
Branimir Karadžić
f26cfe5250
D3D12: Fixed swap chain.
2018-01-26 22:30:28 -08:00
Branimir Karadžić
8f2f0614f0
Cleanup.
2018-01-26 20:21:14 -08:00
Branimir Karadžić
be4170a8ed
Cleanup.
2018-01-26 20:17:33 -08:00
Branimir Karadžić
c4ca6f6c6a
Cleanup.
2018-01-26 16:40:34 -08:00
Branimir Karadžić
a6da46e452
D3D12: Fixed swap chain resize.
2018-01-26 16:40:29 -08:00
Branimir Karadžić
d04301dfda
Fixed VGA color order, and clarified docs.
2018-01-25 20:34:17 -08:00
Branimir Karadžić
36b2ca1504
Cleanup.
2018-01-25 17:57:50 -08:00
Branimir Karadžić
05fa433681
Cleanup.
2018-01-23 20:39:30 -08:00
Branimir Karadžić
21a55c5c67
Cleanup.
2018-01-23 20:19:50 -08:00
Branimir Karadžić
4d4f4b2e59
D3D12: Swap chain WIP.
2018-01-23 18:22:04 -08:00
Branimir Karadžić
103e075dc8
Added static assert for config options that must be power of 2.
2018-01-23 18:21:44 -08:00
Branimir Karadžić
dbb5c5c731
Cleanup.
2018-01-22 17:50:03 -08:00
Branimir Karadžić
0dc5c8392f
Removed unused argument from setImage.
2018-01-19 17:06:58 -08:00
Branimir Karadžić
0dd6f82a4e
D3D12: Fixed texture bindings.
2018-01-19 17:06:25 -08:00
Branimir Karadžić
8a3d42d0b9
Cleanup.
2018-01-18 20:29:10 -08:00
Branimir Karadžić
55427f424c
D3D12: Fixed texture binding.
2018-01-18 18:58:42 -08:00
Branimir Karadžić
4c14511f6a
Cleanup.
2018-01-17 20:49:03 -08:00
Branimir Karadžić
b259166690
D3D12: Disabled ExecuteIndirect code path.
2018-01-17 17:35:02 -08:00
Branimir Karadžić
b9e393e6dd
Fixed issue #1315 .
2018-01-16 17:19:29 -08:00
Branimir Karadžić
d835c09d7b
D3D11: Added multi-draw indirect via NVAPI.
2018-01-15 21:57:21 -08:00
Branimir Karadžić
49a75f2fb1
bx math API cleanup.
2018-01-13 15:33:50 -08:00
Branimir Karadžić
9be9848f9b
Cleanup.
2018-01-12 22:18:18 -08:00
Branimir Karadžić
e4cde19f35
Fixed issue #1307 .
2018-01-12 20:26:23 -08:00
Branimir Karadžić
9c4600e2e7
Cleanup.
2018-01-12 20:08:59 -08:00
Branimir Karadžić
052948f173
Cleanup.
2018-01-12 16:38:54 -08:00
Branimir Karadžić
c0413c9103
DXGI: Display spec info.
2018-01-11 22:08:03 -08:00
Branimir Karadžić
8f6da81bb6
debugdraw: Added support for custom geometry.
2018-01-11 00:14:36 -08:00
Branimir Karadžić
9f3dfafbc2
D3D12: Fixed RTV desc.
2018-01-10 18:17:54 -08:00
Branimir Karadžić
cfba15778e
D3D12: Fixed shader patching.
2018-01-10 16:38:21 -08:00
Branimir Karadžić
c62a111e5e
Fixed issue #1303 .
2018-01-01 13:02:16 -08:00
Branimir Karadžić
111e733306
Disabled DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL.
2018-01-01 11:56:20 -08:00
Branimir Karadžić
f44c8e2b14
Happy New Year!
2018-01-01 11:16:06 -08:00
Branimir Karadžić
1763179536
Fixed issue #1302 .
2018-01-01 10:54:29 -08:00
Branimir Karadžić
14ccddb088
Fixed issue #1302 .
2017-12-30 15:26:30 -08:00
Branimir Karadžić
25476fc8a2
Cleanup.
2017-12-28 10:51:04 -08:00
Lectem
3888bbf59c
D3D11 : try to create swapchain with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL first ( #1301 )
2017-12-28 10:13:36 -08:00
Branimir Karadžić
c38a853651
Fixed build.
2017-12-21 18:34:42 -08:00
Branimir Karadžić
23542707ca
Fixed build.
2017-12-21 18:27:12 -08:00
Branimir Karadžić
fee8885177
Cleanup.
2017-12-21 18:12:42 -08:00
Branimir Karadžić
728f1022f8
D3D12: Fixed initial state for BGFX_TEXTURE_BLIT_DST texture.
2017-12-21 17:31:32 -08:00
Branimir Karadžić
0e532da452
D3D12: Added PIX3.
2017-12-21 16:07:37 -08:00
Branimir Karadžić
0fb8381331
Cleanup.
2017-12-20 17:14:14 -08:00
Branimir Karadžić
ecad7173d0
D3D12: Fixed 3D texture upload.
2017-12-20 11:11:02 -08:00
Branimir Karadžić
b6351e9534
Fixed clang warnings.
2017-12-18 20:04:01 -08:00
Branimir Karadžić
6fe6838692
Merge branch 'master' of github.com:bkaradzic/bgfx
2017-12-16 19:02:36 -08:00
Branimir Karadžić
963aa2cac9
D3D12 UWP fixes.
2017-12-16 19:01:56 -08:00
Branimir Karadžić
5cc236cc21
Fixed setUniform.
2017-12-15 20:25:43 -08:00
Branimir Karadžić
f7fea65bec
Removed obsolete platforms.
2017-12-14 20:40:30 -08:00
Branimir Karadžić
e69f69e0cd
D3D12: Cleanup.
2017-12-14 17:51:55 -08:00
Branimir Karadžić
6e70fc172b
Cleanup.
2017-12-14 09:05:51 -08:00
Branimir Karadžić
0d1cf61bb1
Fixed UWP build.
2017-12-13 23:40:39 -08:00
Branimir Karadžić
ef5129c7fc
D3D12: Fixed resource state transition during blit.
2017-12-13 18:00:14 -08:00
Branimir Karadžić
3f454feae2
D3D12: More optimal indirect command layout.
2017-12-13 17:59:47 -08:00
Branimir Karadžić
bb7101b493
D3D12: Fixed crash on exit.
2017-12-13 17:59:16 -08:00
Branimir Karadžić
b896f4a6f2
D3D12: Implemented multiple vertex streams.
2017-12-13 12:46:49 -08:00
Branimir Karadžić
11d0ec5dd1
UMA direct access WIP.
2017-12-08 22:55:18 -08:00
Branimir Karadžić
66dfeaa699
Fixed warning.
2017-12-08 15:36:34 -08:00
Branimir Karadžić
9e00fad8b3
WIP: Init params.
2017-12-07 21:52:52 -08:00
Branimir Karadžić
45b41f62d1
Cleanup.
2017-12-07 19:02:43 -08:00
Branimir Karadžić
af274cfddf
Cleanup.
2017-12-07 16:55:53 -08:00