aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2015-09-03OpenGL: Use Sampler Objects to decouple sampler config from texturesYuri Kunde Schlesner
Fixes #978
2015-09-03OpenGL: Remove ugly and endian-unsafe color pointer castsYuri Kunde Schlesner
2015-09-03OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner
2015-09-03Merge pull request #1087 from yuriks/opengl-gladYuri Kunde Schlesner
Replace the previous OpenGL loader with a glad-generated 3.3 one
2015-09-02Merge pull request #1088 from aroulin/x64-emitter-abi-callbunnei
x64: Proper stack alignment in shader JIT function calls
2015-09-02video_core: Fix format specifiers warningsaroulin
2015-09-01x64: Proper stack alignment in shader JIT function callsaroulin
Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files
2015-08-31Merge pull request #1092 from Subv/vertex_offsetTony Wasserka
Pica: Add the vertex_offset register to the Pica registers map.
2015-08-31Pica: Added the primitive_restart register (0x25f) to the registers map.Subv
2015-08-31Pica: Add the vertex_offset register to the Pica registers map.Subv
2015-08-31Shader JIT: Fix SGE/SGEI NaN behavioraroulin
SGE was incorrectly emulated w.r.t. NaN behavior as the CMPSS SSE instruction was used with NLT
2015-08-30Merge pull request #1059 from Subv/vertex_offsetbunnei
GPU: Implemented register 0x22A PICA_REG_DRAW_VERTEX_OFFSET
2015-08-30GPU: Implemented register 0x22A.Subv
This is the equivalent of the "first" parameter in glDrawArrays, it tells the GPU the vertex index at which to start rendering. Register 0x22A doesn't affect indexed rendering.
2015-08-30Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner
The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
2015-08-29Merge pull request #1049 from Subv/stencilbunnei
Rasterizer: Corrected the stencil implementation.
2015-08-27Merge pull request #1065 from yuriks/shader-fpYuri Kunde Schlesner
Shader FP compliance fixes
2015-08-27gl_rasterizer_cache: Detect and ignore unnecessary texture flushes.bunnei
2015-08-27Shader JIT: Fix float to integer rounding in MOVAaroulin
MOVA converts new address register values from floats to integers using truncation
2015-08-26Shader JIT: ifdef out reference to ifdef'd out shader_maparchshift
shader_map was only defined on x86 architectures, but was cleared on shutdown with no ifdef protection. Ifdef this out so non-x86 architectures can be built.
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-24Merge pull request #1063 from Subv/hw_renderer_debug_fbbunnei
HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer is in use during a breakpoint
2015-08-24HWRenderer: Added a workaround for the Intel Windows driver bug that causes ↵Subv
glTexSubImage2D to not change the stencil buffer. Reported here https://communities.intel.com/message/324464
2015-08-24fixup! Shaders: Fix multiplications between 0.0 and infYuri Kunde Schlesner
2015-08-24Shader JIT: Tiny micro-optimization in DPHYuri Kunde Schlesner
2015-08-24Shaders: Fix multiplications between 0.0 and infYuri Kunde Schlesner
The PICA200 semantics for multiplication are so that when multiplying inf by exactly 0.0, the result is 0.0, instead of NaN, as defined by IEEE. This is relied upon by games. Fixes #1024 (missing OoT interface items)
2015-08-24Shaders: Explicitly conform to PICA semantics in MAX/MINYuri Kunde Schlesner
2015-08-24Shader JIT: Add name to second scratch register (XMM4)Yuri Kunde Schlesner
2015-08-24shader_jit: Replace two MDisp usages with MatRLioncash
2015-08-24Shader JIT: Fix CMP NaN behavior to match hardwareYuri Kunde Schlesner
2015-08-23Merge pull request #1062 from aroulin/shader-rcp-rsqbunnei
Shader: RCP and RSQ computes only the 1st component
2015-08-23HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer ↵Subv
is in use during a breakpoint.
2015-08-23Shader: Use std::sqrt for float instead of sqrtaroulin
2015-08-23Shader: RCP and RSQ computes only the 1st componentaroulin
2015-08-22Shader: implement DPH/DPHI in JITaroulin
2015-08-22Shader: implement DPH/DPHI in interpreteraroulin
Tests revealed that the component with w=1 is SRC1 and not SRC2, it is now fixed on 3dbrew.
2015-08-21HWRasterizer: Implemented stencil ops 6 and 7.Subv
2015-08-21SWRasterizer: Implemented stencil ops 6 and 7.Subv
IncrementWrap and DecrementWrap, verified with hwtests.
2015-08-21HWRasterizer: Implemented stencil op 1 (GL_ZERO)Subv
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-20GLRasterizer: Implemented stencil testing in the hw renderer.Subv
2015-08-20GPU/Rasterizer: Corrected the stencil implementation.Subv
Verified the behavior with hardware tests.
2015-08-19Shader: implement SGE, SGEI and SLT in JITaroulin
2015-08-19Shader: implement SGE, SGEI in interpreteraroulin
2015-08-18Merge pull request #1047 from aroulin/shader-ex2-lg2bunnei
Shader: Save caller-saved registers in JIT before a CALL
2015-08-19Shader: Save caller-saved registers in JIT before a CALLaroulin
2015-08-18Merge pull request #1037 from aroulin/shader-ex2-lg2bunnei
Shader: Implement EX2 and LG2 in interpreter/JIT
2015-08-16Merge pull request #1034 from yuriks/rg8-texturesbunnei
videocore: Added RG8 texture support