Commit graph

3163 commits

Author SHA1 Message Date
Vincent Lejeune 174fb97172 d3d12: Fix for case where fragment shaders samples textures starting from non first unit. 2015-12-01 22:42:33 +01:00
Vincent Lejeune 377bdae6a9 rsx-debug: Move pretty_printing code to GCM.cpp and support transform constants and some texture opcodes 2015-11-30 19:09:45 +01:00
Vincent Lejeune 3d2386f903 rsx-debug: Display color buffer content in separate frame. 2015-11-30 19:09:44 +01:00
Vincent Lejeune a21c9f9861 rsx: Avoid mixing float4 and int4 in declaration of AddrReg. 2015-11-30 17:35:51 +01:00
Vincent Lejeune 1e9d1c1dd9 gl: Uncomment viewport setting code 2015-11-29 18:22:53 +01:00
Vincent Lejeune 399478c2cd gl: Use const and ref for loops in GLFragmentProgram.cpp 2015-11-29 18:20:43 +01:00
Vincent Lejeune c86cfef58e rsx/common: Remove getFragmentConstantOffsetsCache 2015-11-28 20:58:00 +01:00
Vincent Lejeune 7a996648bb gl: Use fill_gragment_constans_buffer 2015-11-28 20:41:30 +01:00
Danila Malyutin 8d5d545f3f Some dependency info updated 2015-11-28 00:08:38 +03:00
Vincent Lejeune a19a9b5585 d3d12: fallback to linear filter when mag filter is not known. 2015-11-26 20:21:26 +01:00
Vincent Lejeune f3dd9596cf d3d12: Use address instead of context_dma value to determine whether to write buffers
Fixed depth read test when write color buffer is enabled
2015-11-26 18:10:21 +01:00
Vincent Lejeune 115255c162 d3d12: Fallback to bilinear filtering if convolution min one is used. 2015-11-26 18:05:27 +01:00
Vincent Lejeune 984f5c6914 d3d12: Fix depth readback format 2015-11-26 18:05:26 +01:00
Vincent Lejeune fa845fa5c0 d3d12: Add support for F_X32 surface format 2015-11-26 18:05:25 +01:00
Vincent Lejeune 579096c6a8 d3d12: Discard rtt if format has changed. 2015-11-26 18:05:23 +01:00
Vincent Lejeune 7e938b2363 d3d12: Use INCR for stencil op when an unknow op is used.
Fixes shadows in Jet Set Radio.
2015-11-26 18:04:53 +01:00
Vincent Lejeune 0d2c4c24b4 d3d12: Use a single big buffer to store readback data 2015-11-25 17:54:58 +01:00
Vincent Lejeune d15300a549 rsx: Display programs associated with selected draw calls in debugger 2015-11-24 23:34:04 +01:00
Vincent Lejeune b9d8d9383a rsx/d3d12: dump program content when capturing frame 2015-11-24 23:34:03 +01:00
Vincent Lejeune 85cf918aeb rsx: Add none target to gcm pretty printing 2015-11-24 23:14:07 +01:00
Vincent Lejeune b5add0f027 rsx: better naming for draw calls 2015-11-24 23:14:05 +01:00
Vincent Lejeune b238107a99 rsx: Dump captured commands to file 2015-11-24 23:14:04 +01:00
Vincent Lejeune 5447521ce5 gl: Use uniform buffer for transform constants. 2015-11-19 20:26:14 +01:00
Vincent Lejeune 3e5f0e5c37 rsx: Add missing SCB DIVSQ opcode support
Fix a lot of gfx glitches in SH3 HD
2015-11-19 19:24:58 +01:00
Vincent Lejeune 9fdc458d69 rsx: Make SCT/SCB/TEX SRB function complete member of FragmentProgram 2015-11-19 19:24:57 +01:00
Nekotekina 4a669fd86e DX12 dependencies fix 2015-11-17 21:00:59 +03:00
Vincent Lejeune 307015382d d3d12: Support default value for stencil op
Requested by Jet Set Radio.
2015-11-16 23:32:38 +01:00
Vincent Lejeune 471e807ea2 d3d12: Fix some typo in render target code
Should bring performances back
2015-11-16 23:32:37 +01:00
Vincent Lejeune bb4b12f253 d3d12: Texcoord9 is actually stored in register 6.
Fix shadow mapping in SH3 HD.
2015-11-16 23:32:35 +01:00
Vincent Lejeune 432bca26ae d3d12: Add support for reading depth texture 2015-11-16 23:32:34 +01:00
Nekotekina 5f6caf33f0 MINGW64: Compilation fix 2015-11-16 19:12:51 +03:00
Vincent Lejeune e2d0a63b98 gl: Use factored scale offset function call 2015-11-15 22:52:39 +01:00
Vincent Lejeune 570ca1c87f d3d12: Use a_b_c style for D3D12GSRender.h members 2015-11-15 20:21:44 +01:00
Vincent Lejeune 2ac47548b0 rsx: Set registers individually
Not all games set registers up to the third subcomponent. Fixes SH 3 HD
textures.
2015-11-15 17:20:43 +01:00
Vincent Lejeune a79ffdb485 rsx/common: Fix ARL register type and write function in vtx shader 2015-11-15 17:20:41 +01:00
Vincent Lejeune daf2d3a02e rsx: Suppress cellResc function that modifies method_registers 2015-11-15 17:20:21 +01:00
Vincent Lejeune e9d9bad643 rsx: reset register after each flip
Some overlay operation are executed when a flip is requested, it may
change register states. Fix depth buffer in SH3
2015-11-15 17:20:20 +01:00
O1L f34bd724e3 SimpleIni removed 2015-11-15 13:05:25 +04:00
O1L fd13a495de Replace remained old ini-manager calls 2015-11-14 23:59:46 +04:00
Nekotekina 7dfe9415c4 PKG Installer fix 2015-11-14 20:26:42 +03:00
Nekotekina 080e503954 Compilation fix 2015-11-14 20:26:41 +03:00
Nekotekina a4db58f5f2 Added fs::file_ptr, fom::rewrite, cleanup 2015-11-14 20:26:40 +03:00
Danila Malyutin 009aa3dcb9 Fix crash on exit in some tests
It started occurring recently though the problem seems to be old.
Only KeyboardHandlerBase is the fix, the MouseHandler one is to be safe.
2015-11-14 19:34:20 +03:00
Vincent Lejeune 039e729881 d3d12: Fix scissor 2015-11-12 18:29:04 +01:00
Vincent Lejeune c152c20d70 d3d12: Fix wrong front_face_ccw value for Disgaea 3 2015-11-12 18:29:03 +01:00
Vincent Lejeune 917f08c534 d3d12: Fix depth range 2015-11-12 18:29:02 +01:00
Vincent Lejeune ae5d95d462 rsx/common: Take primitive restart index in account and turns it into -1. 2015-11-12 18:29:01 +01:00
Vincent Lejeune 925d6889a6 d3d12: Use ring buffer like rtv/dsv descriptor heap 2015-11-12 18:29:00 +01:00
Raul Tambre 5d5a4f804b Replace most returns with CHECK_ASSERTION
Also fix some Seek methods return types being unsigned, while returning
negative errors.

Added the CHECK_ASSERTION macro checks in a couple more places.

Simplified CHECK_ASSERTION macro usage.
2015-11-09 07:42:04 +02:00
Raul Tambre 9c2f48cd1d More defect fixes, added some error codes 2015-11-09 07:39:50 +02:00