Fernando Sahmkow
082740d34d
surface: Correct format S8Z24
7 years ago
Fernando Sahmkow
7232a1ed16
decoders: correct block calculation
7 years ago
Fernando Sahmkow
cb728797b0
fermi2d: Correct Origin Mode
7 years ago
Fernando Sahmkow
175aa343ff
texture_cache: Fermi2D reform and implement View Mirage
This also does some fixes on compressed textures reinterpret and on the
Fermi2D engine in general.
7 years ago
ReinUsesLisp
06c4ce8645
shader: Decode SUST and implement backing image functionality
8 years ago
ReinUsesLisp
b8c75a845b
maxwell_3d: Partially implement texture buffers as 1D textures
8 years ago
ReinUsesLisp
4e81fc8296
shader: Implement texture buffers
8 years ago
Fernando Sahmkow
d267948a73
texture_cache: loose TryReconstructSurface when accurate GPU is not on.
Also corrects some asserts.
7 years ago
Fernando Sahmkow
6bd034eae9
engine_upload: Addapt to new Texture Cache
8 years ago
ReinUsesLisp
345e73f2fe
video_core: Use un-shifted block sizes to avoid integer divisions
Instead of storing all block width, height and depths in their shifted
form:
block_width = 1U << block_shift;
Store them like they are provided by the emulated hardware (their
block_shift form). This way we can avoid doing the costly
Common::AlignUp operation to align texture sizes and drop CPU integer
divisions with bitwise logic (defined in Common::AlignBits).
8 years ago
ReinUsesLisp
528c15051c
kepler_compute: Use std::array for cbuf info
7 years ago
ReinUsesLisp
17d5fb6d06
kepler_compute: Fix block_dim_x encoding
7 years ago
ReinUsesLisp
2f2a61887a
video_core/engines: Move ConstBufferInfo out of Maxwell3D
7 years ago
Fernando Sahmkow
a32c52b1d8
shader_bytecode: Mark EXIT as flow instruction
7 years ago
ReinUsesLisp
75e7b45d69
shader/memory: Implement ST (generic memory)
7 years ago
ReinUsesLisp
f78ef617b6
shader/memory: Implement LD (generic memory)
7 years ago
Fernando Sahmkow
fc975e9021
maxwell_3d: reduce sevirity of different component formats assert.
This was reduced due to happening on most games and at such constant
rate that it affected performance heavily for the end user. In general,
we are well aware of the assert and an implementation is already
planned.
7 years ago
Lioncash
b01cce716e
video_core/engines/engine_upload: Amend constructor initializer list order
Silences a -Wreorder warning.
7 years ago
Lioncash
9b6d993e52
video_core/engines/engine_upload: Default destructor in the cpp file
Avoids inlining destruction logic where applicable, and also makes
forward declarations not cause unexpected compilation errors depending
on where the State class is used.
7 years ago
Lioncash
ec1c69258a
video_core/engines/engine_upload: Remove unnecessary const on parameters in function declarations
These only apply in the definition of the function. They can be omitted
from the declaration.
7 years ago
Lioncash
0f83c8dffa
video_core/engines/engine_upload: Remove unnecessary includes
7 years ago
Lioncash
5db1b54b58
video_core/engines/maxwell3d: Get rid of three magic values in CallMethod()
We can use the named constant instead of using 32 directly.
7 years ago
Lioncash
48ce5880a0
video_core/engines/maxwell_3d: Simplify for loops into ranged for loops within InitializeRegisterDefaults()
Lessens the amount of code that needs to be read, and gets rid of the
need to introduce an indexing variable. Instead, we just operate on the
objects directly.
7 years ago
Lioncash
c212fc9b2c
video_core/engines/maxwell_3d: Add is_trivially_copyable_v check for Regs
std::memset is used to clear the entire register structure, which
requires that the Regs struct be trivially copyable (otherwise undefined
behavior is invoked). This prevents the case where a non-trivial type is
potentially added to the struct.
7 years ago
ReinUsesLisp
d4df803b2b
shader_ir/other: Implement IPA.IDX
8 years ago
ReinUsesLisp
71aa9d0877
shader_ir/memory: Implement physical input attributes
8 years ago
ReinUsesLisp
bd81a03d9d
gl_shader_decompiler: Declare all possible varyings on physical attribute usage
8 years ago
ReinUsesLisp
7632a7d6d2
shader_bytecode: Add AL2P decoding
8 years ago
Fernando Sahmkow
e64c41efe8
Refactors and name corrections.
8 years ago
Fernando Sahmkow
b3118ee316
Fixes and Corrections to DMA Engine
8 years ago
Fernando Sahmkow
f1e5314f1a
Add Swizzle Parameters to the DMA engine
8 years ago
Fernando Sahmkow
e140e2ebc6
Add Documentation Headers to all the GPU Engines
8 years ago
Fernando Sahmkow
021d28c9b8
Corrections and styling
8 years ago
Fernando Sahmkow
701ce1c9d0
Implement Maxwell3D Data Upload
8 years ago
Fernando Sahmkow
e4ff140b99
Introduce skeleton of the GPU Compute Engine.
8 years ago
Fernando Sahmkow
a91d3fc639
Revamp Kepler Memory to use a subegine to manage uploads
8 years ago
ReinUsesLisp
fbe8d1ceaa
video_core: Silent -Wswitch warnings
8 years ago
Fernando Sahmkow
ef381e6924
Use ReadBlockUnsafe on TIC and TSC reading
Use ReadBlockUnsafe on TIC and TSC reading as memory is never flushed
from host GPU there.
8 years ago
Fernando Sahmkow
3e96c367bd
Use WriteBlock and ReadBlock.
8 years ago
Fernando Sahmkow
bec28d692d
Implement Block Linear copies in Kepler Memory.
8 years ago
Fernando Sahmkow
aa471274d9
Do some corrections in conversion shader instructions.
Corrects encodings for I2F, F2F, I2I and F2I
Implements Immediate variants of all four conversion types.
Add assertions to unimplemented stuffs.
8 years ago
Fernando Sahmkow
8a099ac99f
Correct Kepler Memory on Linear Pushes.
8 years ago
ReinUsesLisp
5c280e6ff0
shader_ir: Implement STG, keep track of global memory usage and flush
8 years ago
Fernando Sahmkow
5c55ae4e18
Correct LOP_IMN encoding
8 years ago
Fernando Sahmkow
16adc735a5
Correct XMAD mode, psl and high_b on different encodings.
8 years ago
Fernando Sahmkow
492040bd9c
Move ConstBufferAccessor to Maxwell3d, correct mistakes and clang format.
8 years ago
Fernando Sahmkow
4841440382
Implement TXQ_B
8 years ago
Fernando Sahmkow
ac3ba9a33e
Corrections to TEX_B
8 years ago
Fernando Sahmkow
7af82ca022
Implement Bindless Handling on SetupTexture
8 years ago
Fernando Sahmkow
e28fd3d0a5
Implement Bindless Samplers and TEX_B in the IR.
8 years ago