Бранимир Караџић
55ab61fe7d
Fixed build.
2019-02-03 19:52:12 -08:00
Бранимир Караџић
f6f6a22119
Adding bounds overlap tests.
2019-02-03 19:47:33 -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
Бранимир Караџић
fb8a82a5fd
Cleanup.
2019-01-03 14:30:59 -08:00
elvencache
96611dd944
Add HDR backbuffer support to texturev for viewing HDR textures
...
Texturev already supports exposure/stops as a way to view details in HDR textures. But results still clip to 1.0 due to 8 bits per channel back buffer. So not viable to view in native HDR.
Add UI menu to select scRGB (f16 HDR for windows) and HDR10 (pq/st2084 and rec2020 color primaries) and add shader code to properly display image. The intent is for SDR range content to look identical across all three modes. With additional details available in HDR modes when viewed on HDR monitor.
Running into trouble compiling fs_texture_array at the moment. So skipping the changes required in that shader.
*sdf.bin.h files changed because of changes in common.sh. Could roll the hdr code into a separate hdr.sh which would leave them be if that would be better?
2018-12-29 23:10:28 -08:00
junjie020
9296a44f5e
fix metal shader lack of texutre uniform variable
2018-12-26 14:19:07 +08:00
Branimir Karadžić
63e298795d
Cleanup.
2018-12-21 18:02:39 -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ć
0740b29de7
Cleanup.
2018-12-10 19:39:00 -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ć
7b8d5314d2
texturev: Fixed SDF shader.
2018-11-01 18:07:17 -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
Branimir Karadžić
623fd3cf0b
shaderc: Added in/out hash. Fixed shader binary backward compatibility.
2018-10-12 16:41:26 -07:00
Branimir Karadžić
70c06f46c3
shaderc: Updated version.
2018-10-04 19:31:46 -07:00
Branimir Karadžić
29585d85ca
Added numBackBuffers to initialization parameters.
2018-10-02 16:40:12 -07:00
Branimir Karadžić
474f6e1472
Updated glslang.
2018-10-01 20:01:14 -07:00
Branimir Karadžić
50ab2b9f2b
shaderc: Added keep-intermediate option.
2018-09-25 18:11:06 -07:00
attilaz
9f5bb14651
typo in usage? ( #1500 )
2018-09-24 11:07:32 -07:00
Branimir Karadžić
07d909b5f0
Fixed crash on NULL dereference.
2018-09-03 13:56:11 -07:00
Branimir Karadžić
a4bedea36c
Fixed warning.
2018-09-02 22:34:04 -07:00
Francis Hart
86f52812cd
Fix issue with tab character in shaderc output ( #1470 )
...
When printing the binary representation of the converted shader, shaderc
also prints a comment with the ascii readable characters for each line.
For unprintable characters, it relies on isprint() to replace them with
the '.' character.
Under MSVC 2017, isprint() may incorrectly return true for the tab
character. This patch adds a WAR to explicitly test for tabs, to make
sure they get replaced with '.'.
2018-08-28 18:08:24 -07:00
Branimir Karadžić
d2a3f6cf50
Cleanup.
2018-08-27 20:25:54 -07:00
Branimir Karadžić
4433b5bcdc
Separating sampler flags from texture creation flags.
2018-08-20 17:12:26 -07:00
Branimir Karadžić
0b0770ed39
texturev: Added image info to menu bar.
2018-07-04 13:36:14 -07:00
divinon
218c9e5ea1
Fix error line searching for HLSL compiled with debug info. ( #1414 )
2018-06-18 12:51:32 -07:00
Branimir Karadžić
a167dcda12
Fixed gl_FrontFacing behavior.
2018-06-08 16:52:09 -07:00