aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-04-09Merge pull request #2354 from lioncash/headerbunnei
video_core/texures/texture: Remove unnecessary includes
2019-04-09Merge pull request #2366 from FernandoS27/xmad-fixbunnei
Correct XMAD mode, psl and high_b on different encodings.
2019-04-09Merge pull request #2369 from FernandoS27/mip-alignbunnei
gl_backend: Align Pixel Storage
2019-04-08gl_backend: Align Pixel StorageFernando Sahmkow
This commit makes sure GL reads on the correct pack size for the respective texture buffer.
2019-04-08Correct LOP_IMN encodingFernando Sahmkow
2019-04-08Correct XMAD mode, psl and high_b on different encodings.Fernando Sahmkow
2019-04-07Merge pull request #2300 from FernandoS27/null-shaderbunnei
shader_cache: Permit a Null Shader in case of a bad host_ptr.
2019-04-07Merge pull request #2355 from ReinUsesLisp/sync-pointbunnei
maxwell_3d: Reduce severity of ProcessSyncPoint
2019-04-07Merge pull request #2306 from ReinUsesLisp/aoffibunnei
shader_ir: Implement AOFFI for TEX and TLD4
2019-04-07Merge pull request #2321 from ReinUsesLisp/gl-state-reworkbunnei
gl_state: Rework to enable individual applies
2019-04-07Merge pull request #2098 from FreddyFunk/disk-cache-zstdbunnei
gl_shader_disk_cache: Use Zstandard for compression
2019-04-07Merge pull request #2352 from bunnei/mem-manager-fixesbunnei
memory_manager: Improved implementation of read/write/copy block.
2019-04-07Permit a Null Shader in case of a bad host_ptr.Fernando Sahmkow
2019-04-06maxwell_3d: Reduce severity of ProcessSyncPointReinUsesLisp
2019-04-06video_core/textures/convert: Replace include with a forward declarationLioncash
Avoids dragging in a direct dependency in a header.
2019-04-06video_core/texures/texture: Remove unnecessary includesLioncash
Nothing in this header relies on common_funcs or the memory manager. This gets rid of reliance on indirect inclusions in the OpenGL caches.
2019-04-05Merge pull request #2317 from FernandoS27/syncbunnei
Implement SyncPoint Register in the GPU.
2019-04-05Merge pull request #2346 from lioncash/headerbunnei
video_core/engines: Remove unnecessary inclusions where applicable
2019-04-05memory_manager: Improved implementation of read/write/copy block.bunnei
- Fixes graphical issues with Chocobo's Mystery Dungeon EVERY BUDDY! - Fixes a crash with Mario Tennis Aces
2019-04-05Merge pull request #2350 from lioncash/vmembunnei
video_core/memory_manager: Mark a few member functions with the const qualifier
2019-04-05Merge pull request #2347 from lioncash/truncbunnei
video_core/gpu_thread: Silence truncation warning in ThreadManager's constructor
2019-04-05Merge pull request #2327 from ReinUsesLisp/crash-safe-visitbunnei
gl_shader_decompiler: Return early when an operation is invalid
2019-04-05Merge pull request #2337 from lioncash/temporarybunnei
gl_shader_decompiler: Rename GenerateTemporal() to GenerateTemporary()
2019-04-05video_core/macro_interpreter: Remove assertion within FetchParameter()Lioncash
We can just use .at(), which essentially does the same thing, but with less code.
2019-04-05video_core/macro_interpreter: Simplify GetRegister()Lioncash
Given we already ensure nothing can set the zeroth register in SetRegister(), we don't need to check if the index is zero and special case it. We can just access the register normally, since it's already going to be zero. We can also replace the assertion with .at() to perform the equivalent behavior inline as part of the API.
2019-04-05video_core/memory_manager: Make Read() a const qualified member functionLioncash
Given this doesn't actually alter internal state, this can be made a const member function.
2019-04-05video_core/memory_manager: Make ReadBlock() a const qualifier member functionLioncash
Now, since we have a const qualified variant of GetPointer(), we can put it to use in ReadBlock() to retrieve the source pointer that is passed into memcpy. Now block reading may be done from a const context.
2019-04-05video_core/memory_manager: Add a const qualified variant of GetPointer()Lioncash
Allows retrieving read-only pointers from a const context externally.
2019-04-05video_core/memory_manager: Make FindFreeRegion() a const member functionLioncash
This doesn't modify internal state, so it can be made a const member function.
2019-04-05video_core/memory_manager: Make GpuToCpuAddress() a const member functionLioncash
This doesn't modify any internal state, so it can be made a const member function to allow its use in const contexts.
2019-04-05Implement SyncPoint Register in the GPU.Fernando Sahmkow
2019-04-05video_core/gpu_thread: Silence truncation warning in ThreadManager's constructorLioncash
Since c5d41fd812d7eb1a04f36b76c08fe971cee0868c callback parameters were changed to use an s64 to represent late cycles instead of an int, so this was causing a truncation warning to occur here. Changing it to s64 is sufficient to silence the warning.
2019-04-05video_core/engines: Make memory manager members privateLioncash
These aren't used externally by anything, so they can be made private data members.
2019-04-05video_core/engines: Remove unnecessary inclusions where applicableLioncash
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
2019-04-04Merge pull request #2282 from bunnei/gpu-asynch-v2bunnei
gpu_thread: Improve synchronization by using CoreTiming.
2019-04-04Merge pull request #2336 from ReinUsesLisp/txqbunnei
gl_shader_decompiler: Fix TXQ types
2019-04-04gl_shader_decompiler: Rename GenerateTemporal() to GenerateTemporary()Lioncash
Temporal generally indicates a relation to time, but this is just creating a temporary, so this isn't really an accurate name for what the function is actually doing.
2019-04-04gl_shader_decompiler: Fix TXQ typesReinUsesLisp
TXQ returns integer types. Shaders usually do: R0 = TXQ(); // => int R0 = static_cast<float>(R0); If we don't treat it as an integer, it will cast a binary float value as float - resulting in a corrupted number.
2019-04-04video_core/renderer_opengl: Remove unnecessary includesLioncash
Quite a few unused includes have built up over time, particularly on core/memory.h. Removing these includes means the source files including those files will no longer need to be rebuilt if they're changed, making compilation slightly faster in this scenario.
2019-04-03Merge pull request #2093 from FreddyFunk/disk-cache-better-compressionbunnei
Better LZ4 compression utilization for the disk based shader cache and the yuzu build system
2019-04-03Merge pull request #2299 from lioncash/maxwellbunnei
gl_shader_manager: Remove reliance on a global accessor within MaxwellUniformData::SetFromRegs()
2019-04-03gl_state: Rework to enable individual appliesReinUsesLisp
2019-04-03gl_shader_decompiler: Return early when an operation is invalidReinUsesLisp
2019-04-03Merge pull request #2302 from ReinUsesLisp/vk-swapchainbunnei
vk_swapchain: Implement a swapchain manager
2019-04-01gpu_thread: Improve synchronization by using CoreTiming.bunnei
2019-04-01general: Use deducation guides for std::lock_guard and std::unique_lockLioncash
Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future.
2019-03-31gl_shader_decompiler: Hide local definitions inside an anonymous namespaceReinUsesLisp
2019-03-31shader_ir/decode: Silent implicit sign conversion warningMat M
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
2019-03-30Merge pull request #2297 from lioncash/reorderbunnei
video_core: Amend constructor initializer list order where applicable
2019-03-30Merge pull request #2298 from lioncash/variablebunnei
video_core/{gl_rasterizer, gpu_thread}: Remove unused class variables where applicable