Commit graph

238 commits

Author SHA1 Message Date
espes
c33f4ab25c cleanups 2018-03-09 18:23:39 +01:00
espes
d3f83d93c7 cleanups 2018-03-09 18:03:03 +01:00
espes
faca5dd0fe fix 2018-03-09 17:50:36 +01:00
espes
7c62d7c199 fixes 2018-03-09 02:20:57 +01:00
espes
8ad239b099 wip 2018-03-08 20:06:09 +01:00
espes
45ed3c31b4 wip 2018-03-06 17:30:03 +00:00
espes
c006d5e878 wip 2018-03-06 17:30:03 +00:00
espes
1d968aa47b Merge pull request #96 from JayFoxRox/no-catchall
Avoid switch-cases where default is silent assert
2017-05-28 22:52:33 +02:00
espes
ca00a49331 Merge pull request #98 from JayFoxRox/quickfix
Fix: all lights used same shader var since 9fd88f53
2017-05-26 19:46:46 +02:00
Jannik Vogel
366c0bbb50 Fix: all lights used same shader var since 9fd88f53 2017-05-26 15:22:05 +02:00
Jannik Vogel
73339e8f6b Avoid switch-cases where default is silent assert 2017-05-25 21:13:22 +02:00
Jannik Vogel
75a0994ec1 Support blit surface format 0x4 2017-05-21 23:33:12 +02:00
espes
9162957bc6 kill object_method method numbering (finally) 2016-02-04 02:39:17 +10:00
espes
5b9865885e ARRAYSIZE -> ARRAY_SIZE 2016-02-04 02:13:41 +10:00
espes
5b3513f1dc move nv2a registers into own file (finally!) 2016-02-04 02:11:08 +10:00
espes
9fd88f53f3 rework lighting constants to use internal context registers 2016-02-04 02:02:35 +10:00
espes
dead1d9afc Revert "Use uniform buffer objects"
This reverts commit 4646ba9c48.
2016-02-02 19:04:56 +10:00
espes
20264b1df8 quick support for w buffers 2015-10-21 03:45:45 +11:00
espes
32a04b3f38 factor psh_translate args into PshState 2015-10-20 22:52:01 +11:00
espes
eac9d5d608 texture cache and hash size tweak 2015-10-18 02:40:58 +11:00
espes
4593c6053a mask out write combined bit in context surfaces offsets 2015-10-17 14:44:46 +11:00
espes
80b440414d PGRAPH_INTR_ERROR and not PGRAPH_INTR_NOTIFY is used for software method calls? 2015-10-17 01:59:04 +11:00
espes
1aa2869d95 Merge pull request #62 from apexad/game-hacks
Increase NV2A_MAX_BATCH_LENGTH to 131071
2015-09-16 02:46:07 +10:00
apexad
183e8a8705 Increase NV2A_MAX_BATCH_LENGTH to 131071 from 65535 2015-09-13 18:46:41 -07:00
Jannik Vogel
b1aca0bb85 Texture format 0x28 (changed), 0x29 and 0x41 2015-09-13 21:31:30 +02:00
espes
4b5ff257f3 clear needs scope 2015-09-07 08:01:34 +10:00
Jannik Vogel
cd6259287f Implement polygon modes in geometry shader 2015-09-06 21:00:09 +02:00
Jannik Vogel
2366b9bc9c Support for QUAD_STRIP and POLYGON (Fill and point rendering only) 2015-09-06 17:52:59 +02:00
espes
ad8215cfbd Merge pull request #54 from JayFoxRox/dither
Add dither support
2015-09-06 10:13:03 +10:00
Jannik Vogel
e754087e18 Respect surface format for zeta clears 2015-09-04 02:01:27 +02:00
Jannik Vogel
5c017a2367 Add dither support 2015-09-04 01:35:18 +02:00
Jannik Vogel
f90a4cb5f9 Respect surface format for color clears 2015-09-03 18:53:33 +02:00
espes
f275423103 Merge pull request #53 from JayFoxRox/polygon-offset-enable
Enable/Disable Polygon offset
2015-09-03 15:40:01 +10:00
Jannik Vogel
990b1138c5 Enable/Disable Polygon offset 2015-09-03 04:13:27 +02:00
Jannik Vogel
fec5cb83e1 Add support for border colors 2015-09-03 02:09:46 +02:00
Jannik Vogel
2516d09a98 Fix typo which broke volume textures 2015-09-03 02:07:15 +02:00
espes
c1e946a1ef Merge pull request #49 from JayFoxRox/polygon-offset
Polygon offset
2015-09-02 22:03:56 +10:00
Jannik Vogel
1ab319cacf Fix CMP vertex attrib type 2015-09-02 03:45:41 +02:00
Jannik Vogel
9a514dd795 Polygon offset 2015-09-01 21:15:14 +02:00
Jannik Vogel
0edbf5b8c6 SHADOW_ZSLOPE_THRESHOLD (registers only, no implementation) 2015-09-01 21:14:33 +02:00
espes
967feb8c40 Merge pull request #41 from JayFoxRox/ubo
Use uniform buffer objects
2015-09-01 05:33:13 +10:00
Jannik Vogel
9edbfd08bc Eye registers and smaller changes 2015-08-31 17:49:34 +02:00
Jannik Vogel
00aa96af3e Lighting base and directional lights 2015-08-31 17:49:17 +02:00
Jannik Vogel
9ebd07e9a1 Texture formats 0x20 and 0x3C 2015-08-30 13:46:36 +02:00
Jannik Vogel
8ef2b2675b Texture formats 0x01 and 0x1B 2015-08-27 19:23:51 +02:00
Jannik Vogel
87681432f1 More texture formats 2015-08-26 06:11:12 +02:00
Jannik Vogel
4646ba9c48 Use uniform buffer objects 2015-08-25 06:48:53 +02:00
espes
48cb7c1c52 Don't accidentally clear vertex shader constant dirty flag 2015-08-25 14:45:32 +10:00
espes
a929a69b62 avoid trivial redundant buffering of converted attributes 2015-08-22 13:51:04 +10:00
Jannik Vogel
07e914fc56 Fix off-by-one in CLEAR region 2015-08-20 16:43:52 +02:00