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
907711db8c
Don't use 'using namespace'
2024-07-22 00:34:57 +02:00
libretroadmin
0517354181
* replace more strlcat calls with strlcpy
...
* Get rid of unnecessary string copies by clever usage of strlcpy
* Get rid of unnecessary temp variables when not needed
2023-06-18 22:37:01 +02:00
libretroadmin
88c2ae9ddf
No null termination for strings passed to strlcpy/srlcat
2022-07-26 13:23:28 +02:00
Tony
09880e92d2
Logging cleanups ( #13320 )
2021-12-04 14:21:12 +01:00
Mark W. Kidd
2b3dfeb10c
standardize include path for config.h
2021-08-18 18:54:40 -04:00
twinaphex
0aa266a6ca
build_stage_source - use std::string reserve and append, significantly
...
faster
2021-04-10 22:11:26 +02:00
twinaphex
1296fc4745
use strlcpy_literal for string literal copies
2020-09-19 23:28:01 +02:00
twinaphex
c2a8a0f04e
use string_list_initialize/deinitialize in more places
2020-08-24 01:16:14 +02:00
twinaphex
46fd40b574
Use std::string concatenation instead of std::ostringstream
2020-07-11 08:24:13 +02:00
twinaphex
b2dbbeb386
(glslang_util_cxx.cpp) Use string_starts_with_size
2020-06-28 21:53:28 +02:00
twinaphex
fe8a191012
(glslang_util_cxx.cpp) Use string_starts_with
2020-06-28 21:46:08 +02:00
twinaphex
2a36fa0855
Remove double ';'
2020-05-19 21:29:35 +02:00
twinaphex
6232e0abd3
Buildfix
2020-03-03 11:08:16 +01:00
twinaphex
d5f7839d12
Cleanups
2020-03-03 10:58:04 +01:00
twinaphex
d1ebb58580
Cleanups - change function signature of compile_spirv to const char *
2020-03-03 10:49:47 +01:00
orbea
def374c2b9
Fix the header paths with the system glslang.
2020-03-02 14:20:18 -08:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
3fbeb0617b
(glslang_util_cxx.cpp) Get rid of this strlcpy too
2019-09-18 08:03:49 +02:00
twinaphex
d48b5b78f8
Cleanups
2019-08-18 18:05:26 +02:00
twinaphex
aaeff6c888
Move C code over to glslang_util.c
2019-08-18 18:01:21 +02:00