Commit graph

6304 commits

Author SHA1 Message Date
PatrickvL
ba980d249d
Merge pull request #1904 from RadWolfie/mute-config-reword
Invert GUI's audio mute config
2020-05-13 22:51:13 +02:00
RadWolfie
d756012ea3 invert GUI's mute config 2020-05-13 15:05:28 -05:00
RadWolfie
0f853f3665
Merge pull request #1892 from LukeUsher/multisampling-experiment
Implement support for Xbox MSAA, reducing 'jaggies'
2020-05-08 06:14:49 -05:00
patrickvl
6d9dfb2dde Change zero input into a comment instead of LOG_TEST_CASE everyone into madness 2020-05-08 12:13:55 +02:00
patrickvl
ba2d18d17f Prevent invalid g_Xbox_MultiSampleType values using a setter
This avoids zero-dectection later on
Some tooling functions to top it off.
2020-05-08 12:05:29 +02:00
Luke Usher
fec845f6f8 Cleaner fix to the above 2020-05-08 10:00:46 +01:00
Luke Usher
85c0f608e2 Another minor fix 2020-05-08 09:52:54 +01:00
Luke Usher
23104c8280 Fix an issue where rendering broke when MultiSampleType = 0 2020-05-08 09:40:20 +01:00
Luke Usher
e499d3ad07 fix an issue where offset was not used 2020-05-08 09:28:20 +01:00
Luke Usher
b0bcc2fd9b Add LOG_TEST_CASE as per request 2020-05-08 09:04:58 +01:00
Luke Usher
543756d712 Amendments 2020-05-08 08:49:13 +01:00
Luke Usher
97012d649f
Merge pull request #1891 from Serentty/patch-2
One more Wine-related edit
2020-05-07 22:56:27 +01:00
Luke Usher
86bb8cad97 Implement support for Xbox MSAA, reducing 'jaggies'
Also fixes offset models in GTA3 and potentially others
2020-05-07 22:51:30 +01:00
Serentty
82c61be866
One more Wine-related edit
Somehow I missed the very first line of the readme, which also makes it sound Windows-exclusive, in my last PR. Sorry for the spam.
2020-05-07 16:52:51 -04:00
PatrickvL
8667d22196
Merge pull request #1890 from Serentty/patch-1
Mention Wine support more prominently in the readme
2020-05-07 22:44:43 +02:00
PatrickvL
555f240319
Merge pull request #1888 from LukeUsher/cleanup-createdevice
Cleanup EmuCreateDeviceProxy & Clarify 'Automatic' option
2020-05-07 22:42:57 +02:00
Serentty
2ab2965f3a
Mention Wine support more prominently in the readme
Right now the first mention of Wine is down next to the download link, and no mention is made of it under the system requirements. Given that compatibility with Wine has been a goal for this project in the past (in terms of bugfixes that fixed issues that only emerged when using it), I thought it would be a good idea to show that this use case is indeed considered by the developers. As a Linux user myself, this kind of thing would be more likely to consider using Cxbx after glancing at the repository.
2020-05-07 16:40:21 -04:00
PatrickvL
f3d7ae61c2
Merge pull request #1889 from LukeUsher/fix-rendertarget-test-case
Fix an issue where with CreateDevice LOG_TEST_CASE
2020-05-07 22:32:16 +02:00
Luke Usher
e17d872356 Fix an issue where the 'Xbox CreateDevice did not call SetRenderTarget' test case would be incorrectly flagged if no depth stencil was provided 2020-05-07 20:51:45 +01:00
Luke Usher
db640d5b6f
Merge pull request #1881 from NZJenkins/improve_slots
Improve shader slot emulation
2020-05-07 14:03:35 +01:00
Luke Usher
a32b10aa79 oops: fix typo 2020-05-07 13:54:47 +01:00
Luke Usher
f98023bbb8 Cleanup EmuCreateDeviceProxy & Clarify 'Automatic' option 2020-05-07 13:45:39 +01:00
PatrickvL
5a1b8b55e5
Merge pull request #1887 from LukeUsher/fix-compilation-newer-vs
fix compilation on new installs of vs2019
2020-05-07 14:06:13 +02:00
Luke Usher
0aa92e826a fix compilation on new installs of vs2019 2020-05-07 12:40:01 +01:00
Anthony Miles
ada56843ad Check for shader handles without shader functions 2020-05-04 22:22:13 +12:00
Anthony Miles
7370a29367 Tidy shader creation and handle property assignment 2020-05-04 21:42:59 +12:00
Anthony Miles
176dc9a38c Ensure shader has been created before setting it in SetVertexShader 2020-05-04 20:49:03 +12:00
patrickvl
79102c6ef8 Don't free what hasn't been allocated.
Don't activate declaration when a shader is merely created
Use X_VSH_MAX_ATTRIBUTES instead of 16
Rename SetCxbxVertexShader into RegisterCxbxVertexShader
2020-05-04 10:18:00 +02:00
patrickvl
9ab91550ae Rename SetCxbxVertexShaderHandleDeclaration into SetCxbxVertexDeclaration and give it just the Declaration.
Also fixed a compiler warning
2020-05-04 10:05:41 +02:00
Anthony Miles
1087b3e645 - Reset shader when shader slots are overwritten
- Keep track of the shader slot address
2020-05-04 18:55:51 +12:00
patrickvl
e60d11959c Add a reminder to g_VertexShaderSource 2020-05-01 10:12:40 +02:00
patrickvl
7d53eaae73 Disabled patches on D3DDevice_GetVertexShaderDeclaration and D3DDevice_GetVertexShaderFunction (all they do is read data from their input arguments, which we don't alter anymore, so these two getters can just as well be left unpatched) 2020-04-30 15:44:24 +02:00
patrickvl
6a8534a22e Move D3DDevice_LoadVertexShaderProgram implementation to XbVertexShader.cpp 2020-04-30 15:34:22 +02:00
patrickvl
00e85b8af8 Move D3DDevice_CreateVertexShader implementation to XbVertexShader.cpp 2020-04-30 15:27:30 +02:00
patrickvl
932398547e Move SetCxbxVertexShader to XbVertexShader.cpp 2020-04-30 15:13:39 +02:00
patrickvl
ab6bb98758 Move D3DDevice_DeleteVertexShader implementation to XbVertexShader.cpp 2020-04-30 14:53:10 +02:00
patrickvl
311e1037a6 Move D3DDevice_SelectVertexShader implementation to XbVertexShader.cpp 2020-04-30 14:49:10 +02:00
patrickvl
ddc5d14c52 Move g_VertexShaderSource macro towards VertexShaderSource.cpp (in preparation for the next commit, that's going to use it) 2020-04-30 14:48:04 +02:00
patrickvl
e94be42c40 Fix compile warning on not-supported LOG_TEST_CASE macro argument
Fix compile warning on implicit type cast
2020-04-30 14:39:02 +02:00
patrickvl
7bab062ff5 Move D3DDevice_SetVertexShaderConstant implementation to XbVertexShader.cpp 2020-04-30 14:36:59 +02:00
patrickvl
5a222185a3 Move D3DDevice_SetVertexShader implementation to XbVertexShader.cpp 2020-04-30 14:28:32 +02:00
patrickvl
ea5f494a8e Move DEBUG_D3DRESULT macro towards XbD3D8Logging.h (in preparation for the next commit, that's going to use it) 2020-04-30 14:27:17 +02:00
patrickvl
cc7e1a4069 Fix compile warning on not-supported LOG_TEST_CASE macro arguments 2020-04-30 14:21:13 +02:00
patrickvl
3db98e4e90 Move implementation of D3DDevice_LoadVertexShader towards XbVertexShader.cpp 2020-04-30 13:58:27 +02:00
patrickvl
848f4eeee3 Hide vertex slots behind GetCxbxVertexShaderSlotPtr (which also logs out of range test cases) 2020-04-29 19:08:15 +02:00
patrickvl
c1b58dafb9 Remove everything related to no-longer-set HostFVF variable 2020-04-29 15:14:27 +02:00
Luke Usher
f296636643
Merge pull request #1879 from Margen67/actions
ci: Update release if condition
2020-04-27 08:07:04 +01:00
Margen67
47b53211f9 ci: Update release if condition 2020-04-27 00:04:50 -07:00
Anthony Miles
a2b5d2c466 Improve shader slot emulation 2020-04-27 11:18:16 +12:00
Anthony Miles
eaa095e8a2 - Rename VertexShaderInfo to VertexDeclaration
- Move declaration related fields to CxbxVertexShader.Declaration
2020-04-26 22:01:22 +12:00