Commit Graph

398 Commits

Author SHA1 Message Date
Unknown W. Brackets
f2b3d6fb50 Buildfix, should be in GLES. 2013-03-02 13:17:04 -08:00
Henrik Rydgard
516ca8a0c4 Merge branch 'master' into armjit-fpu
Conflicts:
	Core/MIPS/ARM/ArmJit.h
	Core/MIPS/x86/CompVFPU.cpp
	GPU/GLES/Framebuffer.cpp
2013-02-28 23:56:28 +01:00
raven02
e15df27c4a New isAlphaBlendEnabled() & isDitherEnabled() 2013-02-27 22:37:17 +08:00
raven02
ecb4de09a6 Put ditherenable & alphaBlendEnable as function 2013-02-27 22:36:09 +08:00
Unknown W. Brackets
347eb253dc Oops, will crash if we remove the end? 2013-02-25 14:04:47 -08:00
raven02
b36782a064 Fix shadow abormal in FF Type-0 2013-02-26 00:41:37 +08:00
raven02
65e6b90f7c Add DirtyUniform(DIRTY_COLORMASK) 2013-02-25 05:59:53 +08:00
raven02
d99ca71a47 Add u_colormask and use it in enableColorTest 2013-02-25 05:45:35 +08:00
Unknown W. Brackets
de7ada1982 Fix some x64 type warnings. 2013-02-24 10:39:06 -08:00
Unknown W. Brackets
64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08:00
Henrik Rydgård
a680bed1d2 Merge pull request #778 from raven02/patch-2
Fix characters disappearance in Saint Seiya Omega
2013-02-24 02:14:09 -08:00
raven02
24debfd259 Add !(gstate.zmsk & 1); to depthMask and remove duplicate GE_CMD_MATERIALUPDATE (exists in line69) 2013-02-24 17:50:05 +08:00
Unknown W. Brackets
65467bae1f Flush on any clutaddr change, even just upper.
Fixes ClaDun black boxes, wrong colors in game.
2013-02-23 23:25:32 -08:00
raven02
5105c6cd93 Add glstate.stencilTest.disable(); 2013-02-24 02:44:52 +08:00
raven02
6b22266a00 Add glstate.depthTest.disable(); 2013-02-24 02:18:18 +08:00
raven02
b1db09b84f Add missing glClearColor(0,0,0,1); 2013-02-24 02:17:16 +08:00
raven02
cee27a9db6 Group GE_CMD_CLUTFORMAT 2013-02-24 02:05:06 +08:00
raven02
8e550d9578 Set float for glstate.depthRange.set(0.0f, 1.0f) 2013-02-23 23:26:58 +08:00
raven02
689da2c577 Add glClearColor(0,0,0,1); 2013-02-23 18:22:55 +08:00
raven02
dd90e93403 glClearColor(0,0,0,1); 2013-02-23 16:23:24 +08:00
Henrik Rydgard
94bb98d477 Enable color and depth buffer write before clearing. 2013-02-22 22:15:42 +01:00
Henrik Rydgard
44e2a69258 gpu: Clean up "Clear" mode handling. 2013-02-21 21:52:12 +01:00
Henrik Rydgard
28979e9250 Some work toward better FBO handling. Fixes some things, breaks some things.. 2013-02-21 21:37:19 +01:00
Henrik Rydgard
7995d1418c Safer float->u16 cast. 2013-02-21 19:10:30 +01:00
Henrik Rydgård
d9e1faa9c4 Merge pull request #748 from raven02/hw-fix
Fix texture stretched vertically in HW T&L
2013-02-20 14:56:20 -08:00
Henrik Rydgard
690ebb2e58 Proper fix for the annoying through-mode depth issues. 2013-02-20 22:49:41 +01:00
raven02
d3413681e5 Fix texture stretched vertically in HW T&L 2013-02-20 20:32:18 +08:00
Henrik Rydgard
eb130db387 Fix sign of depth in "Through" projection matrix. Thanks xele02. Fixes ToE, Dissidia, etc. 2013-02-20 00:13:18 +01:00
Henrik Rydgard
67272ec271 Scale Z to 0...1 in through mode.
(alternatively, could try setting through mode depth range to 65536..0)
2013-02-19 21:38:19 +01:00
Henrik Rydgård
d72d59f4b8 Merge pull request #742 from raven02/patch-2
Minor cleanup and use byte(b)/short(s)/float(p)
2013-02-19 11:43:42 -08:00
Henrik Rydgård
d47c9fa999 Merge pull request #744 from raven02/truecolor
Toggle 32 bit truecolor in option , default true
2013-02-19 11:42:36 -08:00
raven02
c0dc85b99d Toggle 32 bit truecolor in option , default true
Update Core/Config.cpp
2013-02-20 02:10:35 +08:00
raven02
2745bb4f14 pos[0]/[1] are signed while pos[2] is unsigned in 2D transform 2013-02-20 01:37:19 +08:00
raven02
9e38174b14 Clamp pos[2] when transform 2D only 2013-02-20 01:11:26 +08:00
raven02
2ed1b9ee0b Minor cleanup and use byte(b)/short(s)/float(p) 2013-02-20 00:20:00 +08:00
raven02
9eaf58773b Add 8 bit for weight type 1 2013-02-19 22:55:46 +08:00
raven02
5ba1775572 pos[2] larger than 65535 is clamped to 65535 and not 0 2013-02-19 22:39:38 +08:00
oioitff
83b2849192 pos[2] is limited between 0 and 65535
fix the black screen issue for Toaru Majutsu no Index, and Toaru Kagaku no Railgun.
2013-02-19 19:17:15 +08:00
Henrik Rydgard
e32721c72a Merge branch 'master' into armjit-fpu
Conflicts:
	Core/MIPS/MIPSVFPUUtils.cpp
	Core/MIPS/x86/CompVFPU.cpp
	GPU/GLES/VertexDecoder.cpp
2013-02-19 00:50:33 +01:00
Henrik Rydgard
7c91802e3c Add some infrastructure to be used for frameskipping 2013-02-19 00:45:26 +01:00
Henrik Rydgard
f8058e4bae Disable warning for bad prefix as it floods in Wipeout Pulse. Cleanups. 2013-02-19 00:45:25 +01:00
Unknown W. Brackets
d8b1ea22f5 Cleanup some warnings and reuse some vars. 2013-02-18 08:34:51 -08:00
Sacha
7f2e13c82a Fix framebuffer init. Why was it like that? 2013-02-18 23:55:41 +10:00
Xele02
0fefca672d Add 2 step mode for display list : Go to selected line and go to next draw using selected texture 2013-02-17 21:43:44 +01:00
raven02
45e4919fe9 Change .f to .0f etc. 2013-02-17 21:26:23 +08:00
raven02
2bf958b06f Stylish the case DEC_U8_2/DEC_U16_2/DEC_FLOAT_2 2013-02-17 20:50:17 +08:00
Xele02
2a6af9b8a3 Add displayList debug dialog 2013-02-17 01:28:43 +01:00
Henrik Rydgard
0eabc80c3e Small optimizations and fixes to vertex decoder 2013-02-16 09:28:55 +01:00
Henrik Rydgard
44e4ba8772 Merge branch 'master' into armjit-fpu 2013-02-15 21:42:44 +01:00
Henrik Rydgard
456172c5a6 Small optimizations and fixes to vertex decoder 2013-02-15 21:41:29 +01:00