Commit Graph

29799 Commits

Author SHA1 Message Date
Erik Abair 66b57dca9c
nv2a: Invalidate zeta when constructing non-matching color surface 2022-05-19 18:07:03 -07:00
Erik Abair 397957a36c nv2a: Unbind dirty buffers on invalidate 2022-05-19 17:52:02 -07:00
Erik Abair 9a446a6544 nv2a: Add pitch to surface debug info 2022-05-18 16:52:32 -07:00
Erik Abair e64ffe8091 nv2a: Invalidate GL textures after surface blit 2022-05-18 16:51:51 -07:00
Matt Borgerson 9fafe92b25 nv2a: Don't add clip offset to swizzled surfaces 2022-05-18 16:19:10 -07:00
Matt Borgerson 38a0e46f8c nv2a: Don't bind unsampled textures 2022-05-18 03:40:04 -07:00
Matt Borgerson 2c1012ede4 nv2a: Add SHADOWCTL to shader dirty test 2022-05-17 18:13:35 -07:00
Matt Borgerson a1f34c339a nv2a: Add SHADOWCTL register to store depth func 2022-05-17 18:13:35 -07:00
Erik Abair c33d96127c nv2a: Implement shadow samplers 2022-05-17 17:45:16 -07:00
Erik Abair b9aef0c57c nv2a: Move palette offset behind texture reuse check 2022-05-17 17:32:32 -07:00
Erik Abair b0f20c9bba nv2a: Fix stale texture in surface input and output case 2022-05-17 17:18:15 -07:00
Matt Borgerson 3451fdb8c0 gloffscreen.h: Remove platform-specific includes 2022-05-17 16:55:41 -07:00
Erik Abair a6cd0c2110 nv2a: Prevent GPU download after blit operation 2022-05-17 16:29:16 -07:00
Erik Abair aec2883c6b
nv2a: Process pending surface uploads before render to texture 2022-05-10 17:56:58 -07:00
Erik Abair 2d50239832 nv2a: Fix subscreen pvideo overlay position 2022-05-10 14:51:51 -07:00
Erik Abair 989dbcc76d nv2a: Match HW behavior when setting window clip 2022-05-10 13:15:30 -07:00
Matt Borgerson 9c06980275 ui: Redesign user interface
Introduces a new user interface that looks much nicer, is easier to
navigate with controllers, provides more context to users, and is
scalable. Some additional features are included.

* Adds 'popup menu' with actions that can be used easily from controller
* Adds 'main menu', unifying other configuration dialogs
* Adds port-forwarding user interface
* Adds screenshot feature
* Adds volume control feature
* Adds gamepad auto-bind option
* Adds vsync configuration option
* Adds auto UI scaling
* Adds preferred window size selection
* Adds AV pack selection
* Exposes some existing config items in GUI
2022-05-07 16:09:34 -07:00
Erik Abair 306891b98c nv2a: Disable stderr print on image_blit when GL debugging is enabled 2022-05-05 14:50:07 -07:00
Erik Abair 6d7f329880 nv2a: Fix glsl ambiguous overload to prevent renderdoc failure 2022-04-26 22:08:51 -07:00
Antonio Abbatangelo 4bd1a07706 nv2a: adjust display resolution in 1080i mode 2022-04-26 13:46:28 -07:00
Erik Abair a654a1f99a nv2a: Prevent renderdoc from crashing xemu when capturing a frame 2022-04-26 13:44:13 -07:00
Erik Abair 8125e1302f nv2a: Fix renderdoc detection on macOS 2022-04-25 13:30:47 -07:00
Matt Borgerson d14cdbc7ba config: Migrate to genconfig system 2022-04-24 21:15:57 -07:00
Erik Abair 440f4c53ec nv2a: Ignore color/depth mask in CLEAR_SURFACE 2022-04-24 15:41:10 -07:00
Erik Abair 6dbd51fbe1 nv2a: Fix MAC/ILU independence 2022-04-24 15:34:14 -07:00
Erik Abair 4c8342725e nv2a: Make combiner assignment independent 2022-04-24 15:11:47 -07:00
Erik Abair f245e08560 nv2a: Set oFog.x with most significant oFog mutation 2022-04-24 15:02:39 -07:00
Erik Abair 6f507c80af nv2a: Fix handling of 0-stride vertex attributes 2022-03-22 17:35:26 -07:00
Matt Borgerson 6e1969001e nv2a: Rename sum to muxsum, simplify mux string build 2022-03-18 18:28:09 -07:00
Erik Abair cb0a92b46c nv2a: Handle LSB mux flag 2022-03-18 17:35:32 -07:00
Erik Abair f0abe3c4fc nv2a: Fix handling of R8B8 and G8B8 texture modes 2022-03-18 16:09:55 -07:00
wutno d58f4e7051 xbox: Add a dummy device in place of memory controller 2022-03-16 22:39:49 -07:00
Erik Abair 2ff5f23235 nv2a: Implement v1r0_sum flags 2022-03-16 21:22:16 -07:00
Erik Abair 4cff9c27f3 nv2a: Fix swapped R and Q texgen planes 2022-03-16 20:36:41 -07:00
wutno 5d02cdf512 pci: Set default subsys IDs to 0x0000 2022-03-12 23:03:43 -07:00
Erik Abair 83d4cbb418
nv2a: Update attribute inline_value as rendering side-effect 2022-02-22 15:01:46 -07:00
Antonio Abbatangelo 2218cdea67 nv2a/mcpx: fix freezing on loadvm failure 2022-02-22 14:40:26 -07:00
RageXbox 8919bae311
nv2a: Remove assertion in append_skinning_code 2022-02-10 22:31:22 -07:00
Erik Abair f3c7a3afd1 nv2a: Add --enable-renderdoc build config 2022-02-10 14:41:43 -07:00
Erik Abair 8689e640bd nv2a: Add missing vertex attribute setters 2022-02-10 14:35:53 -07:00
Erik Abair 517e4b3414 nv2a: Implement SET_MATERIAL_ALPHA and diffuse color src
This adds support for the material alpha command and updates the fixed function
shader to respect the diffuse source parameter (which was already piped through
but not utilized).
2022-02-05 15:22:03 -07:00
Matt Borgerson 8d0d21bfd7 nvnet: Split out register defs 2022-02-01 23:34:53 -07:00
Matt Borgerson 2b05f7d50b nvnet: Start using tracing infrastructure for logging 2022-02-01 23:34:53 -07:00
Matt Borgerson d40a1c578d mcpx: Start using tracing infrastructure for logging 2022-02-01 23:34:53 -07:00
Matt Borgerson be23a674f3 nv2a: Start using tracing infrastructure for logging 2022-02-01 23:34:53 -07:00
Erik Abair a13f3f48a2 nv2a: Improve RenderDoc triggering 2022-01-31 20:46:41 -07:00
Erik Abair ef0a262efe nv2a: Fix swizzle_box for volumetric textures 2022-01-31 17:48:17 -07:00
Erik Abair 2d34f5108d nv2a: Support depth in volumetric palettized textures 2022-01-31 17:27:20 -07:00
Erik Abair caf84884c4 nv2a: Fix slots for vertex attribute setters 2022-01-24 18:22:16 -07:00
Erik Abair d17e019684 nv2a: Implement vertex attribute setters 2022-01-24 16:22:52 -07:00