Commit Graph
42 Commits
Author SHA1 Message Date
divinon 218c9e5ea1 Fix error line searching for HLSL compiled with debug info. (#1414) 2018-06-18 12:51:32 -07:00
Branimir Karadžić f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
attilaz b8886a3531 Adding an API to shaderc (#1280) 2017-11-24 10:01:13 -08:00
Branimir Karadžić 2650897f06 Fixed build. 2017-10-01 22:52:26 -07:00
Branimir Karadžić ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
Branimir Karadžić 1218981a22 Cleanup. 2017-09-25 17:51:15 -07:00
Branimir Karadžić 535ad9c9b6 Cleanup. 2017-07-14 00:15:54 -07:00
Branimir Karadžić 236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić 24569934a1 Added color2/3 attributes. 2017-06-06 17:25:17 -07:00
Branimir Karadžić e19a6738c7 shaderc: If GLSL version is above 4.00 shaderc will just pass preprocessed code without invoking glsl-optimizer. 2017-06-05 17:37:26 -07:00
Branimir Karadžić dbceaf702e Cleanup. 2017-05-25 20:24:02 -07:00
Branimir Karadžić c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić 6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić 423c655095 Cleanup. 2017-04-03 20:43:57 -07:00
Branimir Karadžić 46ec8d3ca4 VS: Fixing L4 warnings. 2017-03-11 14:44:00 -08:00
Branimir Karadžić 3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić 599992c8f1 Added ability to specify api thread wait timeout. Fixed HLSL compiler. 2016-10-13 15:01:27 -07:00
Branimir Karadžić d639452e9b noop: Pretend all features that are not returning results to CPU are available. 2016-10-03 18:26:22 -07:00
Branimir Karadžić 441459f5c0 Cleanup. 2016-10-02 20:01:28 -07:00
Branimir Karadžić e5b9b8d7aa Cleanup. 2016-10-01 12:38:41 -07:00
Branimir Karadžić ece1a0e49b shaderc: Added pssl stub. 2016-09-30 18:16:04 -07:00
Branimir Karadžić c5a2ddd662 Cleanup. 2016-02-01 22:23:57 -08:00
Branimir Karadžić 1ae89c70ef shaderc: Allow different HLSL compilers. 2016-02-01 15:53:11 -08:00
Branimir Karadžić d050ee9641 Fixed MinGW build. 2016-02-01 10:57:02 -08:00
Branimir Karadžić 2cf7eaaefc Cleanup. 2016-01-30 20:59:50 -08:00
Branimir Karadžić ee40695502 shaderc: Fixed Wine build. 2016-01-30 18:53:30 -08:00
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