Commit Graph

30344 Commits

Author SHA1 Message Date
espes 3fe00d8139 Merge pull request #14 from JayFoxRox/texture-modes
NV2A Improvements
2015-07-17 13:36:50 +10:00
Jannik Vogel 8c445b5c69 Fix Texgen by doing skinning fixup later 2015-07-17 02:28:50 +02:00
Jannik Vogel 58411243d1 Fix delta-R6G5B5 code (incl. new mapping algorithm) 2015-07-17 00:46:20 +02:00
Jannik Vogel 811673cfde Give VSH and PSH types a prefix 2015-07-16 22:59:54 +02:00
Jannik Vogel d99880dac6 Fix skinning normals and cleanup 2015-07-16 22:59:54 +02:00
Jannik Vogel 915a1ed410 Style + FIXME for assert 2015-07-16 22:59:54 +02:00
Jannik Vogel 8a43da637a Fix some parts of skinning 2015-07-16 22:59:54 +02:00
Jannik Vogel 3ffbb446eb Add some FIXME 2015-07-16 22:59:54 +02:00
Jannik Vogel 5f0759c27e Explanation for GL extensions 2015-07-16 22:59:54 +02:00
Jannik Vogel ce65240897 Remove req. for GL_EXT_texture_snorm (Part of GL3.3) 2015-07-16 22:59:54 +02:00
Jannik Vogel fc3b5d0c88 Skinning, Texgen and Texture matrices WIP 2015-07-16 22:59:54 +02:00
Jannik Vogel 2d46263821 Rename composite GLSL var to compositeMat 2015-07-16 22:59:54 +02:00
Jannik Vogel 71ad6234fa Cleanup PSH and alphakill 2015-07-16 22:59:54 +02:00
Jannik Vogel 939ad0121a Prepare for vertex weights 2015-07-16 22:59:54 +02:00
Jannik Vogel 9ea1c53c8e Texture matrix registers 2015-07-16 22:59:54 +02:00
Jannik Vogel cc89da0c20 Store Matrices (4x MV, 4x iMV, Proj) 2015-07-16 22:59:54 +02:00
Jannik Vogel bb232fb082 Skinning registers 2015-07-16 22:59:54 +02:00
Jannik Vogel add2a25a92 Add TEXTURE_FILTER_?SIGNED assert, functionality not yet known (maybe delta tex?) 2015-07-16 22:59:54 +02:00
Jannik Vogel 20e0ac58a9 Bumpmapping Lum registers, better var name and fix for Bumpmapping 2015-07-16 22:59:53 +02:00
Jannik Vogel 53a6b628c9 Normalization registers 2015-07-16 22:59:53 +02:00
Jannik Vogel f8933e3724 Texgen registers 2015-07-16 22:59:53 +02:00
Jannik Vogel f8ace72667 Better style in nv2a 2015-07-16 22:59:53 +02:00
Jannik Vogel dd935fffa6 New delta texture modes (req. GL_EXT_texture_snorm) and RGB_565
internal format (req. GL_ARB_ES2_compatibility)
2015-07-16 22:59:53 +02:00
Jannik Vogel 114679b2a2 Add texture addressing 2015-07-16 22:59:53 +02:00
Jannik Vogel 7f4d7e9ccc Alphakill, Texkill and Bumpmapping 2015-07-16 22:59:53 +02:00
Jannik Vogel c1dbffe5fd More texture modes 2015-07-16 22:59:53 +02:00
espes ae7aa80ae8 Merge pull request #15 from JayFoxRox/remove-warnings
Cleanup NV2A warnings
2015-07-17 01:07:41 +10:00
Jannik Vogel 6113195caa Cleanup NV2A warnings 2015-07-16 15:32:19 +02:00
espes f12f82146a bigger mask for PCRTC_START... 2015-07-15 05:01:16 +10:00
espes a197b7d493 vga hack becuase 16-bit surfaces are broken in cocoa
This is easier to fix properly when recent console overhauls are merged in.
2015-07-15 03:13:43 +10:00
espes cfe80b9613 implement dsp max instruction 2015-07-15 03:12:19 +10:00
espes 2f436be848 improve inline buffer handling 2015-07-14 22:42:43 +10:00
espes ebd0e71614 s/swizzle_mask/gl_swizzle_mask/ 2015-07-14 21:11:52 +10:00
espes f87991504d fix barbie horse adventures framebuffer corruption 2015-07-14 04:21:21 +10:00
espes 33997e3a61 Merge branch 'texture-formats' into xbox 2015-07-14 02:53:41 +10:00
espes ec7a83d745 some style and const-correctness fixes 2015-07-14 02:52:59 +10:00
Jannik Vogel 2e0a16873d Cleanup uyvy 2015-07-14 02:51:20 +10:00
Jannik Vogel 285d50f334 Add uyvy textures 2015-07-14 02:51:20 +10:00
Jannik Vogel 33791c7412 Use new swizzle_mask for luminance textures 2015-07-14 02:51:20 +10:00
Jannik Vogel 66c4b94a88 Remove spaces 2015-07-14 02:51:19 +10:00
Jannik Vogel a3d110025e Fix GL3 error with luminance 2015-07-14 02:51:19 +10:00
Jannik Vogel 5e0a80b649 Some new texture formats + YUV conversion=WIP 2015-07-14 02:51:19 +10:00
Jannik Vogel f4ba11f180 Added first palette texture mode 2015-07-14 02:51:19 +10:00
espes c82a15d28e Merge pull request #13 from JayFoxRox/attribute-fix
Use newly converted buffer after conversion
2015-07-14 02:41:18 +10:00
espes ba0bb10c98 Merge pull request #12 from JayFoxRox/mipmap-fix
Fix GL3 mipmaps by forcing at least 1x1
2015-07-14 02:39:28 +10:00
espes 3ca7c1fe42 ymax instead of ymin for clip seems to work better 2015-07-14 02:38:24 +10:00
espes 82b884beaa Merge pull request #7 from JayFoxRox/surface-flip
Surface flip
2015-07-14 02:33:16 +10:00
Jannik Vogel f34954e6e8 Use newly converted buffer after conversion 2015-07-13 18:32:39 +02:00
Jannik Vogel bd5cb25887 Fix GL3 mipmaps by forcing at least 1x1 2015-07-13 18:28:36 +02:00
espes 23c9ee9517 Merge pull request #8 from JayFoxRox/clear-masks
Clear masks
2015-07-14 02:09:29 +10:00