User talk:Kozarovv: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
==psfour2pstwo== | ==psfour2pstwo== | ||
====possible speed/comp hacks==== | ====possible speed/comp hacks==== | ||
Line 22: | Line 10: | ||
* --detect-idle-intc | * --detect-idle-intc | ||
* --detect-idle-chcr | * --detect-idle-chcr | ||
====other==== | ====other==== | ||
Line 41: | Line 15: | ||
* --force-point-sampling | * --force-point-sampling | ||
* Project Snowblind US mipmap offset 0019506C bc1f loc_19508C | * Project Snowblind US mipmap offset 0019506C bc1f loc_19508C | ||
====IEEE 754==== | ====IEEE 754==== | ||
Line 58: | Line 23: | ||
Looks like VU sync always(?), not like ps2. | Looks like VU sync always(?), not like ps2. | ||
Revision as of 13:01, 26 September 2019
Rough draft
psfour2pstwo
possible speed/comp hacks
- --detect-idle-vif
- --detect-idle-ee
- --detect-idle-iop
- --detect-idle-intc
- --detect-idle-chcr
other
- --force-point-sampling
- Project Snowblind US mipmap offset 0019506C bc1f loc_19508C
IEEE 754
https://gist.github.com/masterzorag/06cadbc5fbe7d3375704fc52518f434e
vu
Looks like VU sync always(?), not like ps2.
Shaders
SB header
Offset | Size | Description | Example |
---|---|---|---|
0x00 | 2 bytes | SB Version | 00 04 (00.04) |
0x02 | 2 bytes | Compiler Version | F9 F1 (63985) |
0x04 | 8 bytes | Association Hash | B2 09 E0 A5 00 00 00 00 |
0x0C | 1 byte | Shader Type | 02 |
0x0D | 1 byte | Code Type | 01 |
0x0E | 1 byte | UseShaderResourceTable | 00/01 (true/false) |
0x0F | 1 byte | Compiler Type | 03 |
0x10 | 4 bytes | Code Size | E8 00 00 00 (232) |
0x14 | 4 bytes | ? | 00 00 00 00 |
0x18 | 12 bytes? | System Attribute Info - Num Threads | 40 00 01 00 01 00 00 00 00 00 00 00 |
GNM Header
Offset | Size | Description | Example |
---|---|---|---|
0x00 | 4 bytes | Magic | 72 64 68 53 Shdr |
0x04 | 4 bytes | Version | 00 07 00 02 (0007.0002) |
0x08 | 1 byte | Shader type | 04 (Compute) |
0x09 | 1 byte | Shader header size in DW | 0D (13) |
0x0A | 1 byte | Has shader aux data | 00/01 ? |
0x0B | 1 byte | Target GPU types | NEO) |
0x0C | 4 bytes | padding | 00 00 00 00 |