aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-04-11video_core/gpu: Create threads separately from initializationLioncash
Like with CPU emulation, we generally don't want to fire off the threads immediately after the relevant classes are initialized, we want to do this after all necessary data is done loading first. This splits the thread creation into its own interface member function to allow controlling when these threads in particular get created.
2019-04-11Merge pull request #2235 from ReinUsesLisp/spirv-decompilerbunnei
vk_shader_decompiler: Implement a SPIR-V decompiler
2019-04-11gl_rasterizer_cache: Relax restrictions on FastCopySurface and ↵Fernando Sahmkow
FastLayeredCopySurface
2019-04-10Merge pull request #2278 from ReinUsesLisp/vc-texture-cachebunnei
video_core: Implement API agnostic view based texture cache
2019-04-10Merge pull request #2372 from FernandoS27/fermi-fixbunnei
Correct Fermi Copy on Linear Textures.
2019-04-10vk_shader_decompiler: Implement flow primitivesReinUsesLisp
2019-04-10vk_shader_decompiler: Implement most common texture primitivesReinUsesLisp
2019-04-10vk_shader_decompiler: Implement texture decompilation helper functionsReinUsesLisp
2019-04-10vk_shader_decompiler: Implement Assign and LogicalAssignReinUsesLisp
2019-04-10vk_shader_decompiler: Implement non-OperationCode visitsReinUsesLisp
2019-04-10vk_shader_decompiler: Implement OperationCode decompilation interfaceReinUsesLisp
2019-04-10vk_shader_decompiler: Implement VisitReinUsesLisp
2019-04-10vk_shader_decompiler: Implement labels tree and flowReinUsesLisp
2019-04-10vk_shader_decompiler: Implement declarationsReinUsesLisp
2019-04-10vk_shader_decompiler: Declare and stub interface for a SPIR-V decompilerReinUsesLisp
2019-04-10video_core: Add sirit as optional dependency with VulkanReinUsesLisp
sirit is a runtime assembler for SPIR-V
2019-04-10Merge pull request #2345 from ReinUsesLisp/multibindbunnei
gl_rasterizer: Use ARB_multi_bind to update buffers with a single call per drawcall
2019-04-09Merge pull request #2375 from FernandoS27/fix-ldcbunnei
Remove unnecessary bounding in LD_C
2019-04-09Remove bounding in LD_CFernando Sahmkow
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-09Correct Fermi Copy on Linear Textures.Fernando Sahmkow
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.