Commit Graph

230 Commits

Author SHA1 Message Date
twinaphex
883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex
c1f9d7b498 (shader_glsl.c) Fix dereference after null check warnings 2016-06-05 19:02:13 +02:00
twinaphex
01390f8ceb Use retro_common_api.h 2016-06-03 08:06:49 +02:00
twinaphex
42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex
01e3362f21 Remove unused variable 2016-05-16 07:52:26 +02:00
twinaphex
8de39f261c (GLSL) Remove unused variables 2016-05-16 05:58:00 +02:00
twinaphex
b4abec5181 Cleanups 2016-05-15 19:59:03 +02:00
twinaphex
d63e7defb5 (GLSL) Remove more code 2016-05-15 19:58:02 +02:00
twinaphex
67d08f6790 Restore glsl_set_params 2016-05-15 19:56:53 +02:00
twinaphex
c15ec92c83 (Cg) set_params - don't use set_uniform_parameter function - fixes PS3 port 2016-05-15 19:03:39 +02:00
twinaphex
2f69c20e39 Revert "(Shaders) Get rid of third parameter"
This reverts commit 52d6a21e55.
2016-05-15 17:26:23 +02:00
twinaphex
52d6a21e55 (Shaders) Get rid of third parameter 2016-05-15 17:22:55 +02:00
twinaphex
f0b99edafc Prevent some warnings/errors from occurring with MESA_DEBUG 2016-05-12 04:29:36 +02:00
twinaphex
dde471e001 Rename gfx_ structs 2016-05-10 02:39:09 +02:00
twinaphex
0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
twinaphex
6ae20f2016 Create managers/ dir - move cheats.c and state_manager.c to it 2016-05-09 18:20:52 +02:00
twinaphex
372e7d94cd Rename rewind.c to state_manager 2016-05-09 07:14:10 +02:00
twinaphex
3dfd8a0584 Split up vertex/fragment shader conditionals for XMB ribbon 2016-05-09 04:31:21 +02:00
Hans-Kristian Arntzen
ade5131833 Vulkan: Move to SPIRV-Cross. 2016-05-08 12:43:58 +02:00
twinaphex
e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex
6544772fb8 De-ioctl ify core_ctl 2016-05-08 01:33:57 +02:00
twinaphex
ba415b6d3a Silence warnings 2016-04-27 23:07:36 +02:00
twinaphex
15a30dae70 CLeanups 2016-04-27 14:29:28 +02:00
twinaphex
7c4df601f8 (Cg) Call gl_cg_set_program_base_attrib for XMB pipeline shaders 2016-04-26 09:16:25 +02:00
Torsten Paul
fdd6d26d85 Add uniform lookup for menu shaders.
This fixes the mix-up of parameter assignments for the XMB ribbon shader
which was caused by all 4 uniform locations set to 0.
2016-04-26 00:08:24 +02:00
twinaphex
a83e6b3405 (Cg) Cleanups 2016-04-25 13:02:05 +02:00
twinaphex
0a3ca14fde (Cg) Rename cg_data to cg 2016-04-25 12:51:01 +02:00
twinaphex
43943fe794 (Cg) Cleanups 2016-04-25 12:33:38 +02:00
twinaphex
d4184df592 (Cg) Call gl_cg_reset_attribs before initializing Cg shader backend 2016-04-25 12:22:55 +02:00
twinaphex
01a9185a2d (Cg) Cleanups 2016-04-25 12:07:23 +02:00
twinaphex
9ff8a3c8e2 (Cg) Cleanups 2016-04-25 11:59:46 +02:00
twinaphex
242e579b89 (Cg/GLSL) Name some variables the same 2016-04-25 10:15:57 +02:00
twinaphex
8cb66dd021 Add way to switch back and forth between shader pipeline 2016-04-24 22:03:39 +02:00
twinaphex
b00202a83d (GLES2) Use XMB ribbon simple shader for GLES2 2016-04-24 20:29:42 +02:00
twinaphex
d7b3e9cc8f Add old shader versions of XMB ribbon 2016-04-24 20:25:56 +02:00
Twinaphex
493b6850a5 Use include dir d3d/cg files 2016-04-23 18:19:35 +02:00
twinaphex
ce077533c2 (GLSL) Increase attrib array size 2016-04-22 15:22:27 +02:00
twinaphex
99246ae3e8 (Cg) Cleanup 2016-04-22 14:37:11 +02:00
twinaphex
63f0e998db (Cg) Code deduplication cleanups 2016-04-22 14:05:45 +02:00
twinaphex
4250161327 (GLSL/Cg) Simplify some variables 2016-04-22 14:00:30 +02:00
twinaphex
f3f6e6ff70 (Cg) Make cg_attribs bigger - would lead to overflows when sending
XMB ribbon to it
2016-04-22 13:27:50 +02:00
twinaphex
ec4f961348 (XMB Cg) Ribbon works with Cg now too 2016-04-17 17:59:40 +02:00
Twinaphex
c8d97d05e7 (shader_glsl.c) Fix warnings 2016-04-17 07:45:37 +02:00
twinaphex
ef835f93d5 Change function signature for set_coords 2016-04-17 07:12:48 +02:00
twinaphex
58f145282e (XMB) Set uniform to vertex program and add 'add_prefix' to uniform_info struct 2016-04-17 06:11:48 +02:00
twinaphex
6579b5f3c8 Add XMB shader compilation to shader_gl_cg.c 2016-04-17 05:52:26 +02:00
twinaphex
46b2100132 gl_cg_set_mvp - cleanup 2016-04-17 04:55:58 +02:00
twinaphex
07d28091a2 (GLSL) CLeanups 2016-04-17 04:52:13 +02:00
twinaphex
19367da0ae (GLSL) Cleanups 2016-04-17 04:37:38 +02:00
twinaphex
e7ab158a3b (Cg) Refactor/cleanups 2016-04-17 03:56:20 +02:00