Lioncash
56ccfcdb4b
video_core/gpu_thread: Remove unused local variable
Instead of retrieving the data from the std::variant instance, we can
just check if the variant contains that type of data.
This is essentially the same behavior, only it returns a bool indicating
whether or not the type in the variant is currently active, instead of
actually retrieving the data.
7 years ago
Lioncash
d6db5ebae2
video_core/textures/astc: Remove unused variables
Silences a few compilation warnings.
7 years ago
Fernando Sahmkow
ce5862c505
Correct possible error on Rasterizer Caches
There was a weird bug that could happen if the object died directly and
the cache address wasn't stored.
7 years ago
Lioncash
7af5216680
shader/decode/texture: Remove unused variable
This isn't used anywhere, so we can get rid of it.
7 years ago
Lioncash
bf153808f6
gl_rasterizer: Silence unused variable warning
Makes use of src, so it's not considered unused.
7 years ago
ReinUsesLisp
5bf7324068
shader_ir/other: Implement IPA.IDX
7 years ago
ReinUsesLisp
f1c26af844
gl_shader_decompiler: Skip physical unused attributes
7 years ago
ReinUsesLisp
6ed96fd359
shader_ir/memory: Assert on non-32 bits ALD.PHYS
7 years ago
ReinUsesLisp
d6193e2e36
shader: Add physical attributes commentaries
7 years ago
ReinUsesLisp
7680b96e1a
gl_shader_decompiler: Implement GLSL physical attributes
7 years ago
ReinUsesLisp
f96020b2ae
shader_ir/memory: Implement physical input attributes
7 years ago
ReinUsesLisp
0ace07d1cc
gl_shader_decompiler: Abstract generic attribute operations
7 years ago
ReinUsesLisp
ac78410d39
gl_shader_decompiler: Declare all possible varyings on physical attribute usage
7 years ago
ReinUsesLisp
f6194ce3fe
shader: Remove unused AbufNode Ipa mode
7 years ago
ReinUsesLisp
d786245490
shader_ir/memory: Emit AL2P IR
7 years ago
ReinUsesLisp
9a9902214e
shader_bytecode: Add AL2P decoding
7 years ago
Fernando Sahmkow
08f861a820
Refactors and name corrections.
7 years ago
ReinUsesLisp
5e5eff2081
gl_shader_disk_cache: Skip stored shader variants instead of asserting
Instead of asserting on already stored shader variants, silently skip them.
This shouldn't be happening but when a shader is invalidated and it is
not stored in the shader cache, this assert would hit and save that
shader anyways when the asserts are disabled.
7 years ago
Fernando Sahmkow
aebe67fac7
Fix Layered ASTC Textures
By adding the missing layer offset in ASTC compression.
7 years ago
ReinUsesLisp
5ea871b373
shader_ir: Move Sampler index entry in operand< to sort declarations
7 years ago
ReinUsesLisp
cd9e8ee0eb
shader_ir: Add missing entry to Sampler operand< comparison
7 years ago
ReinUsesLisp
6198b04557
shader_ir/texture: Fix sampler const buffer key shift
7 years ago
FreddyFunk
04c474b840
Re added new lines at the end of files
7 years ago
unknown
4dfccb1f21
gl_shader_disk_cache: Compress precompiled shader cache file with Zstandard
7 years ago
unknown
5417aaca6d
gl_shader_disk_cache: Use VectorVfsFile for the virtual precompiled shader cache file
7 years ago
unknown
f6568c07ac
gl_shader_disk_cache: Remove per shader compression
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
Fernando Sahmkow
7c1907187f
Rasterizer Cache: Use a temporal storage for Surfaces loading/flushing.
This PR should heavily reduce memory usage since temporal buffers are no
longer stored per Surface but instead managed by the Rasterizer Cache.
7 years ago
Fernando Sahmkow
b17f7da309
Corrections Half Float operations on const buffers and implement saturation.
7 years ago
Fernando Sahmkow
02be88825a
Apply Position Y Direction
7 years ago
Fernando Sahmkow
5f431ebec9
RasterizerCache Redesign: Flush
flushing is now responsability of children caches instead of the cache
object. This change will allow the specific cache to pass extra
parameters on flushing and will allow more flexibility.
7 years ago
Fernando Sahmkow
54ede7cc0a
make ReadBlockunsafe and WriteBlockunsafe, ignore invalid pages.
7 years ago
ReinUsesLisp
42b61daeba
gl_state: Fix samplers memory corruption
It was possible for "samplers" to be read without being written. This
addresses that.
7 years ago
ReinUsesLisp
7a56d07632
video_core: Silent -Wswitch warnings
7 years ago
Fernando Sahmkow
ad686a3c0d
Implement IsBlockContinous
This detects when a GPU Memory Block is not continous within host cpu
memory.
7 years ago
Fernando Sahmkow
56c2b0ea86
Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.
7 years ago
Fernando Sahmkow
994393bd02
Use ReadBlockUnsafe for fetyching DMA CommandLists
7 years ago
Fernando Sahmkow
86d3cb5fa7
Document unsafe versions and add BlockCopyUnsafe
7 years ago
Fernando Sahmkow
cde8e7f605
Use ReadBlockUnsafe for Shader Cache
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
57051db434
GPU MemoryManager: Implement ReadBlockUnsafe and WriteBlockUnsafe
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
ReinUsesLisp
45044529b4
vk_shader_decompiler: Add missing operations
7 years ago