Andrew Johnson
158799e79c
Fixes error C4701 in renderer_d3d11.cpp on VC12 build
...
renderer_d3d11.cpp(687, 0): error C4701: potentially uninitialized local variable 'adapter' used
2015-04-23 08:14:29 -07:00
Branimir Karadžić
0aa27c112f
D3D11: Fixed default settings for user created device.
2015-04-22 15:30:01 -07:00
Branimir Karadžić
0da98e8645
Fixed creation of GLES3 textures with compute write flag.
2015-04-22 15:11:45 -07:00
Branimir Karadžić
f246fd29fa
Added texture caps flag for compute image formats.
2015-04-21 15:44:16 -07:00
Branimir Karadžić
a528554e67
Cleanup passing platform window/context data.
2015-04-20 16:22:40 -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
James Darpinian
ee649f682e
Fix crash on shutdown in HMD mode.
...
Presumably this crash is due to a bug in either the Oculus SDK or DirectX itself as changing the order of releasing these objects should not have any effect.
2015-04-17 10:55:47 -07:00
Branimir Karadžić
4bc2df890a
Make D3D11 work with outdated DXSDK.
2015-04-16 19:47:13 -07:00
Branimir Karadžić
a3a1127b4f
Fixed MinGW build.
2015-04-16 19:28:18 -07:00
Mike Popoloski
4bc2e4ec10
This MakeWindowAssociation block got moved to the wrong branch of #if.
2015-04-16 21:47:41 -04:00
Mike Popoloski
3ed95c81f2
Adding proper caps support for D3D11 feature levels.
2015-04-16 19:24:28 -04:00
Branimir Karadžić
6edd804f7a
Cleanup.
2015-04-15 21:31:24 -07:00
Branimir Karadžić
66edb6c566
Moved HMD tracking into flip. Removed unnecessary frame data when using single-threaded renderer.
2015-04-15 20:59:00 -07:00
Branimir Karadžić
9d91d3bbbc
Reversed instance data bindings. Issue #309 .
2015-04-15 10:37:00 -07:00
Branimir Karadžić
63cc071a6e
D3D11: Fixed frame buffer auto resizing.
2015-04-14 17:02:41 -07:00
Branimir Karadžić
c01a93e29d
Added support for automatic texture scaling by backbuffer ratio on backbuffer resize.
2015-04-13 18:39:38 -07:00
Branimir Karadžić
9aa304f86f
Cleanup.
2015-04-10 19:21:31 -07:00
Branimir Karadžić
da8a691163
Cleanup.
2015-04-09 21:57:05 -07:00
Branimir Karadžić
d94c38b7ef
Fixed issue #325 .
2015-04-09 20:03:59 -07:00
Branimir Karadžić
5cd313e342
Cleanup.
2015-04-08 23:25:17 -07:00
Branimir Karadžić
a3a1ed112b
Fixed variable shadowing warning.
2015-04-08 22:40:51 -07:00
Branimir Karadžić
23114a821c
32-bit indices support WIP.
2015-04-08 19:59:48 -07:00
Branimir Karadžić
1824a3f5bd
Cleanup.
2015-04-08 14:16:02 -07:00
Branimir Karadžić
6fe02e7815
Fixed crash (Win7) when query IID_IDXGIDevice3 succeeds, but getting adapter fails.
2015-04-07 20:41:16 -07:00
Branimir Karadžić
c85c12b5cd
Fixed variable narrowing warnings.
2015-04-07 17:58:14 -07:00
Branimir Karadžić
4063b2a652
Cleanup.
2015-04-02 23:18:20 -07:00
Branimir Karadžić
46ad1aa51d
Merge pull request #317 from mendsley/d3d11_cb_align16
...
D3D11 constant buffer must align ByteWidth to 16 bytes
2015-04-02 12:02:14 -07:00
Branimir Karadžić
5a9b02ca31
Added view name flag for compute.
2015-04-02 11:57:53 -07:00
Matthew Endsley
2680bd0608
D3D11 constant buffer must align ByteWidth to 16 bytes
...
See remarks of:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476092(v=vs.85).aspx
Most PC drivers don't seem to enforce this, but it will
crash the xb1 implementation if fed an unaligned value.
2015-04-02 11:45:34 -07:00
Matthew Endsley
aa7f0149bd
Resolve D3D11 render targets before switching.
2015-04-01 14:05:47 -07:00
Branimir Karadžić
8f3708fe28
Cleanup.
2015-03-31 22:01:50 -07:00
Branimir Karadžić
ef5ba847eb
Fixed MinGW build.
2015-03-31 17:15:17 -07:00
Branimir Karadžić
d62025d530
Fixing VS2015 warnings.
2015-03-29 22:40:35 -07:00
Branimir Karadžić
dc60f34883
Updated stats display.
2015-03-26 22:43:50 -07:00
Branimir Karadžić
eeb491883d
Added ability to select GPU.
2015-03-26 15:01:47 -07:00
Branimir Karadžić
6ba3a60c1a
Fixed amalgamated build with multiple renderers.
2015-03-21 22:11:59 -07:00
Branimir Karadžić
b2da0cce93
Added [u/i]sampler3D.
2015-03-17 17:27:04 -07:00
Branimir Karadžić
d67a940802
D3D11: Handle CheckFeatureSupport gracefully,
2015-03-13 11:48:27 -07:00
Branimir Karadžić
7fca16b68d
Fixed typo.
2015-03-12 17:59:03 -07:00
Branimir Karadžić
441e674459
D3D11: Texture format caps.
2015-03-11 21:52:10 -07:00
Branimir Karadžić
d858dde912
Added RGBA8 texture format.
2015-03-05 17:44:56 -08:00
Branimir Karadžić
64a32ecdf5
D3D11: Fixed crash with RenderDoc.
2015-03-03 15:16:17 -08:00
Branimir Karadžić
ac34be556a
D3D11: Fixed buffer update. Issue #271 .
2015-03-03 14:37:18 -08:00
Branimir Karadžić
478449e23a
Adding vertex textures WIP.
2015-03-01 22:01:30 -08:00
Branimir Karadžić
cc9ed76048
D3D11: Disable alt-enter.
2015-02-22 20:30:17 -08:00
Branimir Karadžić
2883be5c1a
Increased number of views to 256. Added view remap support.
2015-02-21 15:40:51 -08:00
Branimir Karadžić
5fc9ac494b
DX11: Embedded ID3D11InfoQueue GUID.
2015-02-04 19:33:31 -08:00
Branimir Karadžić
524b28a9f7
Cleanup.
2015-01-30 10:31:50 -08:00
Branimir Karadžić
b2a91c4a29
Cleanup.
2015-01-26 19:09:51 -08:00
Branimir Karadžić
0516b5603b
Added max anisotropy reset flag.
2015-01-21 20:39:42 -08:00
Branimir Karadžić
be8c9576f5
Fixed issue #225 .
2015-01-20 22:07:30 -08:00
Branimir Karadžić
6cb953af14
Rename bx::swap to bx::xchg.
2015-01-20 00:04:30 -08:00
Branimir Karadžić
21fff2de4b
Cleanup.
2015-01-14 21:31:08 -08:00
Branimir Karadžić
069de61bdb
Combined sampler and compute binding.
2015-01-13 22:34:48 -08:00
Branimir Karadžić
4e39749b1e
DX11: Fixed initialization error when D3D11 SDK Layers is not present.
2015-01-12 20:46:50 -08:00
Branimir Karadžić
904f52ab91
Fixed compile error.
2015-01-11 18:02:34 -08:00
Branimir Karadžić
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
a038b6d426
Added ability to bind static index buffer to compute.
2015-01-10 20:56:38 -08:00
Branimir Karadžić
ef05e607d6
Added support for GPU compute dynamic index buffer.
2015-01-10 20:38:47 -08:00
Branimir Karadžić
86765854b0
Fixed missing DX11 defines when building with MinGW on Linux.
2015-01-05 20:59:58 -08:00
Branimir Karadžić
c25dd466be
Updated copyright year.
2015-01-01 15:04:46 -08:00
Branimir Karadžić
1be040f2ab
Added compute dispatch flags.
2014-12-28 11:36:36 -08:00
Branimir Karadžić
9d83a5307c
Fixed example 24-nbody with OVR.
2014-12-28 10:12:24 -08:00
Branimir Karadžić
6e73d4ea34
Predefined uniforms refactoring.
2014-12-27 19:00:41 -08:00
Miodrag Milanovic
3df7041cba
Fixed compile and linking under mingw environment
2014-12-24 11:46:49 +01:00
Branimir Karadžić
08d97d8c4b
OVR: Support for multiple SDK versions.
2014-12-21 18:55:33 -08:00
Branimir Karadžić
83f151f71b
Added 24-nbody compute shader example.
2014-12-19 21:09:58 -08:00
Branimir Karadžić
341eb4e609
Fixed issue #202 .
2014-12-16 23:25:18 -08:00
Branimir Karadžić
d45e245039
Updated RenderDoc to nightly 20141211. Added support for capturing OpenGL.
2014-12-11 20:48:16 -08:00
Branimir Karadžić
47f100d70f
Fixed compute buffer.
2014-12-10 21:09:13 -08:00
Branimir Karadžić
ad47659669
Added compute buffer support.
2014-12-09 23:16:27 -08:00
Branimir Karadžić
18e9c30a0c
Updated OVR SDK 0.4.4.
2014-12-05 19:17:59 -08:00
Branimir Karadžić
584a32038f
Cleanup.
2014-12-04 19:56:19 -08:00
Branimir Karadžić
1f696d2f7f
DX11: Fixed device creation flags.
2014-12-04 19:35:01 -08:00
Branimir Karadžić
a7290afc4f
DX11: Fixed screen shot.
2014-12-02 20:28:14 -08:00
Mike Popoloski
3c04ad2d4c
Fixing warnings about locals shadowing others of the same name. At least one of these was an actual bug.
2014-11-22 17:34:09 -05:00
Mike Popoloski
8af790201f
D3D_FEATURE_LEVEL_11_2 isn't actually a thing. The D3D11.2 features are checked explicitly instead of using a feature level.
2014-11-22 17:13:14 -05:00
Branimir Karadžić
6c7589c0c9
Cleanup.
2014-11-17 21:35:53 -08:00
Branimir Karadžić
70253127e4
D3D11: Moved missing defines into header.
2014-11-17 21:13:55 -08:00
Branimir Karadžić
ddddd458f6
Added D3D_FEATURE_LEVEL_11_1 define when it's not defined.
2014-11-17 19:38:58 -08:00
Mike Popoloski
d1d38fb825
Fixing whitespace issues.
2014-11-17 22:23:28 -05:00
Mike Popoloski
850059c1cd
Fixing D3D11 device creation issues on downlevel hardware.
2014-11-17 22:18:35 -05:00
Mike Popoloski
893035af65
Merge branch 'master' of https://github.com/bkaradzic/bgfx
2014-11-15 13:32:22 -05:00
Mike Popoloski
f55a91db97
Adding specialized codepaths for swapchain creation on WinRT, since it requires DXGI 1.3.
2014-11-14 08:22:32 -05:00
Branimir Karadžić
e147e7b2e6
OVR: Added rendering without distortion.
2014-11-12 21:26:28 -08:00
Branimir Karadžić
31efb2991f
Updated to OVR 0.4.3. Added support for event char to read keyboard text input.
2014-11-08 20:57:47 -08:00
Branimir Karadžić
a2153729be
Added HMD recenter support. Updated examples to support HMD.
2014-11-02 00:06:18 -07:00
Branimir Karadžić
ea36931ee1
Cleanup.
2014-10-30 21:06:52 -07:00
Branimir Karadžić
f6cf4df3d3
Added OculusVR support.
2014-10-28 22:08:55 -07:00
Branimir Karadžić
62abe9db5e
Cleanup.
2014-10-25 19:16:24 -07:00
Branimir Karadžić
208a348ab2
Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.
2014-10-25 18:07:51 -07:00
Branimir Karadžić
8a354b0785
Added line strip primitive type.
2014-10-22 19:19:33 -07:00
Branimir Karadžić
29b7249fc1
Cleanup.
2014-10-18 15:44:45 -07:00
Branimir Karadžić
5e39e3b16a
clang on VS201x.
2014-10-16 19:54:29 -07:00
Branimir Karadžić
bfa1f9f3af
Moved ctor/dtor into init/shutdown to have class ctor fully initialized prior calling initialization code.
2014-10-13 21:14:51 -07:00
Branimir Karadžić
ea571fd754
Cleanup.
2014-10-11 15:39:53 -07:00
Branimir Karadžić
51d8daf762
Fixed constant buffer allocation logic.
2014-10-08 19:36:59 -07:00
Branimir Karadžić
b1878edd2e
Cleanup.
2014-10-06 22:10:55 -07:00
Branimir Karadžić
493c964423
Cleanup.
2014-10-06 19:21:08 -07:00
Branimir Karadžić
d90b754bae
Cleanup.
2014-10-05 18:20:05 -07:00