Commit graph

11248 commits

Author SHA1 Message Date
Jannik Vogel
ff55f1fe3e Fix texture format SZ_A8 (0x19) 2015-07-24 14:58:00 +02:00
Jannik Vogel
d93ef1a731 Better short mapping code 2015-07-21 12:01:37 +02:00
Jannik Vogel
e3dfc2e713 Rename inline_buffer_buffer to inline_buffer 2015-07-21 11:55:37 +02:00
Jannik Vogel
3bce85c694 Prefix functions with pgraph_ 2015-07-21 11:55:23 +02:00
Jannik Vogel
e5cf290041 Added short inline-buffers (Untested but asserted) 2015-07-17 15:41:06 +02:00
Jannik Vogel
34ba061b60 Better and complete buffering for the inline-buffers 2015-07-17 13:47:07 +02:00
Jannik Vogel
7802178db7 Finish vertex with generic attributes too 2015-07-17 13:14:29 +02:00
espes
d78ba60014 fix uniform name buffer overflows... 2015-07-17 13:49:31 +10:00
espes
fe28f90556 GL_CLAMP was removed in gl3 2015-07-17 13:45:58 +10:00
espes
90a37819b8 fix pointer cast warnings 2015-07-17 13:44:17 +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
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
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