1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

699 Commits

Author SHA1 Message Date
Sergey Lipskiy
afe91d47d9 Switch to depth texture 2015-05-13 10:17:17 +06:00
Sergey Lipskiy
0197bfa104 Correct depth_compare_shader.
Add primDeltaZ support.
2015-05-13 10:17:16 +06:00
Sergey Lipskiy
54f01961f2 Replace GLES2 define usage by SHADER_PRECISION. 2015-05-13 10:17:15 +06:00
Sergey Lipskiy
f2ab6d9505 Code cleanup: fix idents in GLideNHQ/TxUtil 2015-05-13 10:17:15 +06:00
Sergey Lipskiy
366c389d56 Correct depth_compare shader usage. 2015-05-13 10:17:14 +06:00
Sergey Lipskiy
8acc7adf15 Move #define SHADER_PRECISION from Shaders.h to GLSLCombiner.cpp
Use SHADER_PRECISION instead of GLES2 in Noise_shader.h
Add #version to noise_fragment_shader.
2015-05-13 10:17:13 +06:00
Sergey Lipskiy
784735c3ae Fix compilation with disabled SHADER_PRECISION 2015-05-13 10:17:13 +06:00
Sergey Lipskiy
d24289f5a8 Rebuilt all libs necessary for GLideNHQ with -fPIC flag.
Correct GLideNHQ CMake file to link all libs statically.
2015-05-13 10:17:12 +06:00
Sergey Lipskiy
7c032f887b Correct CMakeLists.txt files:
- GLideNHQ added as subdirectory
- Link Boost with GLideNHQ using exact libs names, not the one provided with ${Boost_LIBRARIES}
2015-05-13 10:17:11 +06:00
Sergey Lipskiy
29a0698437 Enable aspect settings for windowed resolutions. 2015-05-13 10:17:10 +06:00
Sergey Lipskiy
5460cb32f6 Don't allocate frame buffer with zero height. 2015-05-13 10:17:10 +06:00
Sergey Lipskiy
1c6eb7449a Remove special blend mode for Donald Duck because of regression in Roadsters. 2015-05-13 10:17:09 +06:00
Sergey Lipskiy
bee93b776d Fix alpha set in Flat shading made. 2015-05-13 10:17:08 +06:00
Sergey Lipskiy
99b0bc1e59 Fix fb texture offsetS.
Fixed IR scanner in Perfect Dark.
2015-05-13 10:17:08 +06:00
Sergey Lipskiy
5b8986874a Make VI height zero if vStart >= vEnd. 2015-05-13 10:17:07 +06:00
Sergey Lipskiy
626fdf8f2f Fix texture bytes calculation for CheckForFrameBufferTexture in gDPLoadTile.
Fixed last rects of pause screen Banjo Tooie.
2015-05-13 10:17:06 +06:00
Sergey Lipskiy
17f2195801 Remove combiner update from FrameBufferList::attachDepthBuffer().
WEIRD:
If new combiner is created on CombinerInfo::get().update(), it than
works incorrect. Example: pause screen in Banjo Tooie.
!!!
2015-05-13 10:17:06 +06:00
Sergey Lipskiy
3b102d4ebd Fix texture filter usage. 2015-05-13 10:17:05 +06:00
Sergey Lipskiy
3e81c5a835 Enable CFB for Zilmar build. 2015-05-13 10:17:04 +06:00
Sergey Lipskiy
ac5159fe68 Fix RDRAMtoFrameBuffer::CopyFromRDRAM :
restore CHANGED_CPU_FB_WRITE flag after the draw.

