twinaphex
a1ce1e4f1d
gl_glsl_set_proc_address unneeded - remove it
2020-08-04 03:58:51 +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
cce2ac6904
(shaders slang) Cut down on code duplication
2020-08-03 18:13:08 +02:00
twinaphex
c387071298
Add static globals TODO/FIXME note
2020-07-20 02:02:00 +02:00
twinaphex
46fd40b574
Use std::string concatenation instead of std::ostringstream
2020-07-11 08:24:13 +02:00
twinaphex
e10f4eed8d
(Vulkan) Cleanups
2020-07-09 03:48:42 +02:00
HyperspaceMadness
5ceb30fc1b
Changed SLANG_NUM_BINDINGS to 16 for D3D11 Fix
2020-07-08 12:06:59 -04:00
HyperspaceMadness
7c6bb925c4
Increased Slang Max Params, Textures & Passes
2020-07-05 13:45:58 -04:00
twinaphex
09180e64b5
Start unifying more macros
2020-07-03 18:00:40 +02:00
twinaphex
7a22eb1f44
Turn vulkan_image_layout_transition_levels into macro
2020-07-03 08:32:33 +02:00
twinaphex
87b9c2a367
Add HAVE_REWIND switch
2020-07-01 21:04:05 +02:00
twinaphex
f83f0b2d44
Fix static code analysis warnings
2020-06-29 20:27:34 +02:00
twinaphex
cf1eb2e989
Silence more warnings
2020-06-29 20:17:54 +02:00
twinaphex
479058d1a3
Prevent implicit memsets
2020-06-29 16:42:51 +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
c600fbc6ff
Cleanups
2020-06-28 21:33:07 +02:00
twinaphex
503c8e089f
(shader_vulkan) Cleanup
2020-06-28 01:17:36 +02:00
twinaphex
808c00db41
(drivers_shader) Move static functions to top of files
2020-06-26 18:54:30 +02:00
twinaphex
601a73fa8b
Use string_starts_with_size where possible - avoids the strlen
2020-06-25 12:51:04 +02:00
twinaphex
d903d684a0
(glslang) Group together more strings
2020-06-12 05:24:34 +02:00
twinaphex
c2044beedd
Fix shader regression with MinProgramTexelOffset
2020-06-12 05:18:38 +02:00
twinaphex
7ee5ffcd1c
Further optimize SlangProcess
2020-06-11 05:51:03 +02:00
twinaphex
58b22b0a6e
Optimize some long iterations of string_is_equal
2020-06-08 07:00:22 +02:00
Higor Eurípedes
1f45018ee8
shader_glsl.c: Move buffer null pointer check in gl_glsl_set_coords()
...
`buffer` is initialized to a statically allocated variable and can only be NULL
when the allocation of a bigger buffer fails. When only the core frame is being
displayed, the buffer never points to the heap thanks to the small buffer
optimization.
2020-06-06 20:08:28 -03:00
twinaphex
e030986837
Replace fprintfs with RARCH_LOG/RARCH_ERR
2020-05-24 19:29:55 +02:00
twinaphex
6408da2ae4
Silence warnings
2020-05-23 03:19:25 +02:00
twinaphex
a9cf718e75
Get rid of auto variable in glslang.cpp
2020-05-21 20:04:36 +02:00
twinaphex
2a36fa0855
Remove double ';'
2020-05-19 21:29:35 +02:00
jdgleaver
548c5dc925
(glcore/slang) Set filter and wrap mode correctly when intialising shader textures
2020-04-30 17:04:02 +01:00
twinaphex
62bd4960e1
Fix MSVC include paths
2020-03-06 03:01:47 +01:00
twinaphex
d3bc82d2c3
Header cleanups
2020-03-05 14:12:20 +01:00
twinaphex
da60c1bb96
Header cleanups
2020-03-05 14:06:04 +01: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
75eef8a2c9
(drivers shader slang) Put logging behind DEBUG ifdef - and
...
turn some conditionals into a switch
2020-02-19 16:25:41 +01:00
twinaphex
c6bd3da1c3
(drivers_shader) Cleanups
2020-02-19 03:23:30 +01:00
twinaphex
5280286415
(shader_vulkan.cpp) Cleanup
2020-02-19 03:11:45 +01:00
orbea
baf7013941
Silence warning with clang-9.0.1.
...
gfx/drivers_shader/shader_vulkan.cpp:2372:4: warning: field 'device' will be initialized after field 'size' [-Wreorder]
device(device),
^
1 warning generated.
2020-02-01 16:52:00 -08:00
twinaphex
d89fb0e7c4
(shader_slang.cpp) Simplify usage of functions that are only
...
ever used as C-strings
2020-02-01 07:04:27 +01:00
twinaphex
9ddd8417c8
Replace some more auto variables
2020-01-23 04:49:51 +01:00
twinaphex
a4564b8939
Move C oriented code from slang_reflection.cpp to glslang_util.c
2020-01-22 19:36:49 +01:00
twinaphex
ff9701685f
Remove some auto variables
2020-01-22 19:07:10 +01:00
twinaphex
920e89a506
Move pass set texture to vulkan_common.c
2020-01-22 14:27:24 +01:00
twinaphex
8f1aa8c2c3
(shader_gl_core.cpp) Cleanups
2020-01-22 13:52:14 +01:00
twinaphex
376ad6d61d
move more C functions over to gl_core.c
2020-01-22 13:12:00 +01:00
twinaphex
90874b434e
(shader_vulkan.cpp) Move more C code to vulkan_common.c
2020-01-22 12:09:08 +01:00