ReinUsesLisp
c73b44fc35
maxwell_3d: Allow sampler handles with TSC id zero
7 years ago
ReinUsesLisp
04fe4a72b9
maxwell_3d: Allow texture handles with TIC id zero
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because
it would become unused.
7 years ago
ReinUsesLisp
5ae8a056fe
shader_bytecode: Rename BytesN enums to BitsN
7 years ago
ReinUsesLisp
12fbe5dcf8
shader_ir: Unify constant buffer offset values
Constant buffer values on the shader IR were using different offsets if
the access direct or indirect. cbuf34 has a non-multiplied offset while
cbuf36 does. On shader decoding this commit multiplies it by four on
cbuf34 queries.
7 years ago
ReinUsesLisp
d516c50fe2
shader_decode: Implement LDG and basic cbuf tracking
7 years ago
ReinUsesLisp
fdb76f6147
maxwell_3d: Set rt_separate_frag_data to 1 by default
Commercial games assume that this value is 1 but they never set it. On
the other hand nouveau manually sets this register. On
ConfigureFramebuffers we were asserting for what we are actually
implementing (according to envytools).
7 years ago
ReinUsesLisp
095b8f822b
shader_decode: Implement VMAD and VSETP
7 years ago
ReinUsesLisp
54bffa5381
shader_decode: Implement HFMA2
7 years ago
ReinUsesLisp
bcf228b15c
shader_decode: Fixup clang-format
7 years ago
ReinUsesLisp
25f868d8be
shader_ir: Initial implementation
7 years ago
ReinUsesLisp
2b5088a8e9
shader_bytecode: Fixup encoding
7 years ago
ReinUsesLisp
f03f054819
shader_header: Make local memory size getter constant
7 years ago
ReinUsesLisp
1c8411dc8d
gl_rasterizer_cache: Use dirty flags for the depth buffer
7 years ago
ReinUsesLisp
6e932fe118
gl_rasterizer_cache: Use dirty flags for color buffers
7 years ago
ReinUsesLisp
5fec808e30
gl_shader_cache: Use dirty flags for shaders
7 years ago
ReinUsesLisp
a04b5e9a42
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
David Marcec
1dfb0a513a
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
7 years ago
ReinUsesLisp
40f57b087c
shader_bytecode: Fixup half float's operator B encoding
7 years ago
heapo
63c820c8b1
Implement postfactor multiplication/division for fmul instructions
7 years ago
ReinUsesLisp
e228750f52
gl_shader_decompiler: Implement TEXS.F16
7 years ago
ReinUsesLisp
5861ae801a
gl_rasterizer: Enable clip distances when set in register and in shader
7 years ago
bunnei
f8b215e361
gpu: Rewrite GPU command list processing with DmaPusher class.
- More accurate impl., fixes Undertale (among other games).
7 years ago
Rodolfo Bogado
07e7586b63
Implement depth clamp
7 years ago
Rodolfo Bogado
0eabde665d
Add support for Clip Distance enabled register
7 years ago
Marcos
fc09b5cc26
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
b509890e4c
Implemented Tile Width Spacing
7 years ago
ReinUsesLisp
ac2c2ded06
gl_shader_decompiler: Implement S2R's Y_DIRECTION
7 years ago
Rodolfo Bogado
dd86a7ee67
Add support for viewport_transfom_enable register
7 years ago
Rodolfo Bogado
d311047172
Add support for clear_flags register
7 years ago
Hexagon12
7ba80865a9
Added predicate comparison LessEqualWithNan ( #1736 )
* Added predicate comparison LessEqualWithNan
* oops
* Clang fix
7 years ago
ReinUsesLisp
52c844eeec
gl_shader_decompiler: Implement clip distances
7 years ago
bunnei
e17f9a1ed9
maxwell_3d: Implement alternate blend equations.
- Used by Undertale.
7 years ago
ReinUsesLisp
bd4b3f0cc2
gl_shader_decompiler: Rename control codes to condition codes
7 years ago
ReinUsesLisp
db0e7fa147
gl_shader_decompiler: Implement BFI_IMM_R
7 years ago
ReinUsesLisp
e933f0851a
gl_shader_decompiler: Implement R2P_IMM
7 years ago
bunnei
953c140eca
maxwell_3d: Initialize rasterizer color mask registers as enabled.
- Fixes rendering regression with Sonic Mania.
7 years ago
Rodolfo Bogado
a6fbb1ec16
small fix for alphaToOne bit location
7 years ago
Rodolfo Bogado
f53a271874
fix for gcc compilation
7 years ago
Rodolfo Bogado
00ae363ad5
add AlphaToCoverage and AlphaToOne
7 years ago
Rodolfo Bogado
bb20c5b8a0
add support for fragment_color_clamp
7 years ago
Rodolfo Bogado
b85b478d33
set default value for point size register
7 years ago
Rodolfo Bogado
bcf804a44e
fix viewport and scissor behavior
7 years ago
Markus Wick
264030c070
gl_rasterizer: Skip VB upload if the state is clean.
7 years ago
Frederic L
56a27afdea
gl_rasterizer: Minor cleanup
Minor code cleanup from unaddressed feedback in #1654
7 years ago
Rodolfo Bogado
a7c68376fe
Try to fix problems with stencil test in some games, relax translation to opengl enums to avoid crashing and only generate logs of the errors.
7 years ago
Markus Wick
755aa28572
gl_rasterizer: Skip VAO binding if the state is clean.
7 years ago
Rodolfo Bogado
92d9f97224
Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets.
7 years ago
Rodolfo Bogado
fbd0d677a3
Implement multi-target viewports and blending
7 years ago
bunnei
42b74a5e41
maxwell_3d: Restructure macro upload to use a single macro code memory.
- Fixes an issue where macros could be skipped.
- Fixes rendering of distant objects in Super Mario Odyssey.
7 years ago
FernandoS27
906d2fd5af
Assert Control Codes Generation
7 years ago