aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
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.
2018-11-29gl_rasterizer: Enable clip distances when set in register and in shaderReinUsesLisp
2018-11-29gl_shader_manager: Update pipeline when programs have changedReinUsesLisp
2018-11-28gl_rasterizer_cache: Remove BlitSurface and replace with more accurate copy.bunnei
- BlitSurface with different texture targets is inherently broken. - When target is the same, we can just use FastCopySurface. - Fixes rendering issues with Breath of the Wild.
2018-11-28gl_shader_decompiler: Remove texture temporal in TLD4ReinUsesLisp
2018-11-28gl_shader_decompiler: Flip negated if else statementReinUsesLisp
2018-11-28gl_shader_decompiler: Use GLSL scope on instructions unrelated to texturesReinUsesLisp
2018-11-28gl_shader_decompiler: Move texture code generation into lambdasReinUsesLisp
2018-11-28gl_shader_decompiler: Clean up texture instructionsReinUsesLisp
2018-11-28gl_shader_decompiler: Scope GLSL variables with a scoped objectReinUsesLisp
2018-11-28gl_rasterizer: Signal UNIMPLEMENTED when rt_separate_frag_data is not zeroReinUsesLisp
2018-11-28gl_rasterizer_cache: Use brackets for two-line single-expresion blocksReinUsesLisp
2018-11-28gl_rasterizer: Remove unused struct declarationsReinUsesLisp
2018-11-28gl_rasterizer: Remove extension booleansReinUsesLisp
2018-11-28Merge pull request #1808 from Tinob/masterbunnei
Fix clip distance and viewport
2018-11-28Merge pull request #1786 from Tinob/DepthClampbunnei
Add Depth Clamp Support
2018-11-28Merge pull request #1792 from bunnei/dma-pusherbunnei
gpu: Rewrite GPU command list processing with DmaPusher class.
2018-11-27Merge pull request #1735 from FernandoS27/tex-spacingbunnei
Texture decoder: Implemented Tile Width Spacing
2018-11-27dma_pushbuffer: Optimize to avoid loop and copy on Push.bunnei
2018-11-27gpu: Move command list profiling to DmaPusher::DispatchCalls.bunnei
2018-11-27gl_shader_decompiler: Fixup clip distance indexReinUsesLisp
2018-11-27gl_rasterizer: Fixup for #1723.Markus Wick
On invalidating the streaming buffer, we need to reupload all vertex buffers. But we don't need to reconfigure the vertex format. This was a (silly) misstake in #1723. Thanks at Rodrigo for discovering the issue. Fun fact, as configuring the vertex format also invalidate the vertex buffer, this misstake had no affect on the behavior.
2018-11-26gpu: Rewrite GPU command list processing with DmaPusher class.bunnei
- More accurate impl., fixes Undertale (among other games).
2018-11-27remove viewport_transform_enabled as it seems to be inactive when valid ↵Rodolfo Bogado
transforms are used.
2018-11-26morton: Fixup compiler warningReinUsesLisp
2018-11-26Implement depth clampRodolfo Bogado
2018-11-26Add support for Clip Distance enabled registerRodolfo Bogado
2018-11-26Merge pull request #1794 from Tinob/masterbunnei
Add support for viewport_transfom_enable register
2018-11-26Merge pull request #1723 from degasus/dirty_flagsbunnei
gl_rasterizer: Skip VB upload if the state is clean.
2018-11-26GPU States: Implement Polygon Offset. This is used in SMO all the time. (#1784)Marcos
* GPU States: Implement Polygon Offset. This is used in SMO all the time. * Clang Format fixes. * Initialize polygon_offset in the constructor.
2018-11-26Merge pull request #1713 from FernandoS27/bra-ccbunnei
Implemented BRA CC conditional and FSET CC Setting
2018-11-26Merge pull request #1798 from ReinUsesLisp/y-directionbunnei
gl_shader_decompiler: Implement S2R's Y_DIRECTION
2018-11-26Implemented Tile Width SpacingFernandoS27
2018-11-25Merge pull request #1763 from ReinUsesLisp/bfibunnei
gl_shader_decompiler: Implement BFI_IMM_R
2018-11-25Merge pull request #1760 from ReinUsesLisp/r2pbunnei
gl_shader_decompiler: Implement R2P_IMM
2018-11-25Merge pull request #1782 from FernandoS27/dcbunnei
Fixed Coordinate Encodings in TEX and TEXS instructions
2018-11-25Merge pull request #1783 from ReinUsesLisp/clip-distancesbunnei
gl_shader_decompiler: Implement clip distances
2018-11-25Merge pull request #1796 from ReinUsesLisp/morton-movebunnei
video_core: Move morton functions out of gl_rasterizer_cache
2018-11-25Limit the amount of viewports tested for state changes only to the usable onesRodolfo Bogado