8015 Commits

Author SHA1 Message Date
twinaphex
3b7a1a8a73 Make hlsl_load_program more like Cg version 2018-05-17 22:30:57 +02:00
twinaphex
0df8ca030f Cleanups 2018-05-17 22:22:10 +02:00
twinaphex
c67dc034e9 Add vtable/ftable to shader_pass 2018-05-17 22:14:23 +02:00
twinaphex
34c5c84706 Cleanups 2018-05-17 21:43:27 +02:00
twinaphex
be9f643edb Get rid of hlsl->dev 2018-05-17 21:26:11 +02:00
twinaphex
cabe5c6686 Uncomment d3d9_hlsl_renderchain_set_params for state tracker 2018-05-17 21:11:43 +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
70074010e0 Cleanups 2018-05-17 20:15:47 +02:00
twinaphex
aec7ce3f4e Update 2018-05-17 20:01:20 +02:00
twinaphex
ebc2cc6d5b (HLSL) Cleanup log messages 2018-05-17 19:57:07 +02:00
twinaphex
cc1f503f57 (HLSL) Further cleanups 2018-05-17 19:55:08 +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
bef7b481c6 Refactor more D3D9 HLSL renderchain code 2018-05-17 19:33:47 +02:00
twinaphex
5bb1b2ef7c Start refactoring HLSL code - constant table parameter setters 2018-05-17 19:26:52 +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
d28aad6372 Rename hlsl_compile_program 2018-05-17 18:46:57 +02:00
Twinaphex
380308d7d0
Merge pull request #6792 from Tatsuya79/patch-1
Disable gl hard sync in menu
2018-05-17 18:40:36 +02:00
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
Tatsuya79
e96463645d
Disable gl hard sync in menu 2018-05-17 17:24:10 +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