Commit graph

894 commits

Author SHA1 Message Date
Branimir Karadžić
5c7986ad38 GL: Reset state when switching from compute to draw. 2015-04-16 11:38:46 -07:00
Miodrag Milanovic
6ca4a77353 Fixed initialization order warning 2015-04-16 14:23:02 +02:00
Branimir Karadžić
12998fe580 Update OVR pose. 2015-04-15 21:52:31 -07: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ć
4210fb0d64 Renamed reset flag. 2015-04-15 11:49:20 -07:00
Branimir Karadžić
9d91d3bbbc Reversed instance data bindings. Issue #309. 2015-04-15 10:37:00 -07:00
Branimir Karadžić
5ac092d036 Cleanup. 2015-04-14 22:05:20 -07:00
Branimir Karadžić
7bfe51d0d8 Added flip after submit reset flag. 2015-04-14 20:03:05 -07:00
Branimir Karadžić
87a5652b46 Added extra error checking when creating frame buffer. 2015-04-14 17:03:07 -07:00
Branimir Karadžić
63cc071a6e D3D11: Fixed frame buffer auto resizing. 2015-04-14 17:02:41 -07:00
Branimir Karadžić
f3a17da8a8 GL: Cleanup FBO on destroy. 2015-04-14 17:02:04 -07:00
Branimir Karadžić
74fb466e92 Fixed issue #308. 2015-04-14 17:01:35 -07:00
Branimir Karadžić
bff3ae937c GL: Update frame buffer after reset. 2015-04-13 22:13:16 -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ć
dedf75a89b Rebuilt shaders. 2015-04-12 22:26:40 -07:00
Branimir Karadžić
f203c872b1 Moved lcd/gcd and strideAlign functions from bgfx to bx. 2015-04-12 17:31:33 -07:00
Branimir Karadžić
bce1a52c42 Cleanup. 2015-04-12 16:26:59 -07:00
Branimir Karadžić
202fb0b36c Fixed GL with BGRA extension and without texture swizzle extension. 2015-04-11 09:42:17 -07:00
Branimir Karadžić
a042d6f7b9 Fixed decoding of unsupported RGBA8/BGRA8 formats on D3D9/GL. 2015-04-11 00:17:49 -07:00
Branimir Karadžić
3362c31190 Merge pull request #331 from MikePopoloski/master
Remove dependence on legacy DXSDK
2015-04-10 21:05:03 -07:00
Mike Popoloski
d6da31d7f8 Rebuilding all embedded shaders. 2015-04-10 22:55:13 -04:00
Mike Popoloski
bfb793b3dd Fixing bug in compute shader macros
Buffer<> type in HLSL requires 't' registers, not 'b'. This probably worked by accident in old shader compiler but the latest version throws an error on it.
2015-04-10 22:48:07 -04:00
Branimir Karadžić
9aa304f86f Cleanup. 2015-04-10 19:21:31 -07:00
Branimir Karadžić
328f980945 Cleanup. 2015-04-10 08:33:20 -07:00
Miodrag Milanovic
ab94f3df36 Fix compile for FreeBSD 2015-04-10 16:11:55 +02:00
Branimir Karadžić
c9cd5521bd Fixed issue #327 (oops!). 2015-04-09 22:31:48 -07:00
Branimir Karadžić
da8a691163 Cleanup. 2015-04-09 21:57:05 -07:00
Branimir Karadžić
c15439b7cb Added ability to continue when GL shader compilation fails. Issue #327. 2015-04-09 20:36:52 -07:00
Branimir Karadžić
d94c38b7ef Fixed issue #325. 2015-04-09 20:03:59 -07:00
Branimir Karadžić
f24a84b8b1 Cleanup. 2015-04-09 19:38:51 -07:00
Branimir Karadžić
15206dc5a5 Fixed matrix cache size. 2015-04-09 17:36:36 -07:00
Mike Popoloski
e9f31b58d6 Allow the max draw call count to go above 65k. 2015-04-09 19:26:41 -04:00
Branimir Karadžić
5cd313e342 Cleanup. 2015-04-08 23:25:17 -07:00
Branimir Karadžić
c69f29cb36 D3D9: Fixed RGBA8 texture format. 2015-04-08 22:41:19 -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ć
288361b5c1 Pass all reset flags to glcontext. 2015-04-06 21:31:26 -07:00
Branimir Karadžić
c5a03233c0 Fixed shutdown sequence. 2015-04-06 18:22:15 -07:00
Miodrag Milanovic
9b71495507 Fix for :
error: array index 1 is past the end of the array (which contains 1 element) [-Werror,-Warray-bounds]
m_samplerFlags[stage][1] = UINT32_MAX;
2015-04-06 10:37:12 +02:00
Branimir Karadžić
1e8051fd00 Fixed variable shadowing. 2015-04-04 19:10:35 -07:00
Branimir Karadžić
4063b2a652 Cleanup. 2015-04-02 23:18:20 -07:00
Vas Crabb
9f1370c603 Fix leaks of autoreleased objects and allow building on OS X 10.6 Snow Leopard 2015-04-03 07:42:56 +11: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ć
2a725eca76 Made compute sort priority higher than sequence. 2015-04-02 11:58:24 -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