Commit Graph

60 Commits

Author SHA1 Message Date
Henrik Rydgård
e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Unknown W. Brackets
dcfd82da05 GE Debugger: Fix src/dst stride formatting. 2022-12-10 11:01:43 -08:00
Unknown W. Brackets
2505ae2858 GE Debugger: Fix logging of texture size. 2022-09-10 13:36:01 -07:00
Henrik Rydgård
cdda203438 Fix compiler warnings 2022-09-08 01:31:10 +02:00
Unknown W. Brackets
402492a958 GE Debugger: Show imm prim flag detail in disasm. 2022-09-06 22:31:09 -07:00
Unknown W. Brackets
a59d39d666 GE Debugger: Add more missing GE disasm.
Need to investigate the immediate vert bits more.
2022-09-05 20:35:08 -07:00
Unknown W. Brackets
a569921716 GE Debugger: Improve display list disasm.
This makes many registers clearer, and corrects some that were totally
wrong like minz/maxz.
2022-08-29 22:58:13 -07:00
Henrik Rydgård
0bf6bd9175 More Log.h cleanup. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
ba0d04a142 Vulkan: Implement depth texturing through depal. 2020-08-09 20:31:04 +02:00
Unknown W. Brackets
c32ffa1db0 GE Debugger: Rename depth clamp more places.
Was still showing clip enable in disasm.
2018-08-11 16:33:39 -07:00
Unknown W. Brackets
1829902171 GE Debugger: Show bezier/spline in preview.
Ignoring some things about normals and colors since they don't matter.
2018-06-06 05:59:14 -07:00
Henrik Rydgård
35c8a05d29 Minor GPU disassembler update 2017-08-05 18:37:03 +02:00
Henrik Rydgard
bd4436c6eb Centralize EstimatePerVertexCost and Execute_BlockTransferStart 2017-01-23 17:22:17 +01:00
Unknown W. Brackets
1e0051a792 Add support for 32-bit indices.
Not clear how often these are used by games.  Let's find out.
2016-04-10 02:24:58 -07:00
Unknown W. Brackets
ec79dacc35 Correct weight count display for no weights.
This was causing it to always say unknown weights since the +1 on
weightCount.
2015-11-15 15:03:14 -08:00
Henrik Rydgard
f3b0562bd8 Improve viewport terminology a bit. No functional change. 2015-11-04 22:03:29 +01:00
Henrik Rydgard
6a373fe09a Make it possible to view vertex decoders through the shader viewing mechanism (even though they aren't strictly shaders, they fit the model). 2015-10-24 10:41:31 +02:00
Henrik Rydgard
2430c283a5 More GPU cleaning, removing uses of GPUState.h where not needed.
Want to get rid of direct accesses to GPUState in modules that may be reused in
my future next-gen backends, that will reformat display lists into command lists that will
then be optimized and executed, out of sync with the real GPUState.

Candidate modules that may be reused in full are Framebuffer and Depal, possibly TextureCache to some degree.
2015-07-29 12:37:49 +02:00
Unknown W. Brackets
12405c3944 Disassemble the "continue previous" prim. 2015-02-01 01:21:28 -08:00
Unknown W. Brackets
e4a24efda3 Don't show the op twice in the GE debugger. 2015-02-01 01:21:04 -08:00
Unknown W. Brackets
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
Henrik Rydgard
170e88838f Slightly improve GPU disassembly 2014-09-13 23:51:07 +02:00
Henrik Rydgard
d19d041640 GPU disasm: Show opcodes. Also disable some warnings and update submodules. 2014-01-15 17:00:20 +01:00
Henrik Rydgard
4363d31ec2 Fix GeDescribeVertexType 2013-11-26 14:12:14 +01:00
Henrik Rydgard
4daebe9b0f When logging PRIM commands, print the prim number 2013-11-08 20:36:42 +01:00
Unknown W. Brackets
59bfaa30c7 Copy/paste fail. 2013-10-14 19:33:35 -07:00
Unknown W. Brackets
991aa03273 A few more texture related formats. 2013-10-13 13:52:23 -07:00
Unknown W. Brackets
428a8181e5 Format stencil and alpha tests differently.
One is the stored value on the right, the other is the vertex value on
the left.
2013-10-13 13:52:21 -07:00
Henrik Rydgard
5c8a74d911 Stencil rectangle clears: Take the value from the second vertex. 2013-10-10 21:36:32 +02:00
Unknown W. Brackets
81e71dd8d7 Add a way to get to the current texture as well. 2013-09-27 22:46:08 -07:00
Unknown W. Brackets
2e8b475789 Don't ignore the low bits of the framebuf pointer. 2013-09-07 02:01:01 -07:00
Unknown W. Brackets
0a217a1254 Use accessors better for block transfers. 2013-08-24 11:34:36 -07:00
Henrik Rydgard
416f0c56e8 Experiment: Use glBlendFuncSeparate to not change dest alpha when blending.
Fixes Persona blending issues.
2013-08-22 19:14:04 +02:00
Henrik Rydgard
a517b8d53f Fix #3117 (by reverting part of a previous change), plus a minor change that might speed GT up. 2013-08-10 23:25:55 +02:00
Henrik Rydgard
773115bb6d GPU: tiny optimization and log fix 2013-08-06 19:08:38 +02:00
King_DuckZ
61500281a9 Warning fix on Intel compiler. 2013-05-30 15:42:11 +02:00
Unknown W. Brackets
39c0e6c096 Add reporting for unsupported GE commands.
And clean up some disasm for a couple others.
2013-05-12 10:30:26 -07:00
Unknown W. Brackets
347bccf9bc Fix bone matrix number disasm. 2013-05-11 10:31:04 -07:00
Unknown W. Brackets
a22934885d Improve GE disasm for a few commands. 2013-05-11 10:16:56 -07:00
Unknown W. Brackets
fd0c368037 Fix texfunc disasm missing color doubling. 2013-05-04 15:36:23 -07:00
Unknown W. Brackets
320951a77c Disasm the GE blend mode better. 2013-04-30 00:17:39 -07:00
Unknown W. Brackets
46ab5cd0f7 Fix typo in GeDisasm texture format. 2013-04-25 07:49:51 -07:00
Unknown W. Brackets
6be092b4de Make sure to print all GE command data in disasm.
Even if part of it shouldn't be used, if it is, that may be important.
2013-04-23 08:08:11 -07:00
Unknown W. Brackets
4075295327 Show more vertex type info in the GE frame dump. 2013-04-23 07:00:37 -07:00
Unknown W. Brackets
b84dadfd3a Add NOP to GE disasm. 2013-04-22 22:04:26 -07:00
Unknown W. Brackets
bf808064b2 Add a function to pretty-print vertex type.
For easier debugging.
2013-04-22 22:04:26 -07:00
Unknown W. Brackets
0e0b074ed7 Correct dest stride on GPU block transfer. 2013-04-08 08:36:51 -07:00
Henrik Rydgard
d96c588288 Cache vertex decoders. No big boost now, but opens for optimizing them more, and lets us keep stats of the most common ones. 2013-03-24 12:28:42 +01:00
Xele02
69b837f18b Add debug dialogs (DisAsm, Memory, VFPU).
New features : Breakpoint display, thread status, display list status
Update translation and start french translation
2013-02-10 17:33:34 +01:00
Henrik Rydgard
ca347da99c Depth range should not be applied in through mode. Fixes sky in Wipeout Pure. 2013-02-09 20:53:32 +01:00