2612 Commits

Author SHA1 Message Date
twinaphex
47a1f8f851 (D3D8/D3D9) Do not run unnecessary d3d_matrix_identity call before
d3d_matrix_rotation_z - rotation_z already sets identity matrix for
the matrix
2022-04-25 19:21:52 +02:00
twinaphex
3d0f8c1ed5 (D3D9) Get rid of d3d9_set_stream_source inline function 2022-04-25 17:40:18 +02:00
twinaphex
609c56b7cd (D3D9) Cleanups 2022-04-25 17:06:11 +02:00
twinaphex
d6aa3fdce5 (D3D9) Cleanups - get rid of more inline functions 2022-04-24 15:07:56 +02:00
twinaphex
96d7c31983 (D3D11) Cleanups 2022-04-24 13:40:38 +02:00
twinaphex
fc2b3f1ed9 (D3D) Cleanups 2022-04-24 12:59:23 +02:00
twinaphex
736f6eb8b6 (D3D8) Rewrite D3D8 code somewhat - this driver will never
have renderchains, so simplify it
2022-04-24 12:23:01 +02:00
twinaphex
6a537a656d (D3D10/D3D11/D3D12) Get rid of save_hlsl codepath when loading
shaders (and they fail), or debug mode
2022-04-24 12:01:36 +02:00
twinaphex
3c6098dff7 (D3D11) Cleanups of unused inline functions 2022-04-24 11:59:20 +02:00
twinaphex
8973f2ae01 (D3D11) Cleanups - use less inlined functions 2022-04-23 16:25:59 +02:00
twinaphex
0888297f31 (D3D11) Cleanups - go through less inlined functions 2022-04-23 11:36:10 +02:00
twinaphex
1887aee7c4 (D3D11) Cleanup some inline functions 2022-04-23 09:07:00 +02:00
twinaphex
5d82b36f9c (D3D11) Use less inlined functions 2022-04-22 22:58:35 +02:00
twinaphex
7f8a0e352f (D3D11) Get rid of some inline functions 2022-04-22 21:12:05 +02:00
twinaphex
a25fabd6f7 (D3D9 HLSL) Set this parameter to 0 to indicate we are using
vertex declarations instead of FVFs
2022-04-22 16:41:08 +02:00
twinaphex
90f53bf6f4 (D3D9) Cleanups 2022-04-22 16:21:27 +02:00
twinaphex
845a469d4c (D3D8/9) Cleanups 2022-04-22 16:02:21 +02:00
twinaphex
c4b8b9cfe9 (D3D8) Buildfixes 2022-04-22 15:29:33 +02:00
twinaphex
45c901ca53 (D3D8) Cleanups - get rid of many inline functions 2022-04-22 15:05:28 +02:00
twinaphex
afb04b419b (D3D9) Cleanups 2022-04-22 14:37:39 +02:00
twinaphex
b231ae7c41 (D3D9) Start getting rid of inline D3D9 functions 2022-04-22 14:25:13 +02:00
twinaphex
cedf77d87f Move d3d9_renderchain_blit_to_texture to d3d9_common.c 2022-04-22 13:50:36 +02:00
twinaphex
bc018cff15 (D3D9 Cg) Cleanups 2022-04-22 13:36:42 +02:00
Autechre
3d1f01fecc
Cg rewrite (#13871)
* (D3D9 Cg) rewrite/cleanups

* Buildfixes
2022-04-22 05:39:14 +02:00
twinaphex
a0738111e9 (D3D9 Cg) Cleanups 2022-04-22 05:14:04 +02:00
driver1998
2f0bdac2f5
Fixes the d3d9cg driver (#13870) 2022-04-22 00:15:54 +01:00
twinaphex
6f0bef6b7b (D3D8) Cleanups 2022-04-21 17:06:14 +02:00
twinaphex
b43039f7b0 (D3D8) Buildfixes 2022-04-20 18:25:34 +02:00
twinaphex
ac45f16d79 Buildfix 2022-04-20 17:45:31 +02:00
twinaphex
56b08940c2 (D3D8) Replace inline function calls with direct function calls 2022-04-20 17:11:59 +02:00
twinaphex
53b039cf7d Try to use inline functions less - call D3D9 functions directly 2022-04-20 15:01:40 +02:00
twinaphex
a348571ba8 (D3D9 HLSL/Cg) Create specialized versions of set_vertices_on_change 2022-04-20 14:04:12 +02:00
twinaphex
d1cbba2847 (D3D9 HLSL) Don't go through inlined functions 2022-04-20 13:34:20 +02:00
twinaphex
825bc0739e (D3D9) Cleanups 2022-04-20 12:50:59 +02:00
twinaphex
e1f74d3959 Merge renderchain code 2022-04-20 12:32:44 +02:00
twinaphex
68032c7734 (D3D9) Split up D3D9 driver into two separate drivers - one for D3D9 HLSL
and another one for D3D9 Cg
2022-04-19 15:45:22 +02:00
twinaphex
6195711bb3 (D3D9) Move functions to d3d9.c 2022-04-19 14:49:08 +02:00
twinaphex
6a032fc1f8 (D3D9) Move global over to d3d9_common.c 2022-04-19 14:27:40 +02:00
twinaphex
4114545564 (D3D9) Remove d3d9_clear 2022-04-19 14:03:29 +02:00
twinaphex
7c37f9c053 Get rid of some inline functions 2022-04-19 13:49:32 +02:00
twinaphex
df3927dd33 Cleanups 2022-04-19 12:12:03 +02:00
twinaphex
a5802ce757 (D3D9) Cleanups 2022-04-19 11:03:24 +02:00
twinaphex
9a354982a9 Move common D3D9 common out to file d3d9_common.c 2022-04-19 10:32:15 +02:00
twinaphex
7bdcc8bfe1 (D3D9) Cleanups 2022-04-17 02:23:28 +02:00
twinaphex
14578c0b18 (gl3/glcore) Remove gl3_build_default_matrix 2022-04-02 23:48:34 +02:00
twinaphex
3873af37c6 (Vulkan) Turn this code into a switch instead of several conditionals 2022-04-02 19:10:56 +02:00
twinaphex
65b8ec4cef (Vulkan) Fix crashes 2022-04-02 19:02:54 +02:00
Autechre
4c3a4d66df
Cxx buildfixes (#13803)
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
twinaphex
a7569b5712 More CXX_BUILD buildfixes 2022-03-30 15:45:48 +02:00
twinaphex
c8d57fe667 (CXX_BUILD) Some CXX_BUILD fixes 2022-03-30 15:13:28 +02:00