Commit graph

12 commits

Author SHA1 Message Date
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)