Commit Graph

277 Commits

Author SHA1 Message Date
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Бранимир Караџић
35abd01cfb Fixed warnings. 2019-10-05 09:52:04 -07:00
attilaz
3a6f9ff5b0 Fixed isampler and usampler for metal/spirv (#1903) 2019-10-04 20:03:27 -07:00
Бранимир Караџић
010676412e Fixed issue #1894. 2019-09-28 19:30:23 +02:00
Sandy
78614c9b55 shaderc: Add before hlsl validation option to spirv (#1892)
Fixes opaque type in struct error by disabling check.
```
Error: In Vulkan, OpTypeStruct must not contain an opaque type.
  %BgfxSampler2D = OpTypeStruct %6 %8
```
2019-09-26 19:00:44 +00:00
kingscallop
65303869ab Fixes shaderc texture array usage detection. 2019-09-01 15:06:20 -07:00
Бранимир Караџић
9009ba50ba Cleanup. 2019-08-15 21:55:09 -07:00
Бранимир Караџић
5edeea64a9 Cleanup. 2019-08-15 21:37:35 -07:00
Бранимир Караџић
90e6afd47d shaderc: Cleanup. 2019-08-13 19:35:10 -07:00
Rinthel
2fa32d855d implement compute shader support 2019-08-13 18:44:42 -07:00
Attila Kocsis
e58a108387 Metal: Fix resource binding for latest spirv-cross
More info:

https://github.com/KhronosGroup/SPIRV-Cross/pull/1036
https://github.com/KhronosGroup/SPIRV-Cross/issues/1072
2019-08-10 09:32:16 -07:00
Rinthel Kwon
6927a9179b vulkan renderer draft implementation 2019-08-04 19:51:16 -07:00
Бранимир Караџић
bbba6aa1ab shaderc: Split Metal and SPIRV compilers. 2019-08-03 08:54:02 -07:00
Бранимир Караџић
564f484ab7 shaderc: Split Metal and SPIRV compilers. 2019-08-03 08:52:14 -07:00
Бранимир Караџић
bd39b5580a Cleanup. 2019-07-24 20:12:07 -07:00
feserr
6d6f28b158 Show all profile modes in the usage of shaderc. 2019-04-17 09:59:18 +02:00
Бранимир Караџић
3564e2a289 Updated spirv-cross. 2019-04-14 21:53:50 -07:00
Nick Waanders
88da162438 shaderc_spirv now emitting sampler uniforms
ShaderC now emits sampler uniforms for Metal and Spirv.
2019-03-12 15:23:10 -07:00
Branimir Karadžić
1b9dd14683 Fixed framebuffer RW. 2019-02-18 13:40:17 -08:00
Branimir Karadžić
5495b432f3 Fixed build. 2019-02-16 21:25:13 -08:00
Бранимир Караџић
a69d2ed606 shaderc: Fixed GLSL/ESSL intepolator issue. 2019-02-13 14:53:13 -08:00
attilaz
5dba3a93af MSL vs/fs shaders use spirv-cross 2019-01-22 22:31:41 +01:00
attilaz
de94da4ab2 MSL Shadow Sampler fix and working on to support vs/fs with spirv-cross 2019-01-20 11:16:58 +01:00
attilaz
b5ac92e5fa spirv-cross: removed rename hack
recompiled metal shaders
2019-01-19 09:13:46 +01:00
Бранимир Караџић
9520802e72 Cleanup. 2019-01-18 23:28:37 -08:00
Бранимир Караџић
e105c88e55 Cleanup. 2019-01-18 18:07:29 -08:00
attilaz
8e8161f743 Fix for 'used samplers was converted to static'
It seems reflection doesn't have a way to query used(live) samplers.
2019-01-17 21:04:23 +01:00
Nick Waanders
cc08e0c662 Update shaderc.cpp
Fix for crash in release mode when compiling a shader with incorrect input attributes.
2019-01-16 13:27:35 -08:00
Бранимир Караџић
d83c8439ff Cleanup. 2019-01-15 19:38:35 -08:00
Бранимир Караџић
9d1590670e shaderc: Fixed metal interpolation qualifiers. 2019-01-15 19:01:18 -08:00
Attila Kocsis
810c69ec49 added spirv legalization 2019-01-15 22:12:48 +01:00
Attila Kocsis
d8dcf36a79 fixed Xcode compile error 2019-01-14 09:51:31 +01:00
attilaz
b9b58296c7 metal compute shader generation 2019-01-14 09:24:06 +01:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Бранимир Караџић
3c8afe3b00 Cleanup. 2019-01-08 14:14:47 -08:00
junjie020
9296a44f5e fix metal shader lack of texutre uniform variable 2018-12-26 14:19:07 +08:00
Branimir Karadžić
85c3bedfee shaderc: Allow space as delimiter for in/out params. 2018-12-19 20:13:33 -08:00
Pang Weiwei
5044400717 fix shaderrc generate wrong shader of matal 2018-12-19 20:26:53 +08:00
Branimir Karadžić
c5bec1ecb0 shaderc: Added input name validation to force proper attribute naming. 2018-12-17 20:47:11 -08:00
Branimir Karadžić
d4d453a1dd Fixed shaderc. 2018-11-28 17:28:37 -08:00
Branimir Karadžić
d4fef78240 Cleanup. 2018-11-27 18:14:29 -08:00
Branimir Karadžić
2a6436fbc5 Cleanup. 2018-11-02 17:18:22 -07:00
Branimir Karadžić
593269e1de shaderc: Fixed patching. 2018-10-30 15:04:17 -07:00
Branimir Karadžić
53dfd981da Replaced eolLF with normalizeEolLf. 2018-10-28 20:48:34 -07:00
Branimir Karadžić
1def5343e6 Replaced strmb with strFindBlock. 2018-10-28 16:58:46 -07:00
Branimir Karadžić
1eb853512e Cleanup. 2018-10-25 22:16:10 -07:00
Branimir Karadžić
72bf5f9870 Cleanup. 2018-10-22 18:08:01 -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