Antonio Orefice
e1b2e29d51
slang shaders: add support for __has_include like C++17 macro. ( #17109 )
...
* slang shaders: add support for __has_include like C++17 macro.
This adds a new #pragma include_if_exist "filename" directive that acts like #include statements,
but does not return error if the file does not exists.
* removed unuseful define
2024-10-21 14:45:44 -07:00
libretroadmin
d60d320e76
Simplified parameter parsing to have all shader formats use the same slang method
...
(when HAVE_SLANG and HAVE_SPIRV_CROSS are defined) - backport of HyperSpaceMadness' PR
2024-09-08 15:25:40 +02:00
twinaphex
159c03cb34
Bump up version (but don't tag yet)
2021-03-27 02:22:39 +01:00
twinaphex
bb58b0d6e3
(GLSLANG) Move more common code out of shader_gl_core and shader_vulkan
...
and into glslang_util.h
2020-08-16 02:05:38 +02:00
twinaphex
f8b8f2a07d
(slang) Cut down on code duplication
2020-08-03 18:37:07 +02:00
twinaphex
86d302099e
Move build_vec4 to glslang_util.c
2020-08-03 18:34:33 +02:00
twinaphex
a4564b8939
Move C oriented code from slang_reflection.cpp to glslang_util.c
2020-01-22 19:36:49 +01:00
twinaphex
aaeff6c888
Move C code over to glslang_util.c
2019-08-18 18:01:21 +02:00
jdgleaver
5ac152a5f3
(glslang_util) Remove C++ 'isms' (where possible)
2019-08-12 13:10:50 +01:00
twinaphex
b282125107
Revert "Refactor code for glslang shader presets - buffer entire file"
...
This reverts commit 0fee6a9ef4914d228118b689fe755ef663ce2d4d.
2019-08-08 16:36:34 +02:00
twinaphex
0fee6a9ef4
Refactor code for glslang shader presets - buffer entire file
...
into memory before passing it on
2019-08-08 04:55:22 +02:00
twinaphex
41a2fabb4e
Create config_file_new_from_path_to_string
2019-07-18 12:03:50 +02:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
twinaphex
714f7b7b13
Cleanups
2018-04-27 23:21:44 +02:00
twinaphex
8771171f63
(glslang) Compatibility tweaks for MSVC 2010 compatibility
2018-02-04 15:49:53 +01:00
aliaspider
11a7171b51
(slang) set enum value SLANG_FORMAT_UNKNOWN to 0.
2018-02-01 15:13:58 +01:00
aliaspider
3865856aa2
(D3D11) add support for #pragma format
in slang shaders.
2018-02-01 15:07:12 +01:00