Commit graph

2274 commits

Author SHA1 Message Date
Branimir Karadžić
a555a112a6 Cleanup. 2015-04-16 21:53:26 -07:00
Branimir Karadžić
c8f1157f3b Fixed 15-shadowmaps-simple example. 2015-04-16 21:26:46 -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
Branimir Karadžić
feafe43c35 Merge pull request #344 from MikePopoloski/master
This MakeWindowAssociation block got moved to the wrong branch of #if.
2015-04-16 19:02:32 -07:00
Mike Popoloski
4bc2e4ec10 This MakeWindowAssociation block got moved to the wrong branch of #if. 2015-04-16 21:47:41 -04:00
Branimir Karadžić
c954d3fe7a Merge pull request #343 from MikePopoloski/master
D3D11 downlevel hardware support
2015-04-16 16:33:52 -07:00
Mike Popoloski
3ed95c81f2 Adding proper caps support for D3D11 feature levels. 2015-04-16 19:24:28 -04:00
Mike Popoloski
b234364df9 Special casing texture2DLod for SM 2.0 targets
tex2Dlod and related functions are not supported in shader model 2.0 (or D3D11 feature level 9_x). This commit just aliases them to a straight texture lookup, which doesn't do the same thing but at least it won't fail to compile.
2015-04-16 19:24:27 -04:00
Mike Popoloski
121cc748c2 Fixing a shader linkage crash in D3D11 for 10level9 targets
Lower feature level targets in D3D11 also require SV_Position as an input param to the pixel shader, otherwise there are linkage mismatches between the vertex and pixel shaders.
2015-04-16 19:24:27 -04:00
Branimir Karadžić
8f5a00d15d Fixed C4267. 2015-04-16 15:52:26 -07:00
Branimir Karadžić
4e9b7baaf8 Fixed Android warnings. 2015-04-16 14:46:03 -07:00
Branimir Karadžić
b226afd391 Fixed OSX warnings. 2015-04-16 14:42:32 -07:00
Branimir Karadžić
457d585b6e Updated ocornut-imgui 1.38 WIP. 2015-04-16 14:36:15 -07:00
Branimir Karadžić
5c7986ad38 GL: Reset state when switching from compute to draw. 2015-04-16 11:38:46 -07:00
Branimir Karadžić
0d232051eb Fixed ImGui shutdown when using custom allocator. 2015-04-16 11:38:07 -07:00
Branimir Karadžić
66017329cc Merge pull request #341 from mmicko/master
Fixed initialization order warning
2015-04-16 08:42:43 -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ć
4098dbb8fb Fixed GCC warnings. 2015-04-15 20:05:18 -07:00
Branimir Karadžić
5e5a0a8a9e Added custom allocator to imgui. 2015-04-15 20:00:15 -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ć
6878b8de29 Cleanup. 2015-04-13 14:45:14 -07:00
Branimir Karadžić
cea3815dff Fixed HLSL shader stripping. 2015-04-13 12:54:45 -07:00
Branimir Karadžić
dedf75a89b Rebuilt shaders. 2015-04-12 22:26:40 -07:00
Branimir Karadžić
a17f9cfa9b Cleanup. 2015-04-12 22:26:18 -07:00
Branimir Karadžić
96ad478238 Updated README. 2015-04-12 20:22:19 -07:00
Branimir Karadžić
006dbefe7f Updated 17-drawstress table with R7 240. 2015-04-12 19:42:32 -07:00
Branimir Karadžić
e3635adc45 Updated README. 2015-04-12 18:29:05 -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ć
67218d7ce1 Fixed warning. 2015-04-12 16:25:39 -07:00
Branimir Karadžić
7825f3a41e Cleanup. 2015-04-11 20:52:05 -07:00
Branimir Karadžić
f0b2c57eb5 Updated 17-drawstress table. 2015-04-11 19:16:20 -07:00
Branimir Karadžić
f1a2039337 Compact 17-drawstress table. 2015-04-11 18:35:04 -07:00
Branimir Karadžić
99dc917e7f Updated 17-drawstess table with latest DX11 results. 2015-04-11 18:25:03 -07:00
Branimir Karadžić
57cfeffb8d Rebuilt shaders. 2015-04-11 18:18:43 -07:00
Branimir Karadžić
eb9ec057f7 Merge pull request #336 from MikePopoloski/master
Change shaderc to remove unused uniforms from DX11 shaders
2015-04-11 18:12:13 -07:00
Mike Popoloski
643d7939d7 Fixing a uniform parsing issue. 2015-04-11 16:11:16 -04:00