Commit graph

222 commits

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