Rodrigo Braz Monteiro
30a77c78d2
Introduce option to inherit combined sampler bindings ( #58 )
2021-02-02 16:50:14 -07:00
Minmin Gong
9f4dbeb643
[GLSL] Fix the regression of legacy GLSL compatibility due to the changes in SPIRV-Cross
...
Related work item: Github #42
2020-09-25 18:24:10 -07:00
Minmin Gong
e82b303f9a
Use the Blob in object, not pointer
...
It reduces the chance of memory leak.
2020-09-25 15:06:30 -07:00
Minmin Gong
a8580b8166
Remove the tailing '\0' from the disassemble results
2020-09-24 23:57:21 -07:00
sunnypchen
063c0ea6c3
Dxil shader reflection feature ( #45 )
...
* Dxil shader reflection feature
Co-authored-by: sunnypchen <chenpeng_19890924@126.com>
Co-authored-by: Minmin Gong <mgong@microsoft.com>
2020-09-24 18:18:31 -07:00
Minmin Gong
110266b0ef
[External] Update DXC and explicitly use the static version of SPIRV-Tools
2020-09-24 15:35:11 -07:00
Minmin Gong
e0785d987a
[External] Update SPIRV-Cross and its dependencies to fix an OpPhi translation issue
2020-09-24 00:43:00 -07:00
Minmin Gong
513d990e79
Fix uninitialized shiftAll*Bindings in Compiler::Options
2020-08-09 00:29:18 -07:00
Minmin Gong
557f5396ea
[External] Update dxc to fix compiling issues on VS2019 16.6
2020-05-21 00:04:22 -07:00
Minmin Gong
cfe64907a5
External: Updated DirectXShaderCompiler
2020-05-14 22:15:22 -07:00
Minmin Gong
3d82ecf591
Better support for cross compiling
...
Automatically build tblgen projects on host platform, then build for target platform
Related work item: Github #47
2020-05-01 23:10:45 -07:00
Minmin Gong
e0a8f7f04a
[CodingStandard] Turn on Cpp11BracedListStyle in clang-format
...
Related work item: Github #24
2020-04-30 23:55:18 -07:00
Minmin Gong
2c45bad9e6
[CI] Add clang-format check to CI
...
Related work item: Github #24
2020-04-30 22:38:28 -07:00
Minmin Gong
140a01333e
Bump up the version number
2020-04-29 23:12:52 -07:00
Minmin Gong
c0bf229665
[External] Update external libraries
2020-04-25 21:09:18 -07:00
Minmin Gong
3abff09adc
[Link] Enable to compile HLSLs to Dxil modules, and link them
...
Related work item: Github #10
2020-04-23 21:12:31 -07:00
Minmin Gong
f75d8c75d5
[GLSL] Better legacy GLSL compatibility and update expected files
...
Related work item: Github #42
2020-04-11 12:41:36 -07:00
Nils Daumann
971319ad0c
Added support for macro definitions. ( #54 )
2020-04-08 23:24:11 -07:00
Minmin Gong
8f1c534e10
[CI] Update macOS image in CI pipeline to 10.14
2020-03-09 11:25:39 -07:00
Minmin Gong
75117b3e4a
[Engineering] Refactor on cmake files, split large files to smaller ones
2020-03-07 18:33:23 -08:00
Minmin Gong
c6f7879497
[External] Updated some external libraries
2020-03-07 15:17:17 -08:00
Minmin Gong
ea1e3842e0
[Linux] Turn on libc++
2020-03-04 11:52:07 -08:00
Jorge Cantón
b514328d9e
Add shift resource bindings in Vulkan ( #50 )
...
* Added Options parameters to C# wrapper
* Added Vulkan Shift resource binding options
* Fixed issue packMatricesInRowMajor is inverted
2019-09-24 20:02:42 -07:00
Minmin Gong
d1c81f555e
[External] Updated DirectXShaderCompiler and SPIRV-Cross to fix nointerpolation problem
2019-09-23 11:14:52 -07:00
Minmin Gong
4f36cafc62
[Engineering] Use pre-installed python3 on macOS
2019-09-15 21:24:48 -07:00
Jorge Cantón
e2b0ad5e50
Add options parameters to C# wrapper ( #48 )
2019-09-15 16:59:17 -07:00
Minmin Gong
c9db185673
[External] Add a patching mechanism to external libraries
...
Also using this to fix the DXC with VS2019.2
Related work item: Github #49
2019-09-04 20:02:21 -07:00
Minmin Gong
7f765609e5
Enable to build x86, arm, and arm64 binaries as well
...
When cross compiling arm or arm64 configurations, a built x64 or x86 clang-tblgen and llvm-tblgen are required.
Related work item: Github #15
2019-07-14 00:16:04 -07:00
Minmin Gong
0a12beb72a
Add VS2019 to CI
...
Related work item: Github #43
2019-05-31 09:06:11 +08:00
Minmin Gong
f302367332
Update dxc to reduce its binary size
...
Related work item: Github #19
2019-05-30 23:14:38 +08:00
Minmin Gong
73b4941aaf
Separate Msl target into Msl_macOS and Msl_iOS, fix the resource bindings
...
Related work item: Github #44
2019-04-22 23:20:05 -07:00
Minmin Gong
ab97dabc78
Detect and use VS2019/vc142 for building
...
Related work item: Github #43
2019-04-21 20:16:57 -07:00
Minmin Gong
e7a38cd399
[External] Updated DirectXShaderCompiler and SPIRV-Cross to fix the LoD problem
...
Related work item: Github #40
2019-04-21 19:14:06 -07:00
Minmin Gong
6ecb32708b
[External] Updated DirectXShaderCompiler to fix the half data type problem
...
Related work item: Github #40
2019-03-16 11:36:12 -07:00
Minmin Gong
9a2f26fc43
Add 2 tests about half data type, and update the externals
...
Related work item: Github #40
2019-03-01 22:21:06 -08:00
Minmin Gong
32c44461b1
More robust on file loading
...
Related work item: #39
2019-02-28 22:55:06 -08:00
Minmin Gong
744b9cd517
[External] Updated external libraries
...
Related work item: Github #38
2019-02-24 20:45:49 -08:00
Minmin Gong
1c5402e5c2
Fix the uninitialized members in source and target which is causing memory problems
...
Related work item: Github #36
2019-02-12 21:54:45 -08:00
Minmin Gong
852d52179b
Copy the blobs from binary targets to outputs
...
Related work item: Github #36
2019-02-10 21:02:29 -08:00
Minmin Gong
50e27738c4
Enable to compile a shader to multiple targets in one call
...
Related work item: Github #34
2019-02-09 17:29:35 -08:00
Minmin Gong
c45f09a6d8
Add options for tuning the compiling
...
Related work item: Github #35
2019-02-05 20:07:28 -08:00
Minmin Gong
e725a6399f
Remove STL containers from the interface
...
STL containers are causing some problems when caller doesn't have _ITERATOR_DEBUG_LEVEL=0, or have operator new overridden, or have a different runtime. Switch to C-style pointers and Blob can solve this problem.
Related work item: Github #33
2019-02-04 22:03:27 -08:00
Minmin Gong
82f339c917
Fix a bug when include an empty file
...
1. Fix the include problems
2. Add tests about including
Related work item: Github #32
2019-01-31 00:08:44 -08:00
Minmin Gong
4fe50bd32d
Ask cmake to find git executable
...
Related work item: Github #28
2019-01-30 22:19:38 -08:00
Minmin Gong
47cfbc2532
Return error when include file is not located
...
Related work item: Github #30
2019-01-30 09:29:06 -08:00
Carter Bray
a3ac01e7ab
Fix issues with converting ShaderConductor::MacroDefine ( #29 )
...
* Fix issues with converting ShaderConductor::MacroDefine
* Fix unsafe access to internal wstring data which can be invalidated if
the wstring is moved due to small-string optimization where the string
data is stored internally instead of allocated.
* Fix logical inversion when converting defines with no value.
* Update unit tests for macro definition fix
Note the constant in gl_Position assignment which now matches the value
of FIXED_VERTEX_RADIUS defined in ShaderConductorTest.cpp(243).
2019-01-30 00:45:50 -08:00
Jorge Cantón
3860bfff93
Dxil disassembly feature ( #27 )
...
Added DXIL Disassembly feature
2019-01-30 00:44:58 -08:00
Jorge Cantón
72cf2c6c0c
Add the ability to disassemble SPIR-V
...
- Added new Disassemble method
- Updated CSharp wrapper
- Implemented CSharp wrapper free resources
- Check disassemble spirv code
- Linked Spirv-Tools
2018-12-19 23:22:04 -08:00
Minmin Gong
cb46316066
Force to turn off LLVM_ENABLE_TERMINFO to remove the dependency to libtinfo
...
Related work item: Github #20
2018-12-14 18:21:11 -08:00
Minmin Gong
db2e2aa3db
Upgrade SPIRV-Headers and SPIRV-Tools to fix a warning on gcc8
...
Related work item: Github #21
2018-12-13 22:49:36 -08:00