Бранимир Караџић
2cbcb6ea90
RRenamed BX_CHECK to BX_ASSERT.
2020-06-16 10:06:18 -07:00
Hugo Amnov
b62302631e
Add Webgpu backend ( #2132 )
...
* WebGPU first draft (shaderc bin version 8)
* WebGPU scripts
2020-05-08 08:53:53 -07:00
Hugo Amnov
b48b084d25
Vulkan cleanup for Webgpu ( #2127 )
...
* Harmonize and simplify Vulkan SPIRV bindings mappings
* Handle Vulkan V-flip properly
* Update Embedded shaders
2020-05-03 13:54:30 -07:00
James Fulop
ea4bbbfcb7
shader read optimization ( #2109 )
...
Currently `const char * str` gets converted to a StringView when its passed to `bx::strFindNl`, incurring a strlen. We have the data to calculate the strlen and fully construct the StringView.
2020-04-15 21:12:33 -07:00
Бранимир Караџић
6c0c5c9921
Renamed vertexdecl.* to vertexlayout.*
2020-03-28 20:06:03 -07:00
Бранимир Караџић
82f56b5987
Happy New Year!
2020-01-14 21:37:06 -08:00
Бранимир Караџић
564f484ab7
shaderc: Split Metal and SPIRV compilers.
2019-08-03 08:52:14 -07:00
Бранимир Караџић
3f3a9450ba
Happy New Year!
2019-01-13 17:13:25 -08:00
Branimir Karadžić
1eb853512e
Cleanup.
2018-10-25 22:16:10 -07:00
Branimir Karadžić
5579ac4686
Cleanup.
2018-10-21 20:33:29 -07:00
Branimir Karadžić
6bff345637
StringView cleanup.
2018-10-21 19:17:44 -07:00
Branimir Karadžić
50ab2b9f2b
shaderc: Added keep-intermediate option.
2018-09-25 18:11:06 -07:00
Branimir Karadžić
52a5f630fd
shaderc: Added command line info after preprocessing shader.
2018-03-16 18:15:16 -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ć
1218981a22
Cleanup.
2017-09-25 17:51:15 -07:00
Branimir Karadžić
3e212b519f
Moving code around and renaming files.
2017-07-15 21:01:08 -07:00
Branimir Karadžić
a274c9a6c5
Replaced BX_OVERRIDE with override.
2017-07-15 00:17:29 -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ć
6e9e862565
Renaming string functions.
2017-04-16 21:56:17 -07:00
Branimir Karadžić
3b83f53ab1
Happy New Year!
2017-01-01 00:18:41 -08:00
Branimir Karadžić
e5b9b8d7aa
Cleanup.
2016-10-01 12:38:41 -07:00
Branimir Karadžić
2380221c81
shaderc: Added SPIR-V stub.
2016-09-30 20:03:16 -07:00
Branimir Karadžić
ece1a0e49b
shaderc: Added pssl stub.
2016-09-30 18:16:04 -07:00
Branimir Karadžić
597b10128e
Cleanup.
2016-02-21 14:08:20 -08:00
Branimir Karadžić
016bfc4290
Improved reader/writer error handling.
2016-01-31 16:00:02 -08:00
Branimir Karadžić
2cf7eaaefc
Cleanup.
2016-01-30 20:59:50 -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ć
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