aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2015-03-09Merge pull request #643 from Subv/dem_feelsbunnei
GPU: Implemented more depth buffer formats.
2015-03-09GPU: Added the stencil test structure to the Pica Regs struct.Subv
2015-03-09GPU: Implemented more depth buffer formats.Subv
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
2015-03-09Added LCD registers, and implementation for color filling in OGL code.archshift
2015-03-09Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with ↵Tony Wasserka
incorrect winding order.
2015-03-08Update nihstro submodule to the initial release version.archshift
Includes more opcodes to implement in the future.
2015-03-07Merge pull request #636 from bunnei/refactor-screen-winbunnei
Set framebuffer layout from EmuWindow.
2015-03-07Set framebuffer layout from EmuWindow.bunnei
2015-03-07GPU/Textures: Fixed ETC texture decoding.Subv
2015-03-07Merge pull request #538 from yuriks/perf-statTony Wasserka
Add profiling infrastructure and widget
2015-03-03GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei
- Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
2015-03-01Add profiling infrastructure and widgetYuri Kunde Schlesner
2015-02-27Added RGBA5551 compatibility in the rasterizerarchshift
This allows Virtual Console games to display properly.
2015-02-26GPU: Implemented bits 3 and 1 from the display transfer flags.Subv
Bit 3 is used to specify a raw copy, where no processing is done to the data, seems to behave exactly as a DMA. Bit 1 is used to specify whether to convert from a tiled format to a linear format or viceversa.
2015-02-25Video core: Fix A4 texture decodingYuri Kunde Schlesner
It was trying to take the LSB from `coarse_x`, which would always be 0 and thus would always return the same texel from each byte. To add insult to the injury, the conditional was actually the wrong way around too. Fixes blocky text in OoT.
2015-02-25Video core: Fix pixelation/blockiness in textures.Yuri Kunde Schlesner
This was caused during morton decoding by me not masking the bits of each coordinate before merging them, so the bits from x could set bits in y if it was >255.
2015-02-24Rasterizer: Add support for RGBA4 framebuffer format.bunnei
2015-02-22Rasterize with the correct color component order.bunnei
- Fixes a regression with #594.
2015-02-22Merge pull request #593 from Subv/search_problemTony Wasserka
Pica/VertexShader: Fixed LOOP with more than one iteration.
2015-02-21Pica/VertexShader: Fixed LOOP with more than one iteration.Subv
Previously it wouldn't jump back to the start of the loop code once it reached the end of the block. Fixes the texture problems in a lot of games.
2015-02-20Merge pull request #588 from archshift/somebranchbunnei
Sweeping cleanup of Common
2015-02-19Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift
2015-02-18Rasterizer: Fixed a warning in GetWrappedTexCoord.Subv
Redeclaring the variable inside the switch was causing weird behavior.
2015-02-18Merge pull request #580 from lioncash/emplacebunnei
core/video_core: Use in-place construction where possible
2015-02-18Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED().Tony Wasserka
2015-02-18Pica/Rasterizer: Make some local lambdas static.Tony Wasserka
2015-02-18Pica/BlendUnit: Implement separate color/alpha blend equations.Tony Wasserka
2015-02-18Pica/TextureEnvironment: Add a note.Tony Wasserka
2015-02-18Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor.Tony Wasserka
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 ↵Tony Wasserka
clean up texture environment logic.
2015-02-18Pica/OutputMerger: Fix flipped framebuffers.Tony Wasserka
2015-02-18Pica/TextureUnit: Implement mirrored repeating texture wrapping.Tony Wasserka
2015-02-18Pica: Fix a bug in the register definitions, relating to texture wrapping.Tony Wasserka
2015-02-18Pica/OutputMerger: Implement color format checking.Tony Wasserka
2015-02-18Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners.Tony Wasserka
2015-02-18Pica/Rasterizer: Fix garbage pixels at triangle borders.Tony Wasserka
2015-02-18Pica/Rasterizer: Clean up and fix backface culling.Tony Wasserka
2015-02-18Pica: Cleanup clipping code and change screenspace z to range from -1..0.Tony Wasserka
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-18Pica/VertexShader: Implement the LOOP instruction.Tony Wasserka
2015-02-18Pica/CommandProcessor: Properly implement shader load destination offset ↵Tony Wasserka
registers.
2015-02-18Pica/CommandProcessor: Work around initialized vertex attributes some more.Tony Wasserka
2015-02-17core/video_core: Use in-place construction where possibleLioncash
2015-02-16VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument ↵Emmanuel Gil Peyrot
was Vec2<T> instead.
2015-02-15video_core: Implement the remaining framebuffer formats in the OpenGL renderer.Emmanuel Gil Peyrot
2015-02-14Merge pull request #529 from Subv/masterbunnei
Build: Fixed some warnings
2015-02-12Build: Fixed some warningsSubv
2015-02-11Fix Min and Max blend equationsDarius Goad
2015-02-10Asserts: break/crash program, fit to style guide; log.h->assert.harchshift
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-09Add more blend equations from 3dbrewDarius Goad
2015-02-04Rasterizer: Implement the other color and alpha modifiers.bunnei