summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-22Rasterize with the correct color component order.bunnei1-11/+24
- Fixes a regression with #594.
2015-02-19Rasterizer: Fixed a warning in GetWrappedTexCoord.Subv1-4/+4
Redeclaring the variable inside the switch was causing weird behavior.
2015-02-18Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED().Tony Wasserka1-5/+5
2015-02-18Pica/Rasterizer: Make some local lambdas static.Tony Wasserka1-8/+8
2015-02-18Pica/BlendUnit: Implement separate color/alpha blend equations.Tony Wasserka1-64/+58
2015-02-18Pica/TextureEnvironment: Add a note.Tony Wasserka1-0/+4
2015-02-18Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor.Tony Wasserka1-0/+2
Not really sure where the difference is, but some applications seem to use this 1:1 the same way...
2015-02-18Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic.Tony Wasserka1-0/+25
2015-02-18Pica/OutputMerger: Fix flipped framebuffers.Tony Wasserka1-0/+10
2015-02-18Pica/TextureUnit: Implement mirrored repeating texture wrapping.Tony Wasserka1-1/+9
2015-02-18Pica: Fix a bug in the register definitions, relating to texture wrapping.Tony Wasserka1-1/+1
2015-02-18Pica/OutputMerger: Implement color format checking.Tony Wasserka1-3/+12
2015-02-18Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners.Tony Wasserka1-2/+3
2015-02-18Pica/Rasterizer: Fix garbage pixels at triangle borders.Tony Wasserka1-1/+3
2015-02-18Pica/Rasterizer: Clean up and fix backface culling.Tony Wasserka1-11/+27
2015-02-18Pica: Cleanup clipping code and change screenspace z to range from -1..0.Tony Wasserka1-5/+6
The change in depth range seems to reflect better to what applications are expecting, and makes for cleaner code overall (hence is more likely to reflect hardware behavior).
2015-02-11Fix Min and Max blend equationsDarius Goad1-6/+8
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-5/+5
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-02-10Add more blend equations from 3dbrewDarius Goad1-1/+44
2015-02-05Rasterizer: Implement the other color and alpha modifiers.bunnei1-48/+49
2015-01-31Pica: Implement blend factors.bunnei1-4/+46
2015-01-28Pica: Implement color/alpha channel enable.bunnei1-1/+8
2015-01-27Rasterizer: Implemented alpha testing.bunnei1-4/+41
2015-01-26GPU: Implement the remaining depth testing functions.bunnei1-0/+20
2014-12-31Pica/Rasterizer: Remove some redundant casts.Tony Wasserka1-3/+3
2014-12-31Pica/Rasterizer: Make orient2d a free function and rename it to SignedArea.Tony Wasserka1-31/+38
2014-12-31Pica/Rasterizer: Fix a bug related to multitexturing and texture wrapping.Tony Wasserka1-2/+2
2014-12-31Pica/Rasterizer: Clean up long code lines.Tony Wasserka1-4/+8
2014-12-31Pica/Rasterizer: Implement backface culling.Tony Wasserka1-9/+21
2014-12-31Pica/Rasterizer: Textures seem to be laid out flipped vertically.Tony Wasserka1-1/+1
Not sure if this is a correct fix. Probably should instead change the decoding logic itself.
2014-12-31Pica/Rasterizer: Implement alpha blending.Tony Wasserka1-0/+84
2014-12-31Pica/Rasterizer: Implement depth testing.Tony Wasserka1-6/+33
2014-12-31Pica/Rasterizer: Further enhance Tev support.Tony Wasserka1-4/+19
2014-12-29Rasterizer: Pre-divide vertex attributes by WYuri Kunde Schlesner1-5/+2
Execute the division-by-W for perspective-correct interpolation of values in the clipper, moving them out of the rasterization inner loop.
2014-12-29Rasterizer: Common sub-expression eliminationYuri Kunde Schlesner1-14/+17
Move the computation of some values out of loops so that they're not constantly recalculated even when they don't change.
2014-12-21License changepurpasmart961-1/+1
2014-12-20Pica/Rasterizer: Get rid of C-style casts.Tony Wasserka1-4/+4
2014-12-20Pica: Unify ugly address translation hacks.Tony Wasserka1-4/+4
2014-12-20Pica: Further improve Tev emulation.Tony Wasserka1-10/+42
2014-12-20Pica: Merge texture lookup logic for DebugUtils and Rasterizer.Tony Wasserka1-46/+3
This effectively adds support for a lot texture formats in the rasterizer.
2014-12-20Pica: Implement texture wrapping.Tony Wasserka1-1/+20
2014-12-20Pica: Initial support for multitexturing.Tony Wasserka1-17/+41
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-6/+6
2014-10-08Fix warnings in video_coreLioncash1-6/+6
2014-08-26VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei1-3/+3
2014-08-25Pica/Rasterizer: Clarify a TODO.Tony Wasserka1-1/+3
2014-08-25Pica/Rasterizer: Add texturing support.Tony Wasserka1-0/+64
2014-08-25Pica/Rasterizer: Add initial implementation of texture combiners.Tony Wasserka1-1/+121
2014-08-25Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly.Tony Wasserka1-16/+16
- Swizzlers now return const objects so that things like "first_vec4.xyz() = some_vec3" now will fail to compile (ideally we should support some vector holding references to make this actually work). - The methods "InsertBeforeX/Y/Z" and "Append" have been replaced by more versions of MakeVec, which now also supports building new vectors from vectors. - Vector library now follows C++ type promotion rules (hence, the result of Vec2<u8> with another Vec2<u8> is now a Vec2<int>).
2014-08-12Pica: Add basic rasterizer.Tony Wasserka1-0/+180