Commit graph

9 commits

Author SHA1 Message Date
Branimir Karadžić
a972d1fef0 Tools cleanup. 2016-01-30 16:15:25 -08:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić
930fbe9e1a shaderc: Normalize EOL before processing shader. 2015-12-28 17:16:11 -08:00
Branimir Karadžić
4470f7097c Fixed HLSL reflection for samplers. 2015-09-01 16:44:11 -07:00
Branimir Karadžić
ff01992cb7 Refactored uniform types. 2015-05-28 15:27:00 -07: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
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ć
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadžić
8cd9551f26 shaderc source split into multiple files. 2014-12-03 20:16:20 -08:00