Commit graph

  • dc6281aa52 Updated NV2A LLE kelvin_color_format_map with the same fixes done in xemu over the past years PatrickvL 2021-05-31 16:40:17 +02:00
  • 8082313542 Refactor getting host D3DFORMAT, use it for COLORSIGN, and add signed-to-unsigned mapping PatrickvL 2021-05-29 18:47:55 +02:00
  • 1150f19c8f Refactor getting host D3DFORMAT, use it for COLORSIGN, and add signed-to-unsigned mapping PatrickvL 2021-05-29 18:47:55 +02:00
  • 91351ae9ce [WIP] Implement the Texture Stage State Xbox extensions COLORSIGN, COLORKEYOP, COLORKEYCOLOR (just like ALPHAKILL) in HLSL (both Fixed Function and regular template-based converted shaders). PatrickvL 2021-05-17 10:53:30 +02:00
  • 6bbe6cefe8 added notes medievil1 2022-09-24 17:14:08 -04:00
  • 547c3ae663
    Merge pull request #2398 from LukeUsher/xxh3-hash CI-547c3ae PatrickvL 2022-09-24 07:26:34 +02:00
  • c594e34ac5
    Merge pull request #2400 from jarupxx/dialog CI-c594e34 PatrickvL 2022-09-24 07:24:38 +02:00
  • caae99952c Fixed a Folder select dialog jarupxx 2022-09-24 04:51:55 +09:00
  • aeeb67dc6a hasher: use xxh3 exclusively Luke Usher 2022-09-14 13:51:05 +01:00
  • 4204640052
    Merge pull request #2397 from medievil1/new-master CI-4204640 Luke Usher 2022-09-11 18:45:16 +01:00
  • 3c78dd29a7 correct mod instruction medievil1 2022-09-11 13:22:29 -04:00
  • 42ff76ce0f
    Merge pull request #2389 from medievil1/upsteam-master CI-42ff76c PatrickvL 2022-08-26 22:26:56 +02:00
  • bf931d2d81
    Merge pull request #2393 from medievil1/new-master CI-bf931d2 PatrickvL 2022-08-26 21:40:56 +02:00
  • a2a4fb35a4 xdm, xdd, xmd component count fix medievil1 2022-08-26 00:17:48 -04:00
  • c6e40c0b8f Moved KeStallExecutionProcessor implementation to Timer.cpp ergo720 2022-08-22 11:26:37 +02:00
  • 7b7d09ccfa Make sure ethread is inserted by Ob after the thread is initialized ergo720 2022-07-21 22:56:06 +02:00
  • f4b1dfda6e Make the wait of KeStallExecutionProcessor more accurate ergo720 2022-07-20 21:04:59 +02:00
  • f570c05e95 fix up medievil1 2022-07-17 23:58:16 -04:00
  • 0b76da7c00 per review remarls medievil1 2022-07-17 23:38:41 -04:00
  • 9ee5b45b88 typo fix medievil1 2022-07-17 10:16:27 -04:00
  • ee7be21bbb fix dot_str_cube not kicking in medievil1 2022-07-17 10:10:12 -04:00
  • 8ba24eb681
    Merge branch 'Cxbx-Reloaded:master' into master medievil1 2022-07-15 14:48:38 -04:00
  • 245079285b Revert "Merge pull request #4 from jackchentwkh/vsh_cpu_2" medievil1 2022-07-15 14:47:50 -04:00
  • f8029d5d46 Revert "Merge pull request #5 from NZJenkins/vsh-op-independence" medievil1 2022-07-15 14:47:41 -04:00
  • 379605733c Revert "Update DlgAbout.cpp" medievil1 2022-07-15 14:47:35 -04:00
  • 0dbe9459ea Revert "Merge pull request #6 from NZJenkins/nan-otogi" medievil1 2022-07-15 14:47:29 -04:00
  • a0b138037f Revert "fic" medievil1 2022-07-15 14:47:25 -04:00
  • 510fac48b8 Revert "Update Direct3D9.cpp" medievil1 2022-07-15 14:47:17 -04:00
  • 8fcc2f5e0c
    Merge pull request #2387 from LukeUsher/fix-heap-corruption-at-startup-with-nvnet CI-8fcc2f5 Luke Usher 2022-07-13 09:36:31 +01:00
  • 56610cd899 Fix heap corruption in NVNetDevice::GetMacAddress Luke Usher 2022-07-12 09:40:27 +01:00
  • 9fab1d5bed
    Merge pull request #2386 from LukeUsher/fix-multi-xbe-vfs CI-9fab1d5 Luke Usher 2022-07-11 14:22:49 +01:00
  • 0043e45531
    Merge pull request #2374 from NZJenkins/vsh-op-independence CI-0043e45 PatrickvL 2022-07-08 22:18:50 +02:00
  • bc9cbec518
    Merge pull request #2385 from ergo720/gui_xbe_crash CI-bc9cbec Luke Usher 2022-07-08 20:40:53 +01:00
  • 4edd3feb3e emufile: fix multi-xbe titles when running through xbox-iso-vfs Luke Usher 2022-07-08 20:37:32 +01:00
  • 0717c0166b Fixed a crash in the gui when opening an xbe fails ergo720 2022-07-08 12:55:27 +02:00
  • 16ffe3a80f
    Merge pull request #2384 from LukeUsher/allow-skipping-faulty-instructions CI-16ffe3a PatrickvL 2022-07-08 13:21:15 +02:00
  • 5f3cfdeb77 address feedback Luke Usher 2022-07-08 11:37:48 +01:00
  • a650fd2078
    Merge pull request #2375 from ergo720/libusb_update CI-a650fd2 Luke Usher 2022-07-08 09:59:19 +01:00
  • cfa7be71cf
    Merge pull request #2378 from ergo720/sb_fix CI-cfa7be7 Luke Usher 2022-07-08 09:58:01 +01:00
  • 4076a5b758 EmuException: allow skipping of instructions that trigger unhandled exceptions. Luke Usher 2022-07-06 09:21:23 +01:00
  • 6e3635d90a Updated libusb to include deadlock fix ergo720 2022-06-18 11:12:59 +02:00
  • ce55fe8627 Fixed slowness in Steel Battalion caused by WaitApc ergo720 2022-06-12 18:32:00 +02:00
  • b2f63918de
    Merge pull request #2382 from jackchentwkh/vsh_cpu_2 CI-b2f6391 Luke Usher 2022-07-05 15:57:43 +01:00
  • f6274cc59f Revert "fix order of thread initialization" CI-f6274cc Luke Usher 2022-07-05 15:29:55 +01:00
  • 30cbf6511e Use atomic_flag instead of semaphore to synchronize thread creation ergo720 2022-07-03 15:18:40 +02:00
  • 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 PatrickvL 2022-06-30 11:33:29 +02:00
  • 6033aa2d99 replace C++20 semaphore to our own version of semaphore that is known to work RadWolfie 2022-04-30 17:04:31 -05:00
  • 0bac66ef9e Update Direct3D9.cpp medievil1 2022-06-26 00:18:51 -04:00
  • 4c5995af0c using memset for vertex_state_shader_v0[] init. jackchentwkh 2022-06-26 10:36:53 +08:00
  • c981ff23b1 Correction of v0.xyzw assignment. jackchentwkh 2022-06-25 17:02:13 +08:00
  • 186b5fa8ee adopt api changes of nv2a_vsh_emu_execute_track_context_writes(). using pg->vsh_constants_dirty[] again. jackchentwkh 2022-06-25 16:49:04 +08:00
  • 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. jackchentwkh 2022-06-25 14:57:00 +08:00
  • 4d110bad6e Implement RunVertexStateShader() jackchentwkh 2022-06-25 00:18:27 +08:00
  • 6f79b035bd cmake: include nv2a_vsh_cpu libraries RadWolfie 2022-06-24 18:11:06 -05:00
  • 7bc95d7a67 Add nv2a_vsh_cpu submodule jackchentwkh 2022-06-25 00:05:04 +08:00
  • 0df7e2063c fic medievil1 2022-06-25 22:11:02 -04:00
  • be2b56f36c
    Merge pull request #6 from NZJenkins/nan-otogi medievil1 2022-06-25 22:05:33 -04:00
  • 4ddff997e1 Update DlgAbout.cpp medievil1 2022-06-25 13:12:13 -04:00
  • 97db280330
    Merge pull request #5 from NZJenkins/vsh-op-independence medievil1 2022-06-25 13:11:26 -04:00
  • ba1d42599e
    Merge pull request #4 from jackchentwkh/vsh_cpu_2 medievil1 2022-06-25 12:05:40 -04:00
  • 9994f3b26b Correction of v0.xyzw assignment. jackchentwkh 2022-06-25 17:02:13 +08:00
  • 7a2bd0bc60 adopt api changes of nv2a_vsh_emu_execute_track_context_writes(). using pg->vsh_constants_dirty[] again. jackchentwkh 2022-06-25 16:49:04 +08:00
  • 62c6320274 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. jackchentwkh 2022-06-25 14:57:00 +08:00
  • 5140624043
    Merge pull request #5 from RadWolfie/nv2a_vsh_cpu_pr jackchentwkh 2022-06-25 16:10:36 +08:00
  • d1b98600e7 submodule update. jackchentwkh 2022-06-25 15:26:12 +08:00
  • 20f56bc95a 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. jackchentwkh 2022-06-25 14:57:00 +08:00
  • ac39637e7e remove unnecessary cmake changes. jackchentwkh 2022-06-25 14:32:03 +08:00
  • 2907b3c3ab Implement RunVertexStateShader() jackchentwkh 2022-06-25 00:18:27 +08:00
  • 1ba0e2d1d5 cmake: include nv2a_vsh_cpu libraries RadWolfie 2022-06-24 18:11:06 -05:00
  • a305e5f6ef Add nv2a_vsh_cpu submodule jackchentwkh 2022-06-25 00:05:04 +08:00
  • 5a454aad5c
    Merge pull request #2381 from NZJenkins/cubemap-mips CI-5a454aa NZJenkins 2022-06-25 17:49:31 +12:00
  • b593e68ef3 patches for missing cmake related changes required for newly introduced nv2a_vsh_cpu submodule. no more manual project property editing necessary for cxbx and cxbxr-emu. but the VS solution and project files must be regenerated. jackchentwkh 2022-06-25 13:43:13 +08:00
  • 99d6309224 Implement RunVertexStateShader() jackchentwkh 2022-06-25 00:18:27 +08:00
  • 249833a7f4 Add nv2a_vsh_cpu submodule jackchentwkh 2022-06-25 00:05:04 +08:00
  • 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 Anthony 2022-06-22 23:57:22 +12:00
  • 31a47cde37
    Merge pull request #2377 from ergo720/suspend_disable CI-31a47cd RadWolfie 2022-06-20 16:10:37 -05:00
  • aba8fc8341 Fix shutdown freeze ergo720 2022-06-20 22:24:11 +02:00
  • 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) Anthony 2022-06-18 00:22:39 +12:00
  • c20a774b26 fix compile issues medievil1 2022-06-08 20:41:43 -04:00
  • 8416e3c85b Fixups after rebase (more is probably needed to get this compiling) PatrickvL 2022-06-08 17:06:57 +02:00
  • b657cd3d33 Started porting Clear Ignore BeginScene and EndScene calls under D3D11 For D3D11, move a Present call to SwapChain Replace a D3D9 SetRenderTarget call by CxbxSetRenderTarget PatrickvL 2022-01-23 17:32:38 +01:00
  • bf79e22e36 Ported GetBackBuffer PatrickvL 2021-07-21 17:22:01 +02:00
  • ea0c2843b1 Removed g_UseFixedFunctionVertexShader, as it never changes from true anymore. PatrickvL 2021-07-19 14:37:17 +02:00
  • a33686e214 Avoid ImGui related crashes when render_base is removed PatrickvL 2021-07-16 10:51:47 +02:00
  • 8f404667a9 Ported vertex shader creation and activation For this, introduced and used CxbxCreateVertexShader, and refactored CxbxUpdateHostVertexShader, to perform local state tracking and switch active host vertex shader only when required Removed ResetD3DDevice method PatrickvL 2021-07-16 10:28:29 +02:00
  • f2e19826b4 Introduced and used CxbxSetPixelShader, to perform local state tracking and switch active host pixel shader when required PatrickvL 2021-07-14 17:26:28 +02:00
  • 60689ba72a Ported pixel shader creation and activation PatrickvL 2021-07-14 17:08:51 +02:00
  • 7efa221a08 Extended the NV2A register defines (completing the kelvin Nv097 set from other sources like recent xemu additions, so all credit to them, although they haven't copied over the defines we've added over the years). PatrickvL 2021-06-18 12:56:59 +02:00
  • 9f9b750466 Introduced Xbox version of D3DPOOL (which seems to be ignored in all XDK API's) PatrickvL 2021-06-16 17:40:54 +02:00
  • 1b14aedb1e Introduced Xbox version of X_D3DBACKBUFFER_TYPE PatrickvL 2021-06-16 17:33:03 +02:00
  • d72d4db109 Introduced Xbox version of X_POINT and X_RECT (for now, aliassed to Windows types) PatrickvL 2021-06-16 17:27:10 +02:00
  • 139089572e Introduced Xbox version of X_D3DDEVICE_CREATION_PARAMETERS (although D3DDevice_GetCreationParameters was the only function using this, but it's no longer patched) PatrickvL 2021-06-16 17:03:33 +02:00
  • b396acd538 Introduced Xbox version of HWND PatrickvL 2021-06-16 16:55:57 +02:00
  • 3a3a2fc937 Introduced Xbox version of D3DCUBEMAP_FACES PatrickvL 2021-06-16 16:40:38 +02:00
  • 63462fa1f2 Introduced Xbox version of D3DDVTYPE PatrickvL 2021-06-16 16:28:21 +02:00
  • 1451c9632f Reviewed texture formats patrickvl 2021-06-13 23:05:52 +02:00
  • 434628d522 Ported texture creation and locking/unlocking patrickvl 2021-06-13 22:07:43 +02:00
  • 1f7614a9f3 Use feature level 10.0 Port CreateTexture PatrickvL 2021-06-13 18:30:50 +02:00
  • bab9257da1 CxbxSetIndices() never returns anything Copied over example CreateDevice initialization (probably won't compile) Leave out g_pDirect3D and g_D3DCaps globals (no longer required in D3D11) Call CheckFormatSupport from g_pD3DDevice (not g_pDirect3D) Ported CreateQuery (using a D3D11_QUERY_DESC argument) PatrickvL 2021-06-12 17:44:47 +02:00
  • d0934235c6 Ported vertex attribute conversion from D3D9 (which uses DeclCaps) to D3D11 (which seemingly supports all vertex attribute formats we need, in feature level 10 already?) PatrickvL 2021-06-11 13:52:31 +02:00