Commit Graph

337 Commits

Author SHA1 Message Date
twinaphex
15a8f0c485 Wrap some more settings manipulation 2017-04-25 15:31:32 +02:00
twinaphex
d77da6b53d Fix bug in shader_glsl.c 2017-04-21 23:10:55 +02:00
twinaphex
284e6b2994 Replace more instances of string_is_equal 2017-04-21 22:51:04 +02:00
twinaphex
f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex
755ceda4f9 More consistent log messages 2017-03-24 00:30:14 +01:00
twinaphex
17235d70e2 Create set_coords_fallback for shader driver 2017-03-23 21:49:29 +01:00
twinaphex
17739435de Cleanups 2017-03-07 12:59:58 +01:00
twinaphex
4118d0bbd2 Cleanups 2017-03-07 12:49:52 +01:00
twinaphex
f4ac760178 Cleanups 2017-03-07 12:37:11 +01:00
twinaphex
cb1c8df547 Simplify gl_glsl_set_coords 2017-03-07 12:35:29 +01:00
Twinaphex
43c32aad3d Silence more warnings 2017-02-26 22:16:03 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
Hans-Kristian Arntzen
2d88530c98 Vulkan: Simple snow pipeline works.
Some other fixes too.
2017-02-20 20:53:59 +01:00
twinaphex
81b529696f Cleanups 2017-01-23 02:33:46 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
219a07f709 (hlsl) Fix 2017-01-19 21:21:53 +01:00
twinaphex
28195ee517 (HLSL) Buildfixes 2017-01-19 21:20:05 +01:00
twinaphex
861ad8b3ab (XDK360) Another buildfix 2017-01-19 21:05:04 +01:00
twinaphex
0edbf8d5c9 (shader_hlslc.) Another buildfix 2017-01-19 20:56:07 +01:00
twinaphex
98f0422b20 (HLSL) Fix typo 2017-01-19 20:50:00 +01:00
twinaphex
fd8cdc389f (Xbox 360) More buildfixes 2017-01-19 20:31:33 +01:00
twinaphex
0354ced675 Style nits 2017-01-17 19:02:49 +01:00
twinaphex
0ee34b0076 (glslang_util.cpp) Cleanups/style nits 2017-01-12 10:32:57 +01:00
twinaphex
68d484bf60 Set supports_rgba before calling image_texture_load 2017-01-08 21:49:23 +01:00
twinaphex
c8bc6c7120 (XMB) Add Bokeh menu pipeline 2017-01-08 03:56:47 +01:00
twinaphex
c57ab8f37a Add pipeline_bokeh to shader_glsl.c 2017-01-08 02:16:47 +01:00
twinaphex
58716e5f3c Silence some Coverity warnings 2016-12-21 01:34:28 +01:00
Hans-Kristian Arntzen
4e9fe4bd54 Vulkan: Fix menu shader parameters for slangp.
video_shader_resolve_parameters did not take #includes into account
while the Vulkan implementation did. Added a helper function which
parses a shader file and figures out the shader parameters in the same
way.
2016-12-20 15:58:37 +01:00
twinaphex
31b87594aa Get rid of some implicit memsets for state tracker 2016-12-19 19:08:37 +01:00
twinaphex
feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
twinaphex
96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex
4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
Brad Parker
1f39426195 only use fancy ribbon on GLES if GL_OES_standard_derivatives extension is detected 2016-12-09 19:32:55 -05:00
Brad Parker
32a3026654 enable standard derivatives extension for GLES, adds support for complex XMB ribbon 2016-12-06 21:04:12 -05:00
twinaphex
9f470c53ae Add 'Simple Snow' shader to GLSL backend 2016-12-06 00:48:36 +01:00
twinaphex
abaa6eda62 Rename VIDEO_SHADER_MENU_SEC to VIDEO_SHADER_MENU_2 2016-12-06 00:34:38 +01:00
Hans-Kristian Arntzen
53c30cacd5 Correctly check errors if preset cannot be found. 2016-12-03 16:05:04 +01:00
twinaphex
45407f9b52 (shader_glsl.c) Small cleanups 2016-12-02 16:50:08 +01:00
twinaphex
65ba82ca4b (shader_gl_cg.c) Cleanups 2016-12-02 16:45:58 +01:00
Jean-André Santoni
d4296b016f Make shader names consistent, step 5 2016-11-19 00:30:56 +01:00
Jean-André Santoni
9c83658368 Make shader names consistent, step 4 2016-11-19 00:29:13 +01:00
Jean-André Santoni
d1bf61076d Make shader names consistent, step 3 2016-11-19 00:27:54 +01:00
Jean-André Santoni
35d8ec12c5 Make shader names consistent, step 2 2016-11-19 00:23:07 +01:00
Jean-André Santoni
3b2b7580db Make shader names consistent, step 1 2016-11-19 00:20:52 +01:00
twinaphex
df7ffe1822 Don't use legacy vertex shader for snow for OpenGLES 2016-11-17 21:25:02 +01:00
twinaphex
547cb83652 Add third menu shader program 2016-11-17 21:14:19 +01:00
twinaphex
20c1ef83d6 First stab at getting snow shader to work 2016-11-17 21:08:50 +01:00
twinaphex
a2c69ec254 Added snow shader hooks - doesn't work yet though - shader driver
system is very limited in terms of how we can set custom menu
shaders - will require a rethink
2016-11-17 20:54:29 +01:00
Higor Eurípedes
8977968b6d (shader_glsl.c) Don't allocate/clear more than needed in gl_glsl_set_coords() 2016-11-12 08:23:06 -03:00
twinaphex
8551cc4f9b Remove if 0 for memcpy 2016-11-11 22:54:13 +01:00