twinaphex
5102eff399
(GL) Move GL-only shader code to gl.c
2019-02-05 01:13:39 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
4c56167446
Convert to linux line endings.
2019-02-03 15:43:42 -08:00
twinaphex
dd366cd5c5
Revert "Simplify set_coords"
...
This reverts commit e10eb51f718aff5e61cf3fa91d865ebe2e21767e.
2019-02-03 18:05:14 +01:00
twinaphex
e10eb51f71
Simplify set_coords
2019-02-03 18:03:07 +01:00
twinaphex
62bea6ad11
SOme header cleanups
2019-02-02 22:02:24 +01:00
twinaphex
90f1317498
Cut down on code duplication - create gl_load_luts
2019-02-02 21:32:37 +01:00
twinaphex
6b3fad0f53
This can be removed now
2019-02-02 17:26:12 +01:00
twinaphex
7c74f0abe8
Create gl_add_lut
2019-02-02 17:25:27 +01:00
twinaphex
0abe271909
Take out some header includes
2019-01-19 23:15:48 +01:00
twinaphex
1a0d5030f9
shader_vulkan.cpp - doesn't need math.h
2019-01-19 23:02:48 +01:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
twinaphex
6ca9afbd57
Silence more warnings with CXX_BUILD
2019-01-12 18:51:06 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
orbea
4bc0aacd8b
Fix clang -Wreorder warnings.
...
gfx/drivers_shader/shader_vulkan.cpp:1109:6: warning: field 'id' will be initialized after field 'device' [-Wreorder]
: id(move(id)),
^
gfx/drivers_shader/shader_vulkan.cpp:2107:4: warning: field 'device' will be initialized after field 'memory_properties' [-Wreorder]
device(device),
^
2 warnings generated.
2018-12-16 16:16:07 -08:00
Themaister
124d9b57d6
Vulkan: Fix blue/red flip when using HW rendered cores with history.
...
Was using frontend format of BGRA8 when core was RGBA8, with blind
vkCmdCopyImage. Fix is to use the same format as core is pushing to
history buffer.
2018-12-06 11:38:30 +01:00
twinaphex
c5b9352c34
Revert "Rename some files"
...
This reverts commit 03a8bc9875ef4e0e942ab6d8d0d9402c4e1830fe.
2018-11-24 01:26:05 +01:00
twinaphex
03a8bc9875
Rename some files
2018-11-24 00:30:46 +01:00
twinaphex
747bf136f2
Simplify strip_parameter_pragmas
2018-11-23 23:42:33 +01:00
Twinaphex
8514d6ccc8
Revert "Fix shader warnings"
2018-11-23 04:18:38 +01:00
Alfrix
3e7328b00a
Fix shader warnings
2018-11-22 16:18:11 -03:00
Themaister
3f344660c0
Remove Windows \r line endings in glslang parser.
2018-11-08 21:34:21 +01:00
Themaister
1d7dfc5f47
Fix glslang_format LUT.
...
Was logging wrong format names.
2018-09-01 22:46:47 +02:00
twinaphex
75a388cd67
Use strlcpy instead of strncpy in slang_process.cpp
2018-08-16 10:14:42 +02:00
Brad Parker
6de4384350
glsl: don't clear the shader source
2018-08-14 18:42:23 -04:00
twinaphex
a6941fb4ed
Initial work done on VS2017 solution for Android
2018-08-14 16:02:31 +02:00
twinaphex
9c0ed0f2c4
Don't use core profile GLSL shaders for OpenGLES
2018-07-18 10:06:30 +02:00
twinaphex
6b5ade4ac3
Should be no more deprecated warnings with core context GL for menu
...
shaders
2018-07-12 22:03:37 +02:00
twinaphex
60d7d1c793
Add xmb ribbon simple core shader
2018-07-12 21:34:17 +02:00
twinaphex
140e657d51
(GLSL) Add logging for compiling menu shaders
2018-07-12 21:25:39 +02:00
twinaphex
8a1c0be83c
(Android) Another potential buildfix; define ENABLE_HLSL
...
(slang_process) Put HLSL/Cg code around ENABLE_HLSL ifdef
(SPIRV-Cross) Make sure macros no longer need to be redefined; make them
unique in both glsl and hlsl files; needed for Griffin builds
2018-06-26 13:18:17 +02:00
twinaphex
d967cbc879
Add another ENABLE_HLSL ifdef
2018-06-25 21:51:23 +02:00
twinaphex
b05026b69f
Buildfix
2018-06-21 07:56:40 +02:00
Twinaphex
fd11b205da
Silence bunch of warnings
2018-06-21 07:52:01 +02:00
Twinaphex
2bdffff435
Silence more warnings
2018-06-21 07:34:27 +02:00
Stuart Carnie
411bcf8bdd
feat(apple): Metal support for macOS
...
* includes rgui
* shader support
This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex
3aba080434
Integrate HLSL code into d3d9_hlsl_renderchain.c
2018-05-16 15:52:11 +02:00
twinaphex
6a9b39da3f
Get rid of d3d.h and xdk_defines.h
2018-05-14 03:57:27 +02:00
twinaphex
82ebb9576f
Create d3d9_video_t and d3d8_video_t
2018-05-03 22:03:12 +02:00
twinaphex
268baca939
(MSVC 2013) Add /bigobj for griffin_glslang.cpp
2018-05-03 14:52:37 +02:00
twinaphex
714f7b7b13
Cleanups
2018-04-27 23:21:44 +02:00
twinaphex
72428a23c5
(shader_vulkan.cpp) Move some functions to vulkan_common.c
2018-04-24 07:07:58 +02:00
twinaphex
ebfa4bdcdc
Implement two stub functions
2018-04-23 18:34:23 +02:00
twinaphex
d6c17178a3
Add some logging for shader backend setup
2018-04-23 18:25:41 +02:00
twinaphex
c90c98dcaa
Silence warnings
2018-04-23 17:37:37 +02:00
twinaphex
830068e5bd
Create d3d9x_constant_table_set_float_array
2018-04-23 17:20:08 +02:00
twinaphex
a6fcd9dae0
Create d3d9x_constant_table_set_defaults
2018-04-23 17:09:11 +02:00
twinaphex
bd3f39b005
Remove SetMatrix macro
2018-04-23 17:04:59 +02:00
twinaphex
0e5ccd7c15
Create d3d9x_constant_table_set_matrix
2018-04-23 17:04:30 +02:00
twinaphex
dbb9a43abe
(HLSL) Cleanups
2018-04-23 15:59:09 +02:00