Commit Graph

51 Commits

Author SHA1 Message Date
Themaister
b0e014adc6 Expose currently selected shader via poke interface. 2014-05-26 18:47:49 +02:00
Themaister
7559ca12ef Refactor sRGB FBO handling a bit. 2014-05-11 19:35:54 +02:00
Themaister
bc8bb13050 Add mipmapping and sRGB FBO support. 2014-05-11 13:39:04 +02:00
twinaphex
f512ba76d1 (XDK) Rename xdk_d3d_video_t to d3d_video_t 2014-03-07 20:17:25 +01:00
twinaphex
82c7e8f422 (XDK D3D) Build fix 2014-03-07 05:56:23 +01:00
twinaphex
39c1ec4672 Pass data param to more shader functions 2014-03-07 05:51:56 +01:00
twinaphex
ea88399281 (XDK D3D) Refactor initing code completely - make it more inline
with PC D3D driver
2014-03-07 05:31:24 +01:00
twinaphex
1e37515e2f (XDK D3D) Rename d3d_render_device member to dev 2014-03-05 06:05:48 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
115f706f24 (D3D) Split up version-agnostic defines into separate header file - will be
fleshed out later for D3D8, D3D9, etc.
2014-01-01 00:58:21 +01:00
twinaphex
8837139271 (360) Build fixes 2013-09-15 18:49:18 +02:00
twinaphex
98d35ec6df (XDK 360) Add more optimal calls for hlsl_use 2013-04-16 21:33:40 +02:00
twinaphex
a5bbc7da5f (HLSL) Fix build - work with new shader backend 2013-04-12 21:56:43 +02:00
twinaphex
a6db35875d (Cg/HLSL) Since everything goes through the shader backend interface now,
we can drop public scope on all the functions and make them static
instead
2013-04-12 21:25:16 +02:00
twinaphex
e2039f8bff (360/HLSL) refactor shader_hlsl.c 2013-04-12 20:06:08 +02:00
twinaphex
52a9a3d10a (360) No longer need to deploy the shaders dir 2013-04-12 18:20:08 +02:00
twinaphex
5a9194a95c (360) Cleanup shader_hlsl.c 2013-04-12 15:14:34 +02:00
twinaphex
a2d9129782 Kill off set_fbo_state and get_fbo_state function pointers 2013-04-06 06:21:11 +02:00
twinaphex
1c87c26e72 Revert "(HLSL Xbox 360) Take out second_pass_shader/fbo"
This reverts commit 5172168143.
2013-04-06 03:55:07 +02:00
twinaphex
5172168143 (HLSL Xbox 360) Take out second_pass_shader/fbo 2013-04-05 23:51:33 +02:00
twinaphex
2a05f3568a (360) Will no longer crash if it tries to load a shader at
startup that it can't compile - default to stock as fallback
2013-01-22 16:00:34 +01:00
twinaphex
304f9d27a4 (360) Add more HLSL error logging 2013-01-22 14:00:34 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
c7f8535ecf (360) Shows amount of shaders that were loaded at init 2012-10-01 02:45:29 +02:00
TwinAphex51224
70dbebcb5e (360) Clean up font code + remove some Win32-isms 2012-05-28 14:05:28 +02:00
TwinAphex51224
11a03290ce (360) Got rid of crashes while repeatedly loading HLSL shaders -
apparently HLSL needs no memory management? (see comment for
source)
2012-05-24 09:39:03 +02:00
TwinAphex51224
cef6dcec66 (360) Small fix - (preliminary) FBO mode seems to work 2012-05-23 23:36:42 +02:00
Themaister
45566c3663 Set identity matrices by default in HLSL. 2012-05-23 23:27:09 +02:00
TwinAphex51224
9cd3db85aa (360) Very rough shader selection in Settings menu - second pass doesn't work yet - blank screen - some memory leaks when loading a lot of shaders one after another 2012-05-21 18:02:59 +02:00
TwinAphex51224
8e4d2f6feb (360) FBO/render target changes 2012-05-07 05:35:10 +02:00
Themaister
549a6c1349 Condom code. Playing it safe. 2012-05-06 23:40:29 +02:00
TwinAphex51224
3af750de3a (360) HLSL shader code expanded 2012-05-06 21:57:01 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
TwinAphex51224
8e950ba5be (360) Convert texture first to some color format suitable for
GPU/sampling - this fixes most of the problems with the shaders
such as Lanzcos, Bead and Blinky.
2012-04-18 05:01:17 +02:00
TwinAphex51224
1f10d2d18a (360) Changes to shader_hlsl.c 2012-04-18 02:57:46 +02:00
TwinAphex51224
9bd2a4256b (360) Move to ps_3_0/vs_3_0 2012-04-17 21:27:47 +02:00
TwinAphex51224
ce7275393e (360) Attempt to make clear in xdk360_video.cpp what is 360-specific
and what is not
2012-04-17 05:23:54 +02:00
TwinAphex51224
6c5285c792 (360) Rewrite of xdk360_video.cpp and shader_hlsl.c - use
portable class-based function invocations
2012-04-17 05:12:47 +02:00
Themaister
dcbd252c38 Style nits. 2012-04-16 18:11:20 +02:00
TwinAphex51224
a8af68217f (360) Frame count in shaders works now 2012-04-16 04:22:16 +02:00
TwinAphex51224
6a942e046a (360) Flesh out hlsl_set_params 2012-04-15 20:02:51 +02:00
TwinAphex51224
1cdaa652a9 (360) Attempt to fix memory leaks - still broken 2012-04-15 18:13:24 +02:00
TwinAphex51224
17aa782223 (360) MVP now gets fetched from constant table too - stock.cg
now requires zero changes from Cg file
2012-04-15 17:51:01 +02:00
TwinAphex51224
f9ef9cd1f4 (HLSL) Implement set_program_attributes 2012-04-15 16:34:09 +02:00
TwinAphex51224
dee9b69661 (HLSL) Implement constant table for HLSL 2012-04-14 22:44:46 +02:00
TwinAphex51224
2a8ea913c0 (HLSL) small cleanups 2012-04-14 22:19:39 +02:00
TwinAphex51224
f4f2ff386a (HLSL) D3D device ptr for shader_hlsl.c 2012-04-14 22:05:56 +02:00
TwinAphex51224
a50a9a6ba1 (360) 360 port works with skeleton HLSL driver now 2012-04-14 21:45:43 +02:00