<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/pcsxr/plugins/peopsxgl/pgxp_gpu.h, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://gitea.privatedns.org/xavi/pcsxr/atom?h=master</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/pcsxr/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/'/>
<updated>2017-03-17T21:35:45+00:00</updated>
<entry>
<title>Add support for new visualisations</title>
<updated>2017-03-17T21:35:45+00:00</updated>
<author>
<name>iCatButler</name>
<email>i.am.catbutler@gmail.com</email>
</author>
<published>2017-03-17T21:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/commit/?id=53a4511c71a9ccc310725a9d7f8097b41b48e64e'/>
<id>urn:sha1:53a4511c71a9ccc310725a9d7f8097b41b48e64e</id>
<content type='text'>
- vertex colour
- new primitive type encoding

Now displays semi-transparent as coloured wireframe to allow them to be visible without corrupting the colour information.
</content>
</entry>
<entry>
<title>Fix some edge cases and imprve depth visualisation:</title>
<updated>2016-09-01T08:00:00+00:00</updated>
<author>
<name>iCatButler</name>
<email>i.am.catbutler@gmail.com</email>
</author>
<published>2016-09-01T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/commit/?id=b9ca947ae0c9d45a4f76a58d1a0e1e4924f32a72'/>
<id>urn:sha1:b9ca947ae0c9d45a4f76a58d1a0e1e4924f32a72</id>
<content type='text'>
- Remove upper 4-bits of each vertex as they may contain bad data (THPS)
- Check if memory block from DMA is as expected, some primitives are not the first data in the block and preceding data needs to be skipped (HT, A2)

- Change depth visualisation to a colour gradient that makes inconsistencies easier to see
- Add support for visualising low resolution but consistent depth found in the Ordering Table
</content>
</entry>
<entry>
<title>Various CPU updates</title>
<updated>2016-07-30T16:43:12+00:00</updated>
<author>
<name>iCatButler</name>
<email>i.am.catbutler@gmail.com</email>
</author>
<published>2016-07-30T16:43:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/commit/?id=69f33a4782857bf2027db6c81f670409bed76b43'/>
<id>urn:sha1:69f33a4782857bf2027db6c81f670409bed76b43</id>
<content type='text'>
- Sign extend values read using LH

- Add conversion functions to represent Signed/Unsigned 16-bit ranges
- Add overflow and truncation functions for 16-bit ranges

- Sign extend imm value in ADD(U)
- Add component overflow and truncation to ADD/SUB functions
- Construct new value in logic operators where result using inputs is undefined

- Return a valid W component from logic operators (if either input has one)

- Compare against high value (y), then low value (x) in less than operators

- Use doubles and implement overflow for Multiply operations to try to increase accuracy

- Use unsigned values in both MUL and DIV operations to make output as accurate as possible

- Implement several variants of shift operators. Trying both arithmetically correct and more analytical approaches with varying success.

Debug updates
- Added ability to force all values to be equal to low precision values before operating on them
- Added feature to test output of operations against a tolerance and print only those which fail

GPU updates
- Colour vertices with valid XY coordinates but no W as cyan to make them easier to spot
- Remove cyan colouring for stale vertices (wasn't useful)
- Added ability to skip debug rendering when needed (like seeing the output of offscreen rendering applied to a sprite).
- Added new mode which shows primitive type
</content>
</entry>
<entry>
<title>Add PGXP visual debug mode</title>
<updated>2016-05-10T20:34:27+00:00</updated>
<author>
<name>iCatButler</name>
<email>i.am.catbutler@gmail.com</email>
</author>
<published>2016-05-10T20:34:27+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/commit/?id=b5a738748175a460f856a1ed8a2e29fa26ebfb14'/>
<id>urn:sha1:b5a738748175a460f856a1ed8a2e29fa26ebfb14</id>
<content type='text'>
Toggles using F11
Red = low precision
Blue = high precision
Yellow = Sprite
</content>
</entry>
<entry>
<title>Fix bugs from previous</title>
<updated>2016-05-02T14:01:27+00:00</updated>
<author>
<name>iCatButler</name>
<email>i.am.catbutler@gmail.com</email>
</author>
<published>2016-05-02T14:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/commit/?id=216c2ff3aefc9e0295ed9b1486935d65f6c13f55'/>
<id>urn:sha1:216c2ff3aefc9e0295ed9b1486935d65f6c13f55</id>
<content type='text'>
Fix stray triangles
- Switch to full floating point RTPS/RTPT
- Clamp w values to near plane

Fix texture corruption in 1.78, copy 2.4 Tweak
- Remove matrix replacement
- Add W component to vertices
- Wrap glVertex3fv calls
- Use counter to call glVertex4fv for PGXP vertices only
</content>
</entry>
<entry>
<title>Perspective correct texturing</title>
<updated>2016-04-27T11:18:13+00:00</updated>
<author>
<name>iCatButler</name>
<email>i.am.catbutler@gmail.com</email>
</author>
<published>2016-04-27T11:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/commit/?id=153c8eb4997d21d3b2965cf38d4348f05c29860f'/>
<id>urn:sha1:153c8eb4997d21d3b2965cf38d4348f05c29860f</id>
<content type='text'>
- replace calls to glOrtho with new matrix (z value becomes w)
- store w value for each vertex
- if any vertex does not have a w value set whole polygon to 1.0
- Reset vertex between draw calls to prevent stale w values persisting

- validate PGXP values using stored copy of original (allow greater variance)
- properly convert addresses before passing to plugin
- rework memory to use a single pool with offsets

- Implement floating point RTPS/RTPT transform, currently disabled.
</content>
</entry>
<entry>
<title>- Move pgxp_gpu source files into correct folder.</title>
<updated>2016-03-26T10:07:46+00:00</updated>
<author>
<name>iCatButler</name>
<email>i.am.catbutler@gmail.com</email>
</author>
<published>2016-03-26T10:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pcsxr/commit/?id=b1f5a6ce4d7b9156910078300bfdf4ff0fd8ccf0'/>
<id>urn:sha1:b1f5a6ce4d7b9156910078300bfdf4ff0fd8ccf0</id>
<content type='text'>
- Trace 16 bit reads and writes, invalidate register or memory (fixes UI glitches)
</content>
</entry>
</feed>