Fixed CFB mode.
2015-05-13 10:17:04 +06:00
Sergey Lipskiy
13366a9c02 Set init value for VIInfo::lastOrigin to -1.
0 is valid origin value, so wrong buffer clear may occur.
2015-05-13 10:17:03 +06:00
Sergey Lipskiy
97c43d07c7 Correct VI_UpdateScreen(): avoid multiple calls of VI_UpdateSize(). 2015-05-13 10:17:02 +06:00
Sergey Lipskiy
949508d652 Correct VI_UpdateSize() cast float to u32. 2015-05-13 10:17:02 +06:00
Sergey Lipskiy
3fd33ec64b Correct OGLVideo::updateScale() to avoid division by zero. 2015-05-13 10:17:01 +06:00
Sergey Lipskiy
1c232c6a4e Correct VI_UpdateScreen(). 2015-05-13 10:17:00 +06:00
Sergey Lipskiy
7f6dd67db9 Correct set shader uniforms. 2015-05-13 10:17:00 +06:00
Sergey Lipskiy
3c9cdf5694 Add special blend mode for Donald Duck background. 2015-05-13 10:16:59 +06:00
Sergey Lipskiy
16e500fd92 Fix Prim shading mode.
Fixed sky in Topgear Rally, #217
2015-05-13 10:16:58 +06:00
Sergey Lipskiy
81f22895ec Correct alpha compare condition.
Fixed background in Topgear Rally, #217
2015-05-13 10:16:58 +06:00
Sergey Lipskiy
8e8b853e75 Corrected vertex shader. 2015-05-13 10:16:57 +06:00
Sergey Lipskiy
e6b1845142 Add blend mode for Donald Duck.
Fixed Disney's Donald Duck - Goin' Quakers: wrong texture in intro #104
2015-05-13 10:16:56 +06:00
Sergey Lipskiy
bdd9257f01 Code cleanup: remove unused QWordInterleave and swapdword. 2015-05-13 10:16:56 +06:00
Sergey Lipskiy
163d8a1505 Code cleanup in gDPLoadTile. 2015-05-13 10:16:55 +06:00
Sergey Lipskiy
d55c95d671 Fix gDPLoadTile: fixed bytes per line calculation.
Fixed Scars: wrong sky #200.
2015-05-13 10:16:54 +06:00
Sergey Lipskiy
6e3c1ec76f Skip degenerate rects.
Fixed scars europe: wrong position bar in game #221
2015-05-13 10:16:54 +06:00
Sergey Lipskiy
8e3679e321 Fix set vertex z in prim-depth mode.
Fixed flagshot in Mario Golf.
2015-05-13 10:16:53 +06:00
Sergey Lipskiy
0a9fa85fd6 Add special blend mode for Mario Golf flagshot.
WIP: need to fix depth issue
2015-05-13 10:16:52 +06:00
Sergey Lipskiy
fb898c3d4a Add support for special blend modes which Mace uses as part of the combiber.
Fixed Mace: white/wrong textures #219
2015-05-13 10:16:51 +06:00
Sergey Lipskiy
38386f2e22 Correct zelda_monochrome_fragment_shader. 2015-05-13 10:16:51 +06:00
Sergey Lipskiy
27cceff526 Code cleanup: remove unused functions from GLideNHQ/TxUtil 2015-05-13 10:16:50 +06:00
Sergey Lipskiy
bb89ec2dff Fix compilation errors in GLideN64 on Ubuntu64 2015-05-13 10:16:50 +06:00
Sergey Lipskiy
02de7a1385 Fix compilation errors in GLideNHQ under Ubuntu64.
Replace asm code by C++ one.
2015-05-13 10:16:49 +06:00
Sergey Lipskiy
e40bb68f51 Fix alpha compare when blnder uses fog alpha.
Fixed Lego racers: wrong map/shadows (regression) #211
2015-05-13 10:16:48 +06:00
Sergey Lipskiy
e0d71c78c0 Fix VI.width for non-interlaced mode.
Fixed vertical black bar in Mario Tennis.
2015-05-13 10:16:48 +06:00
Sergey Lipskiy
e139173e77 Fix mirror viewport. 2015-05-13 10:16:47 +06:00
Sergey Lipskiy
69cf6a1901 Fix release build for Mupen64Plus. 2015-05-13 10:16:46 +06:00
Sergey Lipskiy
e6fef73b67 Fix texrect for AllStarBaseball 2000-2001, issue #196 2015-05-13 10:16:45 +06:00
Sergey Lipskiy
a911c85881 Disable BranchLessZ logic for Zelda MM ucode since
it uses unknown format of test Z value.
2015-05-13 10:16:45 +06:00
Sergey Lipskiy
dce0019e9a Correct tile width and height masking.
Fix for commit 474398be.
Fixed Pokemon Snap: missing/black texture on beach #203
2015-05-13 10:16:44 +06:00
Sergey Lipskiy
a19758dcef Disable POLYGON_OFFSET for ZMODE_INTER.
Fixed polygons interpenetration in Duck Dodgers, #195
2015-05-13 10:16:43 +06:00