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
twinaphex
849cc591bc
Revert "Use GL_STREAM_DRAW"
...
This reverts commit df4107b541
.
2016-11-11 18:34:06 +01:00
neville
df4107b541
Use GL_STREAM_DRAW
2016-11-11 00:52:43 +01:00
neville
12804431db
(GLSL) Avoid memsets - good for about a +1fps speedup with simplified
...
ribbon on PowerPC Mac
2016-11-10 18:35:47 +01:00
twinaphex
3f29eed928
According to enygmata's findings we can comment this out
2016-11-10 02:09:25 +01:00
twinaphex
12ab2d5e7d
(Android) Buildfix
2016-10-24 05:53:16 +02:00
twinaphex
b95ec0d28e
Make sure this string is null-terminated
2016-10-21 20:14:51 +02:00
twinaphex
c3ab8800f4
Prevent implicit memsets
2016-10-21 05:57:40 +02:00
Logan McNaughton
1717e8c938
Fix for zarch menu
2016-10-20 20:29:46 -06:00
Logan McNaughton
d360bf17d5
Yet another fix for glUniformMatrix4fv
...
This should fix fullscreen toggling/context resets.
2016-09-28 08:18:32 -06:00
Logan McNaughton
01a03abdc5
Fix glUniformMatrix4fv call
2016-09-27 16:03:54 -06:00
Logan McNaughton
0d3e9875b1
Only call glUniformMatrix4fv if needed
2016-09-27 08:56:36 -06:00
Twinaphex
7672288fcd
Revert "Only call glUniformMatrix4fv if needed"
2016-09-27 02:59:58 +02:00
Logan McNaughton
fa48e95946
Only call glUniformMatrix4fv if needed
2016-09-26 14:24:27 -06:00
twinaphex
b3ec735e75
Silence some more scan-build warnings
2016-09-25 15:25:20 +02:00
twinaphex
764a4319a0
(shader_glsl.c) Continue with iteration if pass is NULL
2016-09-24 17:04:49 +02:00
twinaphex
b5416e4041
Change false to 0
2016-09-24 17:04:21 +02:00
twinaphex
5b5ad03ec3
Attempt to fix Coverity warnings
2016-09-24 17:04:01 +02:00
Higor Eurípedes
c08650f1f9
Remove trailing whitespace
2016-09-17 21:20:27 -03:00
Higor Eurípedes
d4305d65d9
(gl) Fix gl_check_error()
...
gl_check_error() was leaking memory and the error message was never
returned to the calling context.
2016-09-17 21:19:57 -03:00
twinaphex
6002fd9f2a
(shader_vulkan.cpp) Nits
2016-09-16 17:50:57 +02:00
twinaphex
99aae8537b
Use string_is_equal/stdstring.h
2016-09-16 17:33:18 +02:00