aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-01-08gl_global_cache: Add dummy global cache managerReinUsesLisp
2019-01-07Merge pull request #1999 from ReinUsesLisp/dirty-shaderbunnei
gl_shader_cache: Use dirty flags for shaders
2019-01-07gl_shader_cache: Use dirty flags for shadersReinUsesLisp
2019-01-05gl_rasterizer_cache: Use GL_STREAM_COPY for PBOsReinUsesLisp
Since the data is doing the path CPU -> GPU -> GPU copy is the most approximate hint. Using GL_STREAM_DRAW generated a performance warning on Nvidia's stack. Changing this hint removed the warning.
2019-01-02Merge pull request #1961 from ReinUsesLisp/tex-view-2dbunnei
gl_rasterizer_cache: Texture view if shader samples array but OGL is not
2018-12-29gl_rasterizer_cache: Texture view if shader samples array but OGL is notReinUsesLisp
When a shader samples a texture array but that texture in OpenGL is created without layers, use a texture view to increase the texture hierarchy. For example, instead of binding a GL_TEXTURE_2D bind a GL_TEXTURE_2D_ARRAY view.
2018-12-28gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.bunnei
- Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild.
2018-12-27Add missing uintBitsToFloat to SetRegisterToHalfFloatRodolfo Bogado
2018-12-27Merge pull request #1892 from Tinob/masterbunnei
Improve Zero flag implementation
2018-12-26renderer_opengl: Correct forward declaration of FramebufferLayoutLioncash
This is actually a struct, not a class, which can lead to compilation warnings.
2018-12-26Apply CC test to the final value to be stored in the registerRodolfo Bogado
2018-12-26Fixed shader linking error due to TLDS (#1934)David
* Fixed shader linking error due to TLDS coord should be coords * Fix remaining coords
2018-12-26shader_bytecode: Fixup TEXS.F16 encodingReinUsesLisp
2018-12-23Merge pull request #1886 from FearlessTobi/port-4164bunnei
Port citra-emu/citra#4164: "citra_qt, video_core: Screenshot functionality"
2018-12-22Includde saturation in the evaluation of the control codeRodolfo Bogado
2018-12-22Handle RZ cases evaluating the expression instead of the register value.Rodolfo Bogado
2018-12-22complete emulation of ZeroFlagRodolfo Bogado
2018-12-21Merge pull request #1921 from ogniK5377/no-unitbunnei
Fixed uninitialized memory due to missing returns in canary
2018-12-21Merge pull request #1920 from heapo/texture_format_selectionbunnei
Texture format fixes for RGBA16UI for copies and R16U when used as depth
2018-12-19Merge pull request #1909 from heapo/shadow_sampling_fixesbunnei
Fix arrayed texture LOD selection and depth comparison ordering
2018-12-19hopefully fix clang format issueDavid Marcec
2018-12-19Fixed uninitialized memory due to missing returns in canaryDavid Marcec
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
2018-12-18yuzu, video_core: Screenshot functionalityzhupengfei
Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
2018-12-18Texture format fixes: Flag RGBA16UI as GL_RGBA_INTEGER format, and interpret ↵heapo
R16U as Z16 when depth_compare is enabled.
2018-12-18shader_bytecode: Fixup half float's operator B encodingReinUsesLisp
2018-12-17Implement postfactor multiplication/division for fmul instructionsheapo
2018-12-17Fix arrayed shadow sampler array slice/depth comparison ordering, as well as ↵heapo
invalid GLSL LOD selection.
2018-12-11Merge pull request #1893 from lioncash/warnbunnei
gl_shader_cache: Resolve truncation compiler warning
2018-12-11Merge pull request #1888 from marcosvitali/glFrontFacingbunnei
gl_shader_decompiler: IPA fix FrontFacing.
2018-12-10gl_shader_cache: Dehardcode constant in CalculateProgramSize()Lioncash
This constant is related to the size of the instruction.
2018-12-10gl_shader_cache: Resolve truncation compiler warningLioncash
The previous code would cause a warning, as it was truncating size_t (64-bit) to a u32 (32-bit) implicitly.
2018-12-10Merge pull request #1740 from FernandoS27/shader_propsbunnei
Implemented Shader Unique Identifiers
2018-12-09gl_shader_decompiler: IPA FrontFacing: the right value when is the front ↵Marcos Vitali
face is 0xFFFFFFFF.
2018-12-09Implemented a shader unique identifier.Fernando Sahmkow
2018-12-07gl_shader_decompiler: TLDS/TLD4/TLD4S Reworked reflecting the source ↵Marcos Vitali
registers, bugs fixed and modularize.
2018-12-06Merge pull request #1824 from ReinUsesLisp/fbcachebunnei
gl_rasterizer: Implement a framebuffer cache
2018-12-05gl_shader_decompiler: Implement TEXS.F16ReinUsesLisp
2018-12-05gl_shader_decompiler: Fixup inverted ifReinUsesLisp
2018-12-04Improve msvc codegen for hot-path array LUTsheapo
In some constexpr functions, msvc is building the LUT at runtime (pushing each element onto the stack) out of an abundance of caution. Moving the arrays into be file-scoped constexpr's avoids this and turns the functions into simple look-ups as intended.
2018-12-04Rewrited TEX/TEXS (TEX Scalar). (#1826)Marcos
* Rewrited TEX/TEXS (TEX Scalar). * Style fixes. * Styles issues.
2018-12-04Merge pull request #1854 from Subv/old_command_processorbunnei
Don't try to route PFIFO methods (0-0x40) to the other engines.
2018-12-03Removed unused file.Subv
This is a leftover from #1792
2018-12-03GPU: Don't try to route PFIFO methods (0-0x40) to the other engines.Subv
2018-12-03Merge pull request #1822 from ReinUsesLisp/glsl-scopebunnei
gl_shader_decompiler: Introduce a scoped object and style changes
2018-12-01Merge pull request #1827 from ReinUsesLisp/clip-and-shaderbunnei
gl_rasterizer: Enable clip distances when set in register and in shader
2018-12-01Merge pull request #1825 from ReinUsesLisp/shader-pipeline-cachebunnei
gl_shader_manager: Update pipeline when programs have changed
2018-12-01Merge pull request #1795 from ReinUsesLisp/vc-cleanupbunnei
video_core: Minor style changes
2018-12-01Merge pull request #1823 from bunnei/fix-surface-copybunnei
gl_rasterizer_cache: Fix several surface copy issues.
2018-12-01Fix debug buildLioncash
A non-existent parameter was left in some formatting calls (the logging macro for which only does anything meaningful on debug builds)
2018-11-29gl_rasterizer_cache: Update AccurateCopySurface to flush complete source ↵bunnei
surface. - Fixes issues with Breath of the Wild with use_accurate_gpu_emulation setting.