FernandoS27
7b9c982d29
Add more info into textures' object labels
7 years ago
Marcos Vitali
f4fa7ecb0e
gl_shader_decompiler: TLDS/TLD4/TLD4S Reworked reflecting the source registers, bugs fixed and modularize.
7 years ago
ReinUsesLisp
59a8df1b14
gl_shader_decompiler: Implement TEXS.F16
7 years ago
ReinUsesLisp
370980fdc3
gl_shader_decompiler: Fixup inverted if
7 years ago
heapo
7853e6b5d4
Improve msvc codegen for hot-path array LUTs
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.
7 years ago
Marcos
ab2108fb2a
Rewrited TEX/TEXS (TEX Scalar). ( #1826 )
* Rewrited TEX/TEXS (TEX Scalar).
* Style fixes.
* Styles issues.
7 years ago
Subv
c4c19fa6c1
Removed unused file.
This is a leftover from #1792
7 years ago
Subv
b873253da1
GPU: Don't try to route PFIFO methods (0-0x40) to the other engines.
7 years ago
Lioncash
e88cdcc912
Fix debug build
A non-existent parameter was left in some formatting calls (the logging
macro for which only does anything meaningful on debug builds)
7 years ago
bunnei
0f43564d09
gl_rasterizer_cache: Update AccurateCopySurface to flush complete source surface.
- Fixes issues with Breath of the Wild with use_accurate_gpu_emulation setting.
7 years ago
ReinUsesLisp
2908d30274
gl_rasterizer: Enable clip distances when set in register and in shader
7 years ago
ReinUsesLisp
1a2bb596db
gl_rasterizer: Implement a framebuffer cache
7 years ago
ReinUsesLisp
e8620eaa9a
gl_shader_manager: Update pipeline when programs have changed
7 years ago
bunnei
3d3cc35ee7
gl_rasterizer_cache: Remove BlitSurface and replace with more accurate copy.
- 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.
7 years ago
ReinUsesLisp
eb700afcf0
gl_shader_decompiler: Remove texture temporal in TLD4
7 years ago
ReinUsesLisp
8d58e5da71
gl_shader_decompiler: Flip negated if else statement
7 years ago
ReinUsesLisp
f4abebd731
gl_shader_decompiler: Use GLSL scope on instructions unrelated to textures
7 years ago
ReinUsesLisp
78fc8f6b66
gl_shader_decompiler: Move texture code generation into lambdas
7 years ago
ReinUsesLisp
ab13b628d0
gl_shader_decompiler: Clean up texture instructions
7 years ago
ReinUsesLisp
6a642022dd
gl_shader_decompiler: Scope GLSL variables with a scoped object
7 years ago
ReinUsesLisp
037449668e
gl_rasterizer: Signal UNIMPLEMENTED when rt_separate_frag_data is not zero
7 years ago
ReinUsesLisp
653d7a3f0d
gl_rasterizer_cache: Use brackets for two-line single-expresion blocks
7 years ago
ReinUsesLisp
432a9872ed
gl_rasterizer: Remove unused struct declarations
7 years ago
ReinUsesLisp
22c7c710b4
gl_rasterizer: Remove extension booleans
7 years ago
bunnei
ac74b71d75
dma_pushbuffer: Optimize to avoid loop and copy on Push.
7 years ago
bunnei
c568f5cea7
gpu: Move command list profiling to DmaPusher::DispatchCalls.
7 years ago
ReinUsesLisp
2e9b90abad
gl_shader_decompiler: Fixup clip distance index
7 years ago
Markus Wick
8747f5fc0d
gl_rasterizer: Fixup for #1723 .
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.
7 years ago
bunnei
abea6fa90c
gpu: Rewrite GPU command list processing with DmaPusher class.
- More accurate impl., fixes Undertale (among other games).
7 years ago
Rodolfo Bogado
6710eb4892
remove viewport_transform_enabled as it seems to be inactive when valid transforms are used.
7 years ago
ReinUsesLisp
237c2026e9
morton: Fixup compiler warning
7 years ago
Rodolfo Bogado
dfdbfa69e5
Implement depth clamp
7 years ago
Rodolfo Bogado
8e971f5062
Add support for Clip Distance enabled register
7 years ago
Marcos
cb8d51e37e
GPU States: Implement Polygon Offset. This is used in SMO all the time. ( #1784 )
* GPU States: Implement Polygon Offset. This is used in SMO all the time.
* Clang Format fixes.
* Initialize polygon_offset in the constructor.
7 years ago
FernandoS27
ddfbe0b58d
Implemented Tile Width Spacing
7 years ago
Rodolfo Bogado
415e8383ba
Limit the amount of viewports tested for state changes only to the usable ones
7 years ago
ReinUsesLisp
924e834b8f
gl_shader_decompiler: Implement S2R's Y_DIRECTION
7 years ago
ReinUsesLisp
7ff2131cf9
morton: Style changes
7 years ago
ReinUsesLisp
dad3a6718e
video_core: Move morton functions to their own file
7 years ago
FernandoS27
8c797464a2
Fix Texture Overlapping
7 years ago
FernandoS27
33afff1870
Implemented BRA CC conditional and FSET CC Setting
7 years ago
Rodolfo Bogado
13f6a603c2
Add support for viewport_transfom_enable register
7 years ago
Rodolfo Bogado
54c2a4cafc
Add support for clear_flags register
7 years ago
FernandoS27
7668ef51d6
Fix TEXS Instruction encodings
7 years ago
FernandoS27
9c2127d5eb
Fix one encoding in TEX Instruction
7 years ago
FernandoS27
487d805899
Corrected inputs indexing in TEX instruction
7 years ago
bunnei
0b1842294f
memory_manager: Do not allow 0 to be a valid GPUVAddr.
- Fixes a bug with Undertale using 0 for a render target.
7 years ago
Hexagon12
3135dbc29c
Added predicate comparison LessEqualWithNan ( #1736 )
* Added predicate comparison LessEqualWithNan
* oops
* Clang fix
7 years ago
ReinUsesLisp
b3853403b7
gl_shader_decompiler: Implement clip distances
7 years ago
ReinUsesLisp
c9ac23683b
gl_shader_decompiler: Add a message for unimplemented cc generation
7 years ago