Commit Graph

58 Commits

Author SHA1 Message Date
TheOfficialFloW 2275502e4c Use fno-short-enums to be compatible with re3. (#2) 2020-10-25 11:54:11 +01:00
Rinnegatamante a4036fef41 Minor cleanup. 2020-10-25 11:52:45 +01:00
Rinnegatamante ea24a9566e Properly positioned frame begin/end code. 2020-10-25 01:27:22 +02:00
Rinnegatamante 6a495fc939 Moved to NEON accelerated memcpy for lodepng. 2020-10-24 16:54:08 +02:00
Rinnegatamante 173c9a14d0 Re-introduced proper texture wrapping settings. 2020-10-24 16:43:59 +02:00
Rinnegatamante e57d339660 Fix for skin animations not working. 2020-10-23 20:01:52 +02:00
Rinnegatamante 611f451b16 De-hardcoding raster sizes. 2020-10-23 18:58:16 +02:00
Rinnegatamante 62c5aa6fc8 Added proper Trails support. 2020-10-23 18:51:56 +02:00
Rinnegatamante a3457eb63d Added precompression for DXT textures. 2020-10-23 14:53:03 +02:00
Rinnegatamante 451c693101 Optimized skinning vertex shader. 2020-10-23 01:50:16 +02:00
Rinnegatamante 896ef80d96 Optimized shaders. 2020-10-22 19:35:06 +02:00
Rinnegatamante 5f19f69b08 Added DXT compressed textures support. 2020-10-22 18:32:58 +02:00
Rinnegatamante f0c66692f8 Moved wvp calculation to CPU. 2020-10-22 18:32:47 +02:00
Rinnegatamante 0b88723fe1 Enabling optimization flags. 2020-10-22 18:32:21 +02:00
Rinnegatamante dd7d8ceefd Removed unused uniform. 2020-10-22 17:01:11 +02:00
Rinnegatamante 903d128c69 Fixed all remaining glitches. 2020-10-22 16:58:25 +02:00
Rinnegatamante 57b3457f61 Populating missing attribs with default values. 2020-10-22 15:26:05 +02:00
Rinnegatamante cf96e7d39e Always updating in use shader. 2020-10-21 23:30:02 +02:00
Rinnegatamante 9f267c904d Disabling some more cache checks. 2020-10-21 23:12:29 +02:00
Rinnegatamante f836c0f2c1 Properly uploading index buffer for default draws. 2020-10-21 10:32:04 +02:00
Rinnegatamante fecea9f821 Forcing stride to full size. 2020-10-21 10:22:59 +02:00
Rinnegatamante ba0bd2a200 Removed mempools usage for normal draws. 2020-10-20 21:04:52 +02:00
Rinnegatamante 296987f9eb Properly populating vertex buffers. 2020-10-20 15:19:32 +02:00
Rinnegatamante e16a46bdd9 Using a separate mempool for Immediate 3D. 2020-10-19 22:15:51 +02:00
Rinnegatamante 0685473569 Fix compilation issues. 2020-10-19 21:27:19 +02:00
Rinnegatamante 23698c4ee3 Inverting matrices operations order. 2020-10-19 21:05:19 +02:00
Rinnegatamante df2f74d5b8 Some extra fixes and adaptation for vitaGL support. 2020-10-19 16:21:57 +02:00
Rinnegatamante 09429fa406 Optimized skinInstanceCB. 2020-10-19 16:15:56 +02:00
Rinnegatamante 5672933e69 Optimized defaultInstanceCB. 2020-10-19 13:49:08 +02:00
Rinnegatamante b5132a0691 Adapted drawInst_simple to vitaGL. 2020-10-19 13:40:50 +02:00
Rinnegatamante c95d523ec9 Always uploading uniforms. 2020-10-19 00:39:08 +02:00
Rinnegatamante b10ccbf5cf Typo fix. 2020-10-19 00:13:38 +02:00
Rinnegatamante b3be1236c3 Moved uniforms setup after uniform cache flushing. 2020-10-18 23:29:03 +02:00
Rinnegatamante 0e347cbe5b Fixed some incorrect memcpy sizes. 2020-10-18 18:07:25 +02:00
Rinnegatamante a25862e1cc Properly bind vertices. 2020-10-18 16:07:18 +02:00
Rinnegatamante 08876f4ea4 Properly binding shader attributes. 2020-10-18 14:43:45 +02:00
Rinnegatamante 621e1ef445 Added a logging function for debugging. 2020-10-18 10:41:41 +02:00
Andy Nguyen 5bd5b98c33 Fix shaders and add mempool reset 2020-10-18 00:15:49 +02:00
Rinnegatamante 591525f4c8 Added missing u_fogColor references. 2020-10-17 21:00:49 +02:00
Rinnegatamante 80f246de6e Merging shader text into a single array before compilation. 2020-10-17 20:55:09 +02:00
Rinnegatamante ab0df0acc7 Hardcoding glfw device params. 2020-10-17 20:54:33 +02:00
Rinnegatamante f0471b3be2 Using mul for matrix x vector multiplications. 2020-10-17 20:54:10 +02:00
Rinnegatamante d0c7629b63 Removed all references to unused GLSL shader pre-header. 2020-10-17 18:11:49 +02:00
Rinnegatamante 5786b11751 Properly reflecting headers struct of the library. 2020-10-07 12:18:42 +02:00
Rinnegatamante b3278a9053 Fix install rule. 2020-10-07 11:58:38 +02:00
Rinnegatamante 93bbffb82d Replaced memcpy usage with NEON optimized ones. 2020-10-07 11:32:38 +02:00
Rinnegatamante e00336e23a Replace more buffers usage with mempools. 2020-10-07 11:25:05 +02:00
Rinnegatamante 08427e8f19 Separate mempools for immediate draws. 2020-10-07 10:09:24 +02:00
Rinnegatamante 4b3d9dcd96 Replaced some buffers usage to mempool pointers. 2020-10-03 10:25:43 +02:00
Rinnegatamante c3d520a043 Make the lib properly compile. 2020-09-29 13:58:56 +02:00