PatrickvL
8546d7c10d
EMUPATCH(D3DDevice_RunVertexStateShader):
...
added LOG_TEST_CASE precondition checks, replacing an assert
simplified implementation (no need for an intermediate variable)
commented some notes and future suggestions
2022-06-30 11:33:29 +02:00
jackchentwkh
4c5995af0c
using memset for vertex_state_shader_v0[] init.
2022-06-26 11:00:04 +08:00
jackchentwkh
c981ff23b1
Correction of v0.xyzw assignment.
2022-06-26 11:00:04 +08:00
jackchentwkh
186b5fa8ee
adopt api changes of nv2a_vsh_emu_execute_track_context_writes().
...
using pg->vsh_constants_dirty[] again.
2022-06-26 11:00:04 +08:00
jackchentwkh
ce4f4a07f0
adopt api nv2a_vsh_emu_initialize_xss_execution_state change from 3 args to 2 args.
...
mark all vertex constants dirty after vertex state shader execution.
2022-06-26 11:00:04 +08:00
jackchentwkh
4d110bad6e
Implement RunVertexStateShader()
2022-06-26 11:00:04 +08:00
RadWolfie
6f79b035bd
cmake: include nv2a_vsh_cpu libraries
2022-06-26 11:00:03 +08:00
jackchentwkh
7bc95d7a67
Add nv2a_vsh_cpu submodule
2022-06-26 11:00:03 +08:00
NZJenkins
5a454aad5c
Merge pull request #2381 from NZJenkins/cubemap-mips
...
Fix mipmapped cubemaps
2022-06-25 17:49:31 +12:00
Anthony
6cbb385b89
Fix mipmapped cubemaps
...
which had broken faces (other than the first face)
because the slice pitch calculation did not account for mipmaps.
We are iterating the mipmaps already, so just calculate the slice pitch directly
rather than trying to generalize CxbxGetPixelContainerMeasures
2022-06-22 23:57:22 +12:00
RadWolfie
31a47cde37
Merge pull request #2377 from ergo720/suspend_disable
...
Fix shutdown instability
2022-06-20 16:10:37 -05:00
ergo720
aba8fc8341
Fix shutdown freeze
2022-06-20 22:24:11 +02:00
Anthony
46b1f24153
Fix vertex shader op independence
...
Ensure the MAC op does not interfere with the input of the ILU op.
- Use a temp register to hold the input of the ILU op when necessary
- Reorganize vertex shader decoding to better reflect the data.
Decode one vsh instruction to one intermediate instruction, rather than to multiple independent instructions.
Test case:
KOTOR II (menu)
GTA III (lighting)
2022-06-18 15:24:08 +12:00
PatrickvL
b43f6bbcdf
Merge pull request #2369 from RadWolfie/fix-vs-popup-newline-dialog
...
Fix Visual Studio's popup dialog about newline correction
2022-05-28 20:58:10 +02:00
RadWolfie
33aad02f93
fix Visual Studio's popup dialog about newline correction
2022-05-28 10:36:55 -05:00
Luke Usher
1710f01c35
Merge pull request #2364 from RadWolfie/update-subhook
...
Update subhook to restore support for chihiro research
2022-05-22 11:17:04 +01:00
RadWolfie
f8e4f59eae
update subhook to restore support for chihiro research
2022-05-21 13:53:46 -05:00
RadWolfie
4b5edbdc94
Merge pull request #2358 from RadWolfie/update-overlay
...
Add build, title name, and file name to overlay
2022-05-21 13:48:56 -05:00
PatrickvL
3bf2effa4d
Merge pull request #2359 from RadWolfie/fix-faux-fs-toggle
...
Fix faux fullscreen overlay input
2022-05-21 19:45:06 +02:00
RadWolfie
6ab30793ed
review remark
2022-05-21 12:43:24 -05:00
Luke Usher
3d244b78b3
Merge pull request #2363 from NZJenkins/setmodelview
...
Minimal SetModelView implementation
2022-05-21 13:31:07 +01:00
Anthony
2512840968
Minimal SetModelView implementation
2022-05-21 19:24:08 +12:00
RadWolfie
ecef7aec39
review remark
2022-05-16 11:40:32 -05:00
Luke Usher
95b789eb27
Merge pull request #2360 from CookiePLMonster/fix-sleep
...
Do not leave KeDelayExecutionThread prematurely
2022-05-16 09:43:04 +01:00
Luke Usher
5e928e508a
Merge pull request #2362 from CookiePLMonster/resource-creation-lifetime
...
Keep D3D resources alive during resource creation
2022-05-16 09:10:10 +01:00
Silent
39ced81d58
Keep D3D resources alive during creation to prevent them being destroyed too early
...
Fixes an issue where a game could tear down a resource from another
thread while it's still initializing
2022-05-15 23:11:08 +02:00
Silent
b7006e2b01
Do not leave KeDelayExecutionThread prematurely
...
Fixes games waking up from Sleep() calls immediately
2022-05-15 14:47:39 +02:00
RadWolfie
fa85d3dad4
fix faux fullscreen toggle
2022-05-10 19:07:45 -05:00
RadWolfie
05a7acf13e
overlay: Add build, title name, and file name to overlay
2022-05-09 10:39:14 -05:00
RadWolfie
8b35389c71
Merge pull request #2357 from ergo720/sb_auto_cursor
...
Make the SBC use the cursor mouse mode by default
2022-05-08 17:50:38 -05:00
RadWolfie
e8f943ebbc
Merge pull request #2356 from ergo720/fix_irql_mask
...
Fixed wrong irql masks
2022-05-08 17:50:18 -05:00
ergo720
87042c6bcc
Make the SBC use the cursor mouse mode by default
2022-05-08 14:17:11 +02:00
ergo720
88a37ac496
Merge pull request #2353 from RadWolfie/fix-tls-data-emu
...
Fix tls data initialization from cxbxr's emulation threads end
2022-05-08 01:34:07 +02:00
ergo720
2168b033c6
Added comment
2022-05-07 22:30:35 +02:00
ergo720
a1cffc79f8
Fixed wrong irql masks
2022-05-07 18:56:33 +02:00
RadWolfie
1077115038
Merge pull request #2355 from RadWolfie/fix-gui-purge-regress
...
Fix pull request 2348 regression
2022-05-07 10:34:21 -05:00
RadWolfie
774ef7c9e3
fix pull request 2348 regression
2022-05-02 15:30:07 -05:00
RadWolfie
9973ec7b6f
fix tls data initialization from cxbxr's emulation threads end
2022-05-02 09:46:14 -05:00
ergo720
5e42d181f2
Merge pull request #2348 from RadWolfie/emu-gui-purge
...
Purge emulation codebase from GUI project
2022-04-25 14:09:45 +02:00
RadWolfie
23488ad22b
review remark
2022-04-25 04:49:22 -05:00
RadWolfie
8b0b016aec
more cleanup
2022-04-14 00:14:41 -05:00
RadWolfie
cd09cf8dfd
remove emu codebase from gui's side
2022-04-14 00:14:41 -05:00
ergo720
374ba5ec70
Merge pull request #2345 from RadWolfie/init-thread-fix
...
Fix order of thread initialization
2022-04-13 15:29:31 +02:00
RadWolfie
3a50d7e136
fix order of thread initialization
2022-04-13 07:54:19 -05:00
PatrickvL
696d49820c
Merge pull request #2342 from NZJenkins/unc-xbes
...
Better support for UNC paths
2022-04-12 12:58:16 +02:00
Anthony
2a3656bf24
Some comments on the "mount point"
2022-04-12 19:26:31 +12:00
Anthony
469352e72a
Better support for UNC paths
...
Fix launching demos when the title was loaded from a UNC path
e.g. MechAssault with quantum redshift demo
We use GetFinalPathNameByHandle, which returns a "root local device" path beginning with '\\?\'
For UNC paths, this looks like '\\?\UNC\bla' - but this path was not handled correctly.
Before, '\\?\' was immediately stripped from the beginning of the path,
resulting in an invalid relative path e.g 'UNC\bla' - causing errors.
Now, we don't strip anything from the path, and accept it as-is.
In some related code, we also need to use the '\' character instead of '/'
since '/' is not the path separator on Windows and is not valid to add to a path beginning with '\\?\'.
Info about paths windows paths
https://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html
2022-04-12 19:11:42 +12:00
NZJenkins
72908248eb
Merge pull request #2341 from NZJenkins/jsrf-storage-spaces
...
Clear FILE_NO_INTERMEDIATE_BUFFERING in IoCreateFile
2022-04-07 19:32:28 +12:00
Anthony
e9212c35f7
Fix annoying assert
...
asserting when D3DDECLTYPE_FLOAT1 was in use
2022-04-06 22:21:12 +12:00
ergo720
4b5bef273d
Merge pull request #2340 from RadWolfie/impl-thread-stack-reader
...
Implement Thread Stack Readers
2022-04-06 11:14:52 +02:00