Commit graph

2542 commits

Author SHA1 Message Date
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
Mike Popoloski
2819f93f26 shaderc dx11 now removes unused constants
The D3D11 shader compiler doesn't remove unused constants because it would change the size of buffers uploaded by the application. This means that all of the default unused bgfx uniforms take up a huge amount of space that forces the app to waste a ton of time uploading zeroes. This change is a bit of a hack but removes the unused constants and improves performance a great deal.
2015-04-11 15:40:31 -04:00
Branimir Karadžić
e5aa586c68 Merge pull request #335 from MikePopoloski/master
Disabling warnings in glsl-optimizer.
2015-04-11 11:35:30 -07:00
Mike Popoloski
68044893ab Disabling warnings in glsl-optimizer. 2015-04-11 13:41:27 -04:00
Branimir Karadžić
028cef647b Updated makefile. 2015-04-11 09:45:11 -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ć
23f4c82b1a Merge branch 'dev' 2015-04-11 00:23:29 -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ć
5dc83d65f5 Fixed narrowing variable. 2015-04-10 21:31:53 -07:00
Branimir Karadžić
db9802a73f Fixed Linux build. 2015-04-10 21:24:25 -07:00
Branimir Karadžić
c7eb016ae0 Rebuilt shaders. 2015-04-10 21:09:46 -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
5f4bd7700e Recompiling shaders. Shouldn't have any effect on runtime behavior. 2015-04-10 22:49:39 -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
Mike Popoloski
9976f6cc4c Removing now unused shaderc_dx9 source and renaming dx11 source file. 2015-04-10 22:23:01 -04:00
Branimir Karadžić
9aa304f86f Cleanup. 2015-04-10 19:21:31 -07: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