172 Commits

Author SHA1 Message Date
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
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
8a90e2777c Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND 2016-04-16 01:50:20 +02:00
twinaphex
0f65518118 Add set_active to 'use' function callback for shader driver 2016-04-15 05:08:03 +02:00
twinaphex
6a39d504e0 Change signature of uniform_set_parameters 2016-04-14 06:24:36 +02:00
twinaphex
930b854272 Refactor compile_programs functions 2016-04-14 01:53:23 +02:00
twinaphex
5f98068e7d Add shader_program_data 2016-04-14 01:33:43 +02:00
twinaphex
90018dbbe0 (Cg) Cleanups 2016-04-14 01:18:27 +02:00
twinaphex
0093e0cbf9 (Cg) Fix state tracker params too 2016-04-14 01:15:16 +02:00
twinaphex
74be1f5906 (Cg) Should fix pragma parameters 2016-04-14 01:12:14 +02:00
twinaphex
511fbcda93 (Shaders) Refactor shader program compiling code 2016-04-13 20:14:25 +02:00
twinaphex
f28c0475b5 (Shaders) Refactors 2016-04-13 19:58:40 +02:00
twinaphex
29495d4973 (Shaders) Cleanups 2016-04-13 19:27:04 +02:00
twinaphex
ea824bdee1 Start implementing glsl_uniform_set_parameter 2016-04-13 04:44:08 +02:00
twinaphex
bf39033bc3 Add 'enabled' attribute to uniform_params 2016-04-13 04:21:17 +02:00
twinaphex
c5e4c90e88 (Cg) Flesh out uniform switch 2016-04-13 02:54:01 +02:00
twinaphex
f68d98a6a4 Move uniform info structs to video_shader_driver.h 2016-04-13 02:31:49 +02:00
twinaphex
928f4e9e65 (Cg) Cleanup 2016-04-13 01:46:29 +02:00
twinaphex
df90f233a4 (GL Cg) Refactor uniform param code 2016-04-13 01:42:40 +02:00
twinaphex
6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex
3f265360db Style nits 2016-02-14 17:40:20 +01:00
twinaphex
ab64daf5aa Cleanups 2016-02-05 13:51:30 +01:00
twinaphex
2542e4a04e Use CORE_CTL_* callbacks 2016-01-28 03:22:23 +01:00
radius
89d9336b08 fix some shaders in GL 2016-01-20 18:52:24 -05:00
twinaphex
157eb71606 Use string_is_equal more 2016-01-20 06:16:55 +01:00
twinaphex
54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex
24779fda97 Rename stock_program variables 2016-01-09 02:09:24 +01:00
twinaphex
699f2dba1e (D3D) N/A 2016-01-09 02:02:02 +01:00
twinaphex
2fc957d369 Cleanups 2016-01-08 21:01:41 +01:00
twinaphex
2fa87013f1 Cleanups 2016-01-08 21:01:41 +01:00
twinaphex
1014513e91 N/A 2016-01-08 20:46:33 +01:00
twinaphex
770fee3684 Revert "Cleanups"
This reverts commit 340751559ee170f123e91175f3d67d410155b491.
2016-01-08 18:38:00 +01:00
twinaphex
340751559e Cleanups 2016-01-08 18:34:15 +01:00
twinaphex
e334278696 Cleanups 2016-01-08 18:12:49 +01:00
twinaphex
7bd822e032 (shader_gl_cg.c) Reuse GFX_MAX_VARIABLES 2016-01-07 04:31:31 +01:00
twinaphex
e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex
b996645f46 (shader_gl_cg.c) No longer use driver ptr 2015-11-30 02:08:15 +01:00
twinaphex
239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
twinaphex
be57dcb659 Hopefully fixes mingw64-w32 build 2015-11-05 19:44:00 +01:00
twinaphex
2d62493157 Cleanups 2015-10-31 20:53:08 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
108bd27fab Buildfix 2015-10-07 00:20:15 +02:00
twinaphex
576626ead0 Refactor frame_is_reversed - shader drivers should no longer
be dependent upon global state
2015-09-16 11:14:43 +02:00