aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer.cpp
AgeCommit message (Collapse)Author
2016-03-05Pica: Write depth value even when depth test is disabledYuri Kunde Schlesner
This has been confirmed on hardware. Fixes Etrian Odyssey IV.
2016-03-02Add immediate mode vertex submissionDwayne Slater
2015-11-30PICA: Properly emulate 1-stage delay in the combiner bufferYuri Kunde Schlesner
This was discovered and verified by @fincs. The tev combiner buffer actually lags behind by one stage, meaning stage 1 reads the initial color, stage 2 reads stage 0's output, and so on. Fixes character portraits in Fire Emblem: Awakening and world textures in Zelda: ALBW. Closes #1140.
2015-10-09CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.Emmanuel Gil Peyrot
The LOG_* function itself already appends one.
2015-09-29fix some xcode 7.0 warningsMartin Lindhe
2015-09-16general: Silence some warnings when using clangLioncash
2015-09-11video_core: Reorganize headersLioncash
2015-08-29Merge pull request #1049 from Subv/stencilbunnei
Rasterizer: Corrected the stencil implementation.
2015-08-24Integrate the MicroProfile profiling libraryYuri Kunde Schlesner
This brings goodies such as a configurable user interface and multi-threaded timeline view.
2015-08-21SWRasterizer: Implemented stencil ops 6 and 7.Subv
IncrementWrap and DecrementWrap, verified with hwtests.
2015-08-21SWRasterizer: Implemented stencil action 1 (GL_ZERO).Subv
Verified with hwtests.
2015-08-21SWRasterizer: Removed a todo. Verified with hwtests.Subv
2015-08-21SWRenderer: The stencil depth_pass action is executed even if depth testing ↵Subv
is disabled. The HW renderer already did this.
2015-08-21Rasterizer: Abstract duplicated stencil code into a lambda.Subv
2015-08-20GPU/Rasterizer: Corrected the stencil implementation.Subv
Verified the behavior with hardware tests.
2015-08-15Shader: Move shader code to its own subdirectory, "shader".bunnei
2015-08-15GPU: Refactor "VertexShader" namespace to "Shader".bunnei
- Also renames "vertex_shader.*" to "shader_interpreter.*"
2015-07-26VideoCore: #ifdef out some debugging routinesYuri Kunde Schlesner
Some disabled debugging functionality was being called from rendering routines in VideoCore. Although disabled, many of them still allocated memory or did some extra work that was enough to show up in a profiler. Gives a slight (~2ms) speedup.
2015-07-21GPU: Added registers for min and mag texture filters and implemented them in ↵Subv
the hw renderer.
2015-07-14VideoCore: Implement the DOT3_RGB combinerLectem
2015-07-13Pica: Implement stencil testing.Tony Wasserka
2015-07-09Added GL_CLAMP_TO_BORDER supportLectem
2015-05-31Merge pull request #811 from archshift/commonifyarchshift
Commonify video_core utility headers
2015-05-31Pica: Use zero for the SecondaryFragmentColor source.bunnei
- This is a workaround until we support fragment lighting.
2015-05-31rasterizer: Remove unnecessary 'using' for BlendEquation.bunnei
2015-05-31Pica: Implement LogicOp function.bunnei
2015-05-31rasterizer: Implement AddSigned combiner function for alpha channel.bunnei
2015-05-30Move video_core/color.h to common/color.harchshift
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-22Pica: Create 'State' structure and move state memory there.bunnei
2015-05-22OpenGL renderertfarley
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
2015-05-12GPU: Add more fine grained profiling for vertex shader and rasterizationYuri Kunde Schlesner
2015-05-09rasterizer: Implemented combiner output scaling.bunnei
2015-05-09rasterizer: Implemented AddSigned combiner op.bunnei
2015-05-09rasterizer: Fixed a depth testing bug.bunnei
2015-05-09rasterizer: Implement combiner buffer input.bunnei
2015-05-09rasterizer: Return zero'd vectors on error conditions.bunnei
2015-05-09Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner
2015-05-09Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner
Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
2015-04-09Silence some -Wsign-compare warnings.Rohit Nirmal
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-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-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-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-18Rasterizer: Fixed a warning in GetWrappedTexCoord.Subv
Redeclaring the variable inside the switch was causing weird behavior.
2015-02-18Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED().Tony Wasserka