Commit graph

16 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ć
86ec6b5f90 Cleanup. 2015-09-03 18:33:41 -07: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
Branimir Karadžić
29001134ca Removed dxguid from shaderc, use INITGUID instead. 2015-05-26 12:08:12 -07:00
Branimir Karadžić
ea375d5c03 Fixed MinGW compile error. 2015-04-22 19:43:19 -07:00
James Darpinian
bc08ef142e Stop hardcoding the GUID for ID3D11ShaderReflection.
This GUID changes depending on what version of the DirectX SDK you have.
The GUID is defined in d3d11shader.h as a const global, not a preprocessor
macro, so this #ifndef was clobbering it always. This caused DX11 shader
compliation to fail when using the Windows 8.1 SDK.
2015-04-22 19:15:08 -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ć
a17f9cfa9b Cleanup. 2015-04-12 22:26:18 -07:00
Branimir Karadžić
7825f3a41e Cleanup. 2015-04-11 20:52:05 -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ć
db9802a73f Fixed Linux build. 2015-04-10 21:24:25 -07:00
Mike Popoloski
9976f6cc4c Removing now unused shaderc_dx9 source and renaming dx11 source file. 2015-04-10 22:23:01 -04:00
Renamed from tools/shaderc/shaderc_d3d11.cpp (Browse further)