Commit Graph

204 Commits

Author SHA1 Message Date
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
twinaphex
e9d16655f0 Create d3d_shaders 2016-04-17 00:16:32 +02:00
twinaphex
02e0be55a8 Move GL stock shader to gfx/drivers/gl_shaders 2016-04-17 00:11:52 +02:00
twinaphex
f0f60901ff Move all shader files to header files (gfx/drivers/gl_shaders) 2016-04-17 00:08:45 +02:00
twinaphex
8b6abde2f9 Start moving GL shaders to gfx/drivers/gl_shaders 2016-04-16 23:57:37 +02:00
twinaphex
5d6b4d0a56 (GLSL) Refactor more code 2016-04-16 20:41:52 +02:00
twinaphex
3b5c4d963a (shader_glsl.c) Lessen calls to glGetUniformLocation 2016-04-16 20:39:57 +02:00
twinaphex
a99dcaa929 (Cg) Get rid of pragma_cg_params 2016-04-16 20:35:08 +02:00
twinaphex
6d7dab2e66 (Cg) Fix Cg named parameter lookup 2016-04-16 20:32:45 +02:00
twinaphex
0b4ae30f6b Fix erroneous loop variable passing 2016-04-16 20:23:55 +02:00
twinaphex
7f9249830a set_uniform_parameter - implement parameter lookup properly 2016-04-16 20:06:18 +02:00
twinaphex
4e63113f72 Cleanups 2016-04-16 19:50:23 +02:00
twinaphex
d562bf38cb Cleanups 2016-04-16 19:44:44 +02:00
twinaphex
0b7ee2fcf7 Change callback prototype 2016-04-16 19:41:48 +02:00
twinaphex
1230edf1ee Add callback for setting single uniform parameter 2016-04-16 19:38:35 +02:00
twinaphex
ae218cf1a5 Expand uniform_set_parameter functions 2016-04-16 19:29:45 +02:00
twinaphex
ad627701da (XMB) Cleanups 2016-04-16 17:57:51 +02:00
twinaphex
f45d2db0b1 Change function signature of uniform_set_parameter 2016-04-16 07:39:41 +02:00
Twinaphex
ae561de0c8 (Griffin) Buildfixes 2016-04-16 07:32:39 +02:00
Twinaphex
5bba5813cf Cleanups - remove unused variables 2016-04-16 07:27:47 +02:00
twinaphex
1f7e6690e3 compile_program - if 'program' is NULL, then try to set program
to built-in shader program slot
2016-04-16 04:58:03 +02:00
twinaphex
86cb092b02 Add SHADER_CTL_COMPILE_PROGRAM 2016-04-16 04:56:15 +02:00
twinaphex
79ef0268e5 (Cg) Cleanups 2016-04-16 04:34:32 +02:00
twinaphex
1439b38b20 (Cg shader) Cleanups 2016-04-16 04:31:24 +02:00
twinaphex
2479699131 Cleanups 2016-04-16 01:51:46 +02:00
twinaphex
8a90e2777c Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND 2016-04-16 01:50:20 +02:00
twinaphex
9d85afd358 Refactor SHADER_CTL_USE 2016-04-15 07:37:06 +02:00