Commit Graph

331 Commits

Author SHA1 Message Date
twinaphex
b9ff2e4de1 Fix some static code analysis warnings from MSVC 2017 2019-01-10 21:47:15 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
454761a6ed Get rid of video_context_driver_bind_hw_render 2018-10-14 19:49:24 +02:00
twinaphex
22d6930488 Some MSVC 2010 360 buildfixes 2018-07-06 04:45:52 +02:00
twinaphex
1f571be61d Fix warning 2018-06-20 10:24:10 +02:00
twinaphex
eac9ce1818 Refactor load_program 2018-05-18 08:49:52 +02:00
twinaphex
3c1c6758c7 Update 2018-05-18 01:38:45 +02:00
twinaphex
ce79ff79d2 Cleanups 2018-05-18 01:10:13 +02:00
twinaphex
db184a470b Cleanups 2018-05-18 00:51:45 +02:00
twinaphex
c9de823e38 (D3D9 HLSL) Start getting rid of old code 2018-05-18 00:46:39 +02:00
twinaphex
d457256bda (D3D9 HLSL) More work hooking up the stock shader(D3D9 HLSL) More work
hooking up the stock shader(D3D9 HLSL) More work hooking up the stock
shader(D3D9 HLSL) More work hooking up the stock shader(D3D9 HLSL) More
work hooking up the stock shader(D3D9 HLSL) More work hooking up the
stock shader(D3D9 HLSL) More work hooking up the stock shader(D3D9 HLSL)
More work hooking up the stock shader(D3D9 HLSL) More work hooking up
the stock shader
2018-05-18 00:36:51 +02:00
twinaphex
48b9506299 (HLSL) Implement renderchain_add_pass 2018-05-18 00:27:07 +02:00
twinaphex
076a8a6a97 (D3D9 HLSL) Updates 2018-05-18 00:24:19 +02:00
twinaphex
5a84170efe Simplify d3d9_hlsl_load_program 2018-05-18 00:19:02 +02:00
twinaphex
c4a38f24d1 Refactor D3D9 HLSL 2018-05-18 00:17:47 +02:00
twinaphex
991882cbd6 Create d3d9_hlsl_bind_program 2018-05-17 23:25:43 +02:00
twinaphex
8fadef7082 Update d3d9_set_vertex_shader 2018-05-17 23:23:17 +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
eb27d014e8 Cleanups 2018-05-17 22:50:37 +02:00
twinaphex
f7b1007995 Move mvp_val to hlsl_renderchain 2018-05-17 22:46:51 +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
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
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