286 Commits

Author SHA1 Message Date
twinaphex
fe1d3306af Cleanups 2018-05-17 18:20:36 +02:00
twinaphex
a9cede28b4 remove some Cg references from log messages 2018-05-17 18:03:18 +02:00
twinaphex
08425d978c Create d3d9_renderchain_destroy_passes_and_luts 2018-05-17 17:59:42 +02:00
twinaphex
c022190895 Cleanups 2018-05-17 17:52:44 +02:00
twinaphex
041d51b8d1 Cleanups 2018-05-17 17:50:33 +02:00
twinaphex
f8b7104ef2 Move more common code to d3d9_renderchain.h 2018-05-17 17:38:42 +02:00
twinaphex
a024da61f4 More code de-duplication 2018-05-17 17:27:56 +02:00
twinaphex
e01a028e24 Move add_lut_internal to d3d9_renderchain.h 2018-05-17 17:25:46 +02:00
twinaphex
c46d84b799 Create d3d9_renderchain_add_lut 2018-05-17 17:23:53 +02:00
twinaphex
6d2b5c8052 Move read_viewport function back to d3d9.c 2018-05-17 17:17:08 +02:00
twinaphex
ad3cedfff1 Create d3d9_init_renderchain 2018-05-17 17:15:04 +02:00
twinaphex
ea5e4e9ae4 Create struct D3D9Vertex 2018-05-17 17:10:44 +02:00
twinaphex
30b6366158 (d3d9_cg_renderchain.c) Reuse same struct 2018-05-17 17:09:23 +02:00
twinaphex
45f409b022 Start using shader_pass struct 2018-05-17 16:52:12 +02:00
twinaphex
d369cde6c6 (Cg renderchain) Cleanups 2018-05-17 16:50:02 +02:00
twinaphex
bc59b0345d Start unifying the structs across the two renderchains 2018-05-17 16:42:27 +02:00
twinaphex
517e42c9c7 Pass d3d pointer to set_mvp 2018-05-17 05:46:49 +02:00
twinaphex
8161add9e4 (D3D renderchains) Updates 2018-05-17 05:36:56 +02:00
twinaphex
7afad7a84b Add start/end render 2018-05-17 04:19:35 +02:00
twinaphex
fef586b887 Comment out align texels for now 2018-05-17 02:21:40 +02:00
twinaphex
8686c5e037 (HLSL) Use HLSLVertex everywhere in the file 2018-05-17 02:18:57 +02:00
twinaphex
91fc81e76a (D3D9 HLSL) Prevents crash with game frame 2018-05-17 02:17:47 +02:00
twinaphex
62a2af1848 (HLSL) Update set_vertices 2018-05-17 02:16:19 +02:00
twinaphex
a999bff175 Cleanups 2018-05-17 02:07:15 +02:00
twinaphex
47551cec84 (HLSL) set_vertices - more work 2018-05-17 02:01:32 +02:00
twinaphex
47f3855e1b Cleanups 2018-05-16 16:06:00 +02:00
twinaphex
4b5ea2877e Cleanups 2018-05-16 16:03:22 +02:00
twinaphex
efbfe85da4 Cleanups 2018-05-16 15:58:46 +02:00
twinaphex
3aba080434 Integrate HLSL code into d3d9_hlsl_renderchain.c 2018-05-16 15:52:11 +02:00
twinaphex
2d540264e8 Start hooking up set_shader_mvp function 2018-05-15 06:02:10 +02:00
twinaphex
6afd100d2f (D3D9 HLSL) Add calc_and_set_shader_mvp 2018-05-15 05:53:15 +02:00
twinaphex
52fcdd183a (HLSL) Add more functions 2018-05-14 23:14:26 +02:00
twinaphex
5cba3f0b25 (D3D) Updates 2018-05-14 22:24:02 +02:00
twinaphex
9e63b108ae Cleanups 2018-05-14 22:20:26 +02:00
twinaphex
8361922034 Cleanup 2018-05-14 22:07:07 +02:00
twinaphex
c0cd08fa11 Cleanups 2018-05-14 22:01:21 +02:00
twinaphex
4e572d6f87 Simplify calc_and_set_shader_mvp 2018-05-14 21:54:28 +02:00
twinaphex
e1368a9209 (Cg D3D9) Buildfix 2018-05-14 21:42:14 +02:00
twinaphex
39f45a17d2 create d3d9_convert_geometry 2018-05-14 21:32:14 +02:00
twinaphex
c941b4e922 Update D3D9 HLSL code 2018-05-14 21:26:52 +02:00
twinaphex
f37f8a1076 (HLSL renderchain) Refactor code 2018-05-14 21:10:14 +02:00
twinaphex
dc61c08006 Cleanups 2018-05-14 20:50:02 +02:00
twinaphex
15f2cde260 (HLSL) Start adding renderchain code 2018-05-14 20:42:28 +02:00
twinaphex
111aeb46b3 Make blit_texture a generic function used by both Cg and HLSL
renderchains
2018-05-14 19:11:45 +02:00
twinaphex
c1d949b017 Rename pass_vector_list to cg_pass_vector_list 2018-05-14 18:48:47 +02:00
twinaphex
8a607e72af (D3D9 Cg) Cleanups 2018-05-14 18:46:06 +02:00
twinaphex
e646366fd4 Cleanups 2018-05-14 18:42:53 +02:00
twinaphex
e8ae1e324f Cleanups 2018-05-14 18:40:36 +02:00
twinaphex
7a9bfa52b0 Add comments 2018-05-14 17:51:50 +02:00
twinaphex
e9054159ec Remove set_font_rect callback 2018-05-14 16:57:34 +02:00