Commit Graph

5759 Commits

Author SHA1 Message Date
Luke Usher 893a25baf2 Pass default values at SetVertexShader time 2019-07-24 15:26:50 +01:00
Luke Usher 5bfb98c312 Read registers not present in vertex buffers from SetVertexData4f registers 2019-07-24 14:39:58 +01:00
Luke Usher 8d8e256697 Update SetVertexData4f to write it's input to shader constants 2019-07-24 12:00:32 +01:00
Luke Usher b5cec3e8fc Cleanup Register Usage detection + Remove incorrect Xbox->PC mappings (From D3D8to9) 2019-07-24 11:52:19 +01:00
Luke Usher 33b63c2e9e
Removed Gitter Link from Readme
The community has migrated over to Discord and Gitter has not been used for a very long time now.
2019-07-23 08:44:10 +01:00
PatrickvL 1b2fad6816
Merge pull request #1680 from LukeUsher/determine-default-backbuffer
Fix when CreateDevice doesn't call SetRenderTarget
2019-07-21 15:38:13 +02:00
Luke Usher 931970068c Fix when CreateDevice doesn't call SetRenderTarget
This allows for the Xbox backbuffer location to be properly determined, even in titles that do not call
SetRenderTarget at all!

Tt also fixes the situation where games didn't call SetRenderTarget internally within CreateDevice.

This works because GetRenderTarget always returns the assigned render target, which immediately after
CreateDevice, is *always* the backbuffer.

This allows us to reliably determine the default backbuffer and depth stencil, even without a CreateDevice call.

This fixed a regresion in Shin Megami Tensei: Nine , and has potential to fix some more blackscreen issues.
2019-07-21 12:37:06 +01:00
RadWolfie d4f8ec93bf
Merge pull request #1679 from ergo720/error_log_lv
Add error log level to logging system
2019-07-20 22:20:45 -05:00
ergo720 fd4bcb39ff Added error log level 2019-07-20 21:53:15 +02:00
RadWolfie b20185b797
Merge pull request #1678 from LukeUsher/loadvertexshaderprogram
Allow LoadVertexShaderProgram to work in games without their own CreateVertexShaderFunction
2019-07-20 14:49:37 -05:00
Luke Usher 4a3f9a19a4 Allow LoadVertexShaderProgram to work in games without their own CreateVertexShader function 2019-07-20 11:56:13 +01:00
PatrickvL a1731b6bfc
Merge pull request #1676 from RadWolfie/fix-uem-str
Fix Universal Error Message Output
2019-07-20 11:26:12 +02:00
RadWolfie e646eada8d fix universal error message output 2019-07-20 01:47:46 -05:00
ergo720 7f70c88917 Fix a bug in KiTimerMtx.Acquired (#1675) 2019-07-20 00:36:53 +02:00
RadWolfie 0c334de398
Merge pull request #1674 from ergo720/d3d_resource_crash_fix
Fix a crash in JSRF
2019-07-19 15:08:09 -05:00
ergo720 19984db979 Fix a crash in JSRF 2019-07-19 21:17:42 +02:00
RadWolfie 99fc299611
Merge pull request #1672 from LukeUsher/fix-shader-constants
Fix shader constants: It's per-function not per-XDK
2019-07-19 13:56:51 -05:00
PatrickvL 69ebe1b4ba
Merge pull request #1669 from LukeUsher/work-around-for-missing-destroyresource-patch
Workaround & LOG_TEST_CASE for missing DestroyResource patch
2019-07-19 10:08:17 +02:00
PatrickvL 8cba41744f
Merge pull request #1670 from LukeUsher/ltcg-fixes
Improve some LTCG specific patches
2019-07-19 10:07:38 +02:00
PatrickvL eaa87ae6cb
Merge pull request #1673 from NZJenkins/perf_tweaks
Add sleeps/waits in various places
2019-07-19 10:03:37 +02:00
Anthony Miles 0ea66ea0d8 Avoid tight loop in LockFS. Fixes Prince of Persia 2 slowdown during loading screen 2019-07-19 18:42:59 +12:00
Anthony Miles 63996f87eb Avoid tight loop in interrupt thread. Alleviates some stutter in Panzer Dragoon Orta 2019-07-19 18:41:50 +12:00
Anthony Miles 9c4277ae9b Avoid tight loop in DirectSound thread worker 2019-07-19 18:41:14 +12:00
Luke Usher fdaa102dc8 Fix shader constants: It's per-function not per-XDK 2019-07-18 22:20:55 +01:00
RadWolfie 1edbc208e5
Merge pull request #1671 from RadWolfie/hotfix-GenerateMixBinDefault-func
HOTFIX: GenerateMixBinDefault check for lpwfxFormat is null pointer
2019-07-17 17:02:22 -05:00
RadWolfie 64f1948dd9 hotfix GenerateMixBinDefault check for lpwfxFormat is nullptr 2019-07-17 16:21:29 -05:00
Luke Usher 87aa125af4 Fix another LTCG variant of CreateDevice 2019-07-17 22:20:59 +01:00
Luke Usher 511fd017f5 Add two more LTCG specific patches 2019-07-17 19:44:16 +01:00
Luke Usher abe82f0336 Update to be informational only 2019-07-17 14:58:51 +01:00
Luke Usher 4190b81431 Add an early-out for non-zero internal reference count 2019-07-17 10:12:01 +01:00
Luke Usher bd3569ff95 Workaround & LOG_TEST_CASE for missing DestroyResource patch 2019-07-16 21:17:35 +01:00
PatrickvL f9a3fde976
Merge pull request #1666 from LukeUsher/fix-reset-bug
Fix a bug with D3DDevice_Reset that could trigger a black screen
2019-07-16 22:01:17 +02:00
Luke Usher 53ea7f102d Fix a bug with D3DDevice_Reset that could trigger a black screen on resolution change 2019-07-16 20:50:13 +01:00
RadWolfie e2cceb695a
Merge pull request #1667 from LukeUsher/remove-host-backbuffer-hack
Remove 'Render to Host Backbuffer' hack
2019-07-16 13:05:10 -05:00
Luke Usher 059c587523 Remove 'Render to Host Backbuffer' hack 2019-07-16 16:53:04 +01:00
PatrickvL 337a9f6914
Merge pull request #1655 from LukeUsher/seperate-render-and-display-resolution
Higher Resolution Rendering Support
2019-07-15 07:05:55 +02:00
RadWolfie 82b2c3559d
Merge pull request #1662 from NZJenkins/input_hack
Device connection delay hack
2019-07-14 22:39:26 -05:00
PatrickvL 3a0c0bb6a0 Pixel shader upgrading (#1631)
* Remove support for shader models older than 2.0 while keep existing functionality intact.
* Fixed combiner output flags parsing (it didn't use a bitmask before)
* Separate decoding of register combiner registers from generation of pixel shaders.
* Added LOG_TEST_CASE's for the three cases that weren't hit before, so that we can gather titles that hit those cases.
* Remove remnants of code that supported pixel shader versions below 2.0.
Also addressed a few TODO's, by applying the IsArithetic() check instead of checking for opcodes > PO_TEX
2019-07-14 21:16:51 -05:00
RadWolfie 32568f68fd fix latest development build link 2019-07-13 19:13:03 -05:00
RadWolfie 64f7822c1c
Merge pull request #1657 from gellis713/fixing-issue-1656
Show Disabled Selection in Network Configuration
2019-07-13 18:03:06 -05:00
gellis713 56e08b03cb Ensure "Disabled" is an option before and after first apply of adapter to prevent crashes. 2019-07-13 17:27:43 -05:00
Luke Usher 2356910042
Merge pull request #1664 from RadWolfie/appveyor-release-artifact-only
Keep appveyor release artifact only
2019-07-13 23:24:59 +01:00
Luke Usher aeba69c71d Fix FMV scaling in Star Wars: KOTOR 2019-07-13 22:37:10 +01:00
Anthony Miles d0d8b864bd fixup g_ prefix 2019-07-13 19:21:50 +12:00
Anthony Miles 15bccb3e06 Defer gamepad connection hack
- Don't immediately connect gamepads on the first connection query
- Remove per-title input hacks
- Move device connection logic to function
2019-07-13 19:19:57 +12:00
RadWolfie 1adb7ef988 keep appveyor release artifact only 2019-07-12 16:49:59 -05:00
Luke Usher 26f7bb130a Small, but significant performance tweaks 2019-07-12 20:48:38 +01:00
Luke Usher 16cb3faf23 Revert "Tweaking cache values"
This reverts commit 1a0d55b473.
2019-07-11 20:37:14 +01:00
Luke Usher 1a0d55b473 Tweaking cache values 2019-07-11 18:16:03 +01:00
Luke Usher 3ccc02b7f4 Fix crash in DOA2 and GTA 2019-07-10 18:55:08 +01:00