aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2018-03-16Merge pull request #241 from Subv/gpu_method_callbunnei
GPU: Process command mode 5 (IncreaseOnce) differently from other commands
2018-03-16GPU: Process command mode 5 (IncreaseOnce) differently from other commands.Subv
Accumulate all arguments before calling the desired method. Note: Maybe we should do the same for the NonIncreasing mode?
2018-03-16GPU: Assert that we get a 0 CODE_ADDRESS register in the 3D engine.Subv
Shader address calculation depends on this value to some extent, we do not currently know what it being 0 entails.
2018-03-16GPU: Added Maxwell registers for Shader Program control.Subv
2018-03-04GPU: Intercept writes to the VERTEX_END_GL register.Subv
This is the register that gets written after a game calls DrawArrays(). We should collect all GPU state and draw using our graphics API here.
2018-02-13maxwell_3d: Make constructor explicitLioncash
2018-02-13Merge pull request #187 from Subv/maxwell3d_querybunnei
GPU: Partially implemented the QUERY_* registers in the Maxwell3D engine.
2018-02-12Merge pull request #178 from Subv/command_buffersbunnei
GPU: Added a command processor to decode the GPU pushbuffers and forward the commands to their respective engines
2018-02-12GPU: Partially implemented the QUERY_* registers in the Maxwell3D engine.Subv
Only QueryMode::Write is supported at the moment.
2018-02-11Make a GPU class in VideoCore to contain the GPU state.Subv
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there.
2018-02-11GPU: Added a command processor to decode the GPU pushbuffers and forward the ↵Subv
commands to their respective engines.
2018-02-11renderer_opengl: Support framebuffer flip vertical.bunnei
2018-01-27memory: Replace all memory hooking with Special regionsMerryMage
2018-01-20Format: Run the new clang format on everythingJames Rowe
2018-01-17CMakeLists: Derive the source directory grouping from targets themselvesLioncash
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
2018-01-16clang-formatMerryMage
2018-01-15renderer_gl: Clear screen to black before rendering framebuffer.bunnei
2018-01-14renderer: Render previous frame when no new one is available.bunnei
2018-01-13Fix build on macOS and linuxMerryMage
2018-01-12Remove gpu debugger and get yuzu qt to compileJames Rowe
2018-01-12Remove references to PICA and rasterizers in video_coreJames Rowe
2018-01-11renderer_opengl: Fix LOG_TRACE in LoadFBToScreenInfo.bunnei
2018-01-10renderer_opengl: Support rendering Switch framebuffer.bunnei
2018-01-10render_base: Add a struct describing framebuffer metadata.bunnei
2018-01-10renderer_opengl: Add MortonCopyPixels function for Switch framebuffer.bunnei
2018-01-10renderer_opengl: Update DrawScreens for Switch.bunnei
2018-01-01core/video_core: Fix a bunch of u64 -> u32 warnings.bunnei
2017-10-14hle: Initial implementation of NX service framework and IPC.bunnei
2017-10-04Extracted the attribute setup and draw commands into their own functionsHuw Pascoe
2017-09-30Fixed type conversion ambiguityHuw Pascoe
2017-09-27Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.Subv
It is unlikely we will ever use this without first doing a Cast to a signed type. Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3
2017-09-25Merge pull request #2951 from huwpascoe/perf-4B3n30
Optimized Morton
2017-09-25Optimized Float<M,E> multiplicationHuw Pascoe
Before: ucomiss xmm1, xmm1 jp .L9 pxor xmm2, xmm2 mov edx, 1 ucomiss xmm0, xmm2 setp al cmovne eax, edx test al, al jne .L9 .L3: movaps xmm0, xmm2 ret .L9: ucomiss xmm0, xmm0 jp .L10 pxor xmm2, xmm2 mov edx, 1 ucomiss xmm1, xmm2 setp al cmovne eax, edx test al, al je .L3 After: movaps xmm2, xmm1 mulss xmm2, xmm0 ucomiss xmm2, xmm2 jnp .L3 ucomiss xmm1, xmm0 jnp .L11 .L3: movaps xmm0, xmm2 ret .L11: pxor xmm2, xmm2 jmp .L3
2017-09-24Optimized MortonHuw Pascoe
2017-09-24Merge pull request #2921 from jroweboy/batch-fix-2James Rowe
GPU: Add draw for immediate and batch modes
2017-09-23Remove pipeline.gpu_mode and fix minor issuesJames Rowe
2017-09-22Merge pull request #2928 from huwpascoe/masterYuri Kunde Schlesner
Fixed framebuffer warning
2017-09-17Improved performance of FromAttributeBufferHuw Pascoe
Ternary operator is optimized by the compiler whereas std::min() is meant to return a value. I've noticed a 5%-10% emulation speed increase.
2017-09-17Fixed framebuffer warningHuw Pascoe
2017-09-16Merge pull request #2900 from wwylele/clip-2Yuri Kunde Schlesner
PICA: implement custom clip plane
2017-09-11GPU: Add draw for immediate and batch modesJames Rowe
PR #1461 introduced a regression where some games would change configuration even while in the poorly named "drawing" mode, which broke the heuristic citra was using to determine when to draw the batch. This change adds back in a draw call for batching, and also adds in a draw call in immediate mode each time it adds a triangle.
2017-09-07Merge pull request #2865 from wwylele/gs++bunnei
PICA: implemented geometry shader
2017-09-05Merge pull request #2914 from wwylele/fresnel-fixbunnei
pica/lighting: only apply Fresnel factor for the last light
2017-09-03pica/lighting: only apply Fresnel factor for the last lightwwylele
2017-08-31video_core: report telemetry for gas modewwylele
2017-08-30Merge pull request #2891 from wwylele/sw-bumpbunnei
SwRasterizer/Lighting: implement bump mapping
2017-08-28Merge pull request #2892 from Subv/warnings2Weiyi Wang
Warnings: Fixed a few missing-return warnings in video_core.
2017-08-26Warnings: Fixed a few missing-return warnings in video_core.Subv
2017-08-25SwRasterizer/Clipper: flip the sign convention to match PICA and OpenGLwwylele
2017-08-25gl_rasterizer: implement custom clip planewwylele