106 Commits

Author SHA1 Message Date
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex
1f571be61d Fix warning 2018-06-20 10:24:10 +02:00
twinaphex
1d67334323 Expand d3d9_cg_bind_program 2018-05-17 23:20:13 +02:00
twinaphex
9adedbc01a Create d3d9_cg_bind_program 2018-05-17 22:57:16 +02:00
twinaphex
671be3c372 Cleanup d3d9_cg_load_program 2018-05-17 22:40:46 +02:00
twinaphex
c412e2ec97 (Cg renderchain) Refactor vStock/fStock 2018-05-17 22:38:17 +02:00
twinaphex
34c5c84706 Cleanups 2018-05-17 21:43:27 +02:00
twinaphex
d946cf1ee5 Create common set vertices function 2018-05-17 21:07:44 +02:00
twinaphex
2011453340 Cleanups 2018-05-17 20:50:32 +02:00
twinaphex
9d6777a87f Rewrite set_shader_params to be nearly identical to Cg renderchain 2018-05-17 20:45:26 +02:00
twinaphex
6c392d3863 Cleanups 2018-05-17 20:31:16 +02:00
twinaphex
9adc4d4a2f Another cleanup 2018-05-17 19:48:16 +02:00
twinaphex
0de7e7bf46 Cleanups 2018-05-17 19:47:22 +02:00
twinaphex
da53ddc99b Create d3d9_hlsl_get_constant_by_name 2018-05-17 19:13:39 +02:00
twinaphex
18b176c1ea Rename functions 2018-05-17 19:03:13 +02:00
twinaphex
3b7414bc4b (Cg) Some refactors 2018-05-17 18:56:12 +02:00
twinaphex
fe1d3306af Cleanups 2018-05-17 18:20:36 +02:00
twinaphex
08425d978c Create d3d9_renderchain_destroy_passes_and_luts 2018-05-17 17:59:42 +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
8161add9e4 (D3D renderchains) Updates 2018-05-17 05:36:56 +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
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
e9054159ec Remove set_font_rect callback 2018-05-14 16:57:34 +02:00
twinaphex
bf3122329b (D3D9) Buildfixes 2018-05-14 06:37:01 +02:00