Commit Graph

472 Commits

Author SHA1 Message Date
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
twinaphex
8d02343b53 (HLSL) Cleanups 2018-04-23 15:58:00 +02:00
twinaphex
d7fa70927c (HLSL) Cleanups 2018-04-23 15:55:26 +02:00
twinaphex
d03ff06cf3 (HLSL) Cleanups 2018-04-23 15:51:24 +02:00
twinaphex
af734939ee More HLSL work 2018-04-23 15:26:35 +02:00
twinaphex
32c92a9a22 Rename d3dxbuffer_release 2018-04-23 15:04:19 +02:00
twinaphex
871f04e19a (slang) Cleanups 2018-04-23 14:56:02 +02:00
twinaphex
2a655116a6 Set #define CINTERFACE in these files 2018-04-22 14:27:39 +02:00
twinaphex
c52f53aada Some minor refactors 2018-04-21 08:47:09 +02:00
Twinaphex
bd2b913bc6 Silence more warnings 2018-04-13 00:52:52 +02:00
twinaphex
1751f4a0af Make it possible to read bigger files by replacing ssize_t with int64_t
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex
97cf6613da (XMB/Shaders) Reimplement menu shader loading for GLSL/Cg/HLSL backends - if
XMB is selected, it will compile the shader pipelines in
advance
2018-04-12 02:20:17 +02:00
Twinaphex
08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
Twinaphex
0be2b76892
Update slang_process.cpp 2018-03-22 15:24:03 +01:00
aliaspider
bb972a6dab (spirv) set flip_vert_y to true when emitting HLSL. 2018-03-06 04:12:58 +01:00
twinaphex
59dae251b0 Change to system dir include 2018-03-02 18:34:29 +01:00
twinaphex
9f33ba8607 (Vulkan/D3D11/D3D12) Add HAVE_GLSLANG now to both Android and MSVC solutions - shaders
should work now
2018-03-02 02:14:29 +01:00
Twinaphex
ae6e410de1 Remove unused variables 2018-03-01 22:28:26 +01:00
twinaphex
5b79d2b942 Refactor video_shader_driver_set_parameters 2018-02-26 17:51:52 +01:00
twinaphex
938f6cc26e Get rid of hashes in shader_gl_cg 2018-02-25 01:13:34 +01:00
aliaspider
19aed2af36 (D3D11/12) prevent double-free when resizing framebuffers.
(D3D12)
- correctly support lut/filtering/wrap options for slang shaders.
- rework frame sync.
2018-02-11 22:56:37 +01:00
twinaphex
8771171f63 (glslang) Compatibility tweaks for MSVC 2010 compatibility 2018-02-04 15:49:53 +01:00
Twinaphex
31a30f1496
Merge pull request #6229 from aliaspider/master
(slang) slang_process: preset alias setting has higher priority.
2018-02-03 23:36:59 +01:00
aliaspider
0e159a0ec0 (slang) slang_process: preset alias setting has higher priority. 2018-02-03 23:35:04 +01:00