Commit Graph

5055 Commits

Author SHA1 Message Date
Twinaphex
5bba5813cf Cleanups - remove unused variables 2016-04-16 07:27:47 +02:00
twinaphex
87e8c28749 Favoritize GLSL as default shader type when available 2016-04-16 07:24:22 +02:00
twinaphex
92faefbccc (GL) Cleanups - gl_set_shader 2016-04-16 07:19:21 +02:00
twinaphex
dfe723c727 gl_shader_init - cleanup 2016-04-16 07:16:32 +02:00
twinaphex
4e041ff3d0 (GL) gl_shader_init - Cleanups 2016-04-16 05:36:09 +02:00
twinaphex
1dfb29ddaf Add video_shader_set_backend 2016-04-16 05:20:41 +02:00
twinaphex
7b88378952 Add params to video_shader_ctx_init 2016-04-16 05:14:39 +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
twinaphex
0f65518118 Add set_active to 'use' function callback for shader driver 2016-04-15 05:08:03 +02:00
twinaphex
934681614f Cleanup 2016-04-15 05:01:32 +02:00
twinaphex
6a39d504e0 Change signature of uniform_set_parameters 2016-04-14 06:24:36 +02:00
twinaphex
7cd10fd707 Start creating stub hlsl_uniform_set_parameter 2016-04-14 03:52:29 +02:00
twinaphex
f418c7fde1 Cleanups 2016-04-14 03:41:53 +02:00
twinaphex
b9bb75c193 (HLSL) Refactor hlsl_compile_program 2016-04-14 03:38:45 +02:00
twinaphex
e61e617e80 (HLSL) Cleanups 2016-04-14 03:20:19 +02:00
twinaphex
a2acb0e6f0 Cleanups 2016-04-14 03:16:24 +02:00
twinaphex
c6292a38f5 Cleanups 2016-04-14 03:11:13 +02:00
twinaphex
8701af084a (HLSL) Cleanups 2016-04-14 03:09:15 +02:00
twinaphex
5cc1b85f70 (HLSL) Cleanups 2016-04-14 03:06:59 +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
1e9aed1683 Create struct shader_program_info 2016-04-13 20:06:43 +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
7321a9431b Cleanup 2016-04-13 18:24:31 +02:00
twinaphex
b63a3f8fcc (GLSL) CLeanups 2016-04-13 06:52:36 +02:00
twinaphex
f2e3789c8e (GLSL) Update 2016-04-13 06:40:59 +02:00
twinaphex
45d4718406 (GLSL) Refactor/cleanup 2016-04-13 06:40:40 +02:00
twinaphex
f7c0225e1a (GLSL) More cleanups 2016-04-13 06:30:00 +02:00
twinaphex
015c166b1d (GLSL) Cleanups 2016-04-13 06:25:49 +02:00
twinaphex
9218d57b9d (GLSL) Cleanups 2016-04-13 06:18:53 +02:00
twinaphex
53dad5bc73 (GLSL) Cleanups 2016-04-13 06:04:29 +02:00
twinaphex
edcf3fd1ee Cleanups 2016-04-13 05:11:22 +02:00
twinaphex
49e43dd085 (GLSL) Cleanup 2016-04-13 05:06:24 +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
c3f77efb2c Prepare new GLSL uniform code 2016-04-13 04:16:49 +02:00
twinaphex
c5e4c90e88 (Cg) Flesh out uniform switch 2016-04-13 02:54:01 +02:00
twinaphex
960783987d (GLSL) Rename gl_uniforms and glsl_vbo 2016-04-13 02:36:00 +02:00
twinaphex
f68d98a6a4 Move uniform info structs to video_shader_driver.h 2016-04-13 02:31:49 +02:00