Commit graph

240 commits

Author SHA1 Message Date
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