Commit graph

2110 commits

Author SHA1 Message Date
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
Mike Popoloski
9976f6cc4c Removing now unused shaderc_dx9 source and renaming dx11 source file. 2015-04-10 22:23:01 -04:00
Mike Popoloski
3e49bf536d Can't use #ifdef for checking IID_ID3D11ShaderReflection, because it's not a macro... 2015-04-10 22:08:04 -04:00
Mike Popoloski
f919f7811f Cleanup 2015-04-10 22:01:58 -04:00
Mike Popoloski
6e53a5e229 Remove last dependence on legacy DXSDK / D3DX
The legacy DXSDK was only needed for DX9 shader compilation, but D3DCompile can handle old shader models. The only other thing needed was reflection support for getting constant data, which I've added.
2015-04-10 22:01:57 -04:00
Branimir Karadžić
428e586e11 Cleanup. 2015-04-10 14:40:47 -07:00
Branimir Karadžić
8cd66200d2 Updated README. 2015-04-10 08:37:57 -07:00
Branimir Karadžić
328f980945 Cleanup. 2015-04-10 08:33:20 -07:00
Branimir Karadžić
393a7311ee Merge pull request #330 from mmicko/master
FreeBSD compile support
2015-04-10 08:06:40 -07:00
Miodrag Milanovic
b394570ff7 Updated so it can build for FreeBSD 2015-04-10 16:46:49 +02: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ć
fa2b5068f7 Merge branch 'dev' 2015-04-09 20:09:32 -07:00
Branimir Karadžić
d94c38b7ef Fixed issue #325. 2015-04-09 20:03:59 -07:00
Branimir Karadžić
352322e564 Merge branch 'dev' 2015-04-09 19:44:24 -07:00
Branimir Karadžić
f24a84b8b1 Cleanup. 2015-04-09 19:38:51 -07:00
Branimir Karadžić
6f7215ad26 Updated README. 2015-04-09 19:31:37 -07:00
Branimir Karadžić
15206dc5a5 Fixed matrix cache size. 2015-04-09 17:36:36 -07:00
Branimir Karadžić
4d30bd201e Updated 17-drawstress. 2015-04-09 16:58:44 -07:00
Branimir Karadžić
99c645a353 Merge pull request #329 from MikePopoloski/master
Allow the max draw call count to go above 65k.
2015-04-09 16:44:47 -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ć
00c0c33581 Updated README. 2015-04-09 00:10:28 -07: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ć
b9d2a05a28 Updated docs. 2015-04-08 21:15:37 -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ć
ad6b0d87af Added OSX version check to glext.h 2015-04-06 21:41:51 -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
Branimir Karadžić
06314151c5 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-04-06 11:38:47 -07:00
Branimir Karadžić
a3fedf0e43 Fixed shaderc build with xcode. 2015-04-06 11:38:28 -07:00
Branimir Karadžić
90b141c02e Merge pull request #323 from mmicko/master
Fix for array-bounds in renderer_d3d9.cpp
2015-04-06 09:17:08 -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ć
7cd9af179f Fixed file names. 2015-04-05 11:55:04 -07:00
Branimir Karadžić
9604a3f23b Fixed issue #322. 2015-04-05 11:24:59 -07:00
Branimir Karadžić
efed576e75 Fixed variable shadowing. 2015-04-04 19:45:45 -07:00
Branimir Karadžić
1e8051fd00 Fixed variable shadowing. 2015-04-04 19:10:35 -07:00
Branimir Karadžić
250777287f Fixed variable shadowing. 2015-04-04 16:40:28 -07:00
Branimir Karadžić
2e6ac0ca49 Silence -Wshadow warning in stb_image. 2015-04-04 16:23:50 -07:00
Branimir Karadžić
e533870595 Merge pull request #320 from dariomanesku/master
Do not create imgui.ini in the runtime dir.
2015-04-04 08:29:47 -07:00
Dario Manesku
8f31098c40 Fixup for previous commit. This is a better way to do it. 2015-04-05 09:04:16 +02:00
Dario Manesku
5ee33930f6 Do not create imgui.ini in the runtime dir. 2015-04-05 08:40:22 +02:00
Dario Manesku
7cc55b8805 Removed trailing whitespace. 2015-04-05 08:38:18 +02:00
Branimir Karadžić
cd932da903 Updated README. 2015-04-03 19:15:59 -07:00