ReinUsesLisp
667ecbda37
kepler_compute: Fix block_dim_x encoding
7 years ago
ReinUsesLisp
1073b32300
video_core/engines: Move ConstBufferInfo out of Maxwell3D
7 years ago
Fernando Sahmkow
a8250f511b
shader_bytecode: Mark EXIT as flow instruction
7 years ago
ReinUsesLisp
68af52d525
shader/memory: Implement ST (generic memory)
7 years ago
ReinUsesLisp
71ded7da4e
shader/memory: Implement LD (generic memory)
7 years ago
Fernando Sahmkow
d7fbe5838c
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
c02a05d199
video_core/engines/engine_upload: Amend constructor initializer list order
Silences a -Wreorder warning.
7 years ago
Lioncash
0c9db2ddf0
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
f06049438a
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
d3f74a0c6f
video_core/engines/engine_upload: Remove unnecessary includes
7 years ago
Lioncash
a394c8b35a
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
e9064216a2
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
b66f9188cb
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
5bf7324068
shader_ir/other: Implement IPA.IDX
7 years ago
ReinUsesLisp
f96020b2ae
shader_ir/memory: Implement physical input attributes
7 years ago
ReinUsesLisp
ac78410d39
gl_shader_decompiler: Declare all possible varyings on physical attribute usage
7 years ago
ReinUsesLisp
9a9902214e
shader_bytecode: Add AL2P decoding
7 years ago
Fernando Sahmkow
08f861a820
Refactors and name corrections.
7 years ago
Fernando Sahmkow
3d37c4161a
Fixes and Corrections to DMA Engine
7 years ago
Fernando Sahmkow
122b06d102
Add Swizzle Parameters to the DMA engine
7 years ago
Fernando Sahmkow
bcf4b19fca
Add Documentation Headers to all the GPU Engines
7 years ago
Fernando Sahmkow
5c4de1e3fb
Corrections and styling
7 years ago
Fernando Sahmkow
4a2763a121
Implement Maxwell3D Data Upload
7 years ago
Fernando Sahmkow
e42bf4f314
Introduce skeleton of the GPU Compute Engine.
7 years ago
Fernando Sahmkow
86e8a9f978
Revamp Kepler Memory to use a subegine to manage uploads
7 years ago
ReinUsesLisp
7a56d07632
video_core: Silent -Wswitch warnings
7 years ago
Fernando Sahmkow
b33c627670
Use ReadBlockUnsafe on TIC and TSC reading
Use ReadBlockUnsafe on TIC and TSC reading as memory is never flushed
from host GPU there.
7 years ago
Fernando Sahmkow
525211db3b
Use WriteBlock and ReadBlock.
7 years ago
Fernando Sahmkow
15368c6070
Implement Block Linear copies in Kepler Memory.
7 years ago
Fernando Sahmkow
73f925a949
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.
7 years ago
Fernando Sahmkow
02c84726ed
Correct Kepler Memory on Linear Pushes.
7 years ago
ReinUsesLisp
79e7fb6d6f
shader_ir: Implement STG, keep track of global memory usage and flush
7 years ago
Fernando Sahmkow
25e6fb72eb
Correct LOP_IMN encoding
7 years ago
Fernando Sahmkow
34b15b69df
Correct XMAD mode, psl and high_b on different encodings.
7 years ago
Fernando Sahmkow
f5792ffeab
Move ConstBufferAccessor to Maxwell3d, correct mistakes and clang format.
7 years ago
Fernando Sahmkow
2f456841b0
Implement TXQ_B
7 years ago
Fernando Sahmkow
8bb9877b70
Corrections to TEX_B
7 years ago
Fernando Sahmkow
e6d2e59f07
Implement Bindless Handling on SetupTexture
7 years ago
Fernando Sahmkow
ee9b2e3cdc
Implement Bindless Samplers and TEX_B in the IR.
7 years ago
ReinUsesLisp
8092d3fad0
maxwell_3d: Reduce severity of ProcessSyncPoint
7 years ago
Fernando Sahmkow
e3d9c983aa
Implement SyncPoint Register in the GPU.
7 years ago
Lioncash
1211a5623e
video_core/engines: Make memory manager members private
These aren't used externally by anything, so they can be made private
data members.
7 years ago
Lioncash
33742deaf6
video_core/engines: Remove unnecessary inclusions where applicable
Replaces header inclusions with forward declarations where applicable
and also removes unused headers within the cpp file. This reduces a few
more dependencies on core/memory.h
7 years ago
ReinUsesLisp
f725007975
shader_ir/memory: Reduce severity of LD_L cache management and log it
7 years ago
ReinUsesLisp
c2ea1d5263
shader_ir/memory: Reduce severity of ST_L cache management and log it
7 years ago
bunnei
a0b5ed6846
maxwell_dma: Check for valid source in destination before copy.
- Avoid a crash in Octopath Traveler.
7 years ago
bunnei
fa405371ee
gpu: Rewrite virtual memory manager using PageTable.
7 years ago
bunnei
d3f26c1546
video_core: Refactor to use MemoryManager interface for all memory access.
# Conflicts:
# src/video_core/engines/kepler_memory.cpp
# src/video_core/engines/maxwell_3d.cpp
# src/video_core/morton.cpp
# src/video_core/morton.h
# src/video_core/renderer_opengl/gl_global_cache.cpp
# src/video_core/renderer_opengl/gl_global_cache.h
# src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
7 years ago
bunnei
7fccfc3ee7
gpu: Use host address for caching instead of guest address.
7 years ago
bunnei
9d1ee628b2
gpu: Move command processing to another thread.
7 years ago