aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-12-11Gl_Shader_compiler: Correct Depth Compare for Texture Gather operations.Fernando Sahmkow
2019-12-11Shader_Ir: default failed tracks on bindless samplers to null values.Fernando Sahmkow
2019-12-11Gl_Rasterizer: Skip Tesselation Control and Eval stages as they are un ↵Fernando Sahmkow
implemented. This commit ensures the OGL backend does not execute tesselation shader stages as they are currently unimplemented.
2019-12-11Merge pull request #3210 from ReinUsesLisp/memory-barrierbunnei
shader: Implement MEMBAR.GL
2019-12-11Added missing includeJoel Holdsworth
2019-12-11gl_device: Enable compute shaders for Intel Mesa driversReinUsesLisp
Previously we naively checked for "Intel" in GL_VENDOR, but this includes both Intel's proprietary driver and the mesa driver. Re-enable compute shaders for mesa.
2019-12-10gl_shader_cache: Add missing new-line on emitted GLSLReinUsesLisp
Add missing new-line. This caused shaders using local memory and shared memory to inject a preprocessor GLSL line after an expression (resulting in invalid code). It looked like this: shared uint smem[8];#define LOCAL_MEMORY_SIZE 16 It should look like this (addressed by this commit): shared uint smem[8]; \#define LOCAL_MEMORY_SIZE 16
2019-12-10Maxwell3D: Implement Depth Mode.Fernando Sahmkow
This commit finishes adding depth mode that was reverted before due to other unresolved issues.
2019-12-10shader: Implement MEMBAR.GLReinUsesLisp
Implement using memoryBarrier in GLSL and OpMemoryBarrier on SPIR-V.
2019-12-10vk_shader_decompiler: Fix build issues on old gcc versionsReinUsesLisp
2019-12-09vk_shader_decompiler: Reduce YNegate's severityReinUsesLisp
2019-12-09shader_ir/other: Implement S2R InvocationIdReinUsesLisp
2019-12-09vk_shader_decompiler: Misc changesReinUsesLisp
Update Sirit and its usage in vk_shader_decompiler. Highlights: - Implement tessellation shaders - Implement geometry shaders - Implement some missing features - Use native half float instructions when available.
2019-12-09shader: Keep track of shaders using warp instructionsReinUsesLisp
2019-12-09shader_ir/memory: Implement patch storesReinUsesLisp
2019-12-09vk_device: Misc changesReinUsesLisp
- Setup more features and requirements. - Improve logging for missing features. - Collect telemetry parameters. - Add queries for more image formats. - Query push constants limits. - Optionally enable some extensions.
2019-12-08Merge pull request #3198 from ReinUsesLisp/tessellation-maxwellbunnei
maxwell_3d: Add tessellation state entries
2019-12-08externals: Update Vulkan-HeadersReinUsesLisp
2019-12-06vk_swapchain: Add support for swapping sRGBReinUsesLisp
We don't know until the game is running if it's using an sRGB color space or not. Add support for hot-swapping swapchain surface formats.
2019-12-06maxwell_3d: Add tessellation tess level registersReinUsesLisp
2019-12-06maxwell_3d: Add tessellation mode registerReinUsesLisp
2019-12-06maxwell_3d: Add patch vertices registerReinUsesLisp
2019-12-06shader_bytecode: Remove corrupted characterReinUsesLisp
2019-12-06Merge pull request #3109 from FernandoS27/new-instrbunnei
Implement FLO & TXD Instructions on GPU Shaders
2019-12-02Merge pull request #2987 from FernandoS27/texture-invalidbunnei
Texture_Cache: Redo invalid Surfaces handling.
2019-11-30Merge pull request #3184 from ReinUsesLisp/framebuffer-cachebunnei
gl_framebuffer_cache: Optimize framebuffer cache management
2019-11-29texture_cache/surface_base: Fix out of bounds texture viewsReinUsesLisp
Some texture views were being created out of bounds (with more layers or mipmaps than what the original texture has). This is because of a miscalculation in mipmap bounding. end_layer and end_mipmap are out of bounds (e.g. layer 6 in a cubemap), there's no need to add one more there. Fixes OpenGL errors and Vulkan crashes on Splatoon 2.
2019-11-28gl_framebuffer_cache: Optimize framebuffer keyReinUsesLisp
Pack color attachment enumerations into a single u32. To determine the number of buffers, the highest color attachment with a shared pointer that doesn't point to null is used.
2019-11-28gl_rasterizer: Re-enable framebuffer cache for clear buffersReinUsesLisp
2019-11-28renderer_opengl: Make ScreenRectVertex's constructor constexprReinUsesLisp
2019-11-28renderer_opengl: Remove C castsReinUsesLisp
2019-11-28renderer_opengl: Use explicit binding for presentation shadersReinUsesLisp
2019-11-28renderer_opengl: Drop macros for message decorationsReinUsesLisp
2019-11-28renderer_opengl: Move static definitions to anonymous namespaceReinUsesLisp
2019-11-28renderer_opengl: Move commentaries to header fileReinUsesLisp
2019-11-28Merge pull request #3169 from lioncash/memorybunnei
core/memory: Deglobalize memory management code
2019-11-27Merge pull request #3174 from lioncash/optionalRodrigo Locatti
video_core/gpu_thread: Tidy up SwapBuffers()
2019-11-27video_core/gpu_thread: Tidy up SwapBuffers()Lioncash
We can just use std::nullopt and std::make_optional to make this a little bit less noisy.
2019-11-27video_core/const_buffer_locker: Make use of std::tie in HasEqualKeys()Lioncash
Tidies it up a little bit visually.
2019-11-27video_core/const_buffer_locker: Remove unused includesLioncash
2019-11-27video_core/const_buffer_locker: Remove #pragma once from cpp fileLioncash
Silences a compiler warning.
2019-11-26core/memory: Migrate over RasterizerMarkRegionCached() to the Memory classLioncash
This is only used within the accelerated rasterizer in two places, so this is also a very trivial migration.
2019-11-26core/memory: Migrate over GetPointer()Lioncash
With all of the interfaces ready for migration, it's trivial to migrate over GetPointer().
2019-11-26core: Prepare various classes for memory read/write migrationLioncash
Amends a few interfaces to be able to handle the migration over to the new Memory class by passing the class by reference as a function parameter where necessary. Notably, within the filesystem services, this eliminates two ReadBlock() calls by using the helper functions of HLERequestContext to do that for us.
2019-11-26Merge pull request #3143 from ReinUsesLisp/indexing-bugbunnei
gl_device: Deduce indexing bug from device instead of heuristic
2019-11-25gl_shader_decompiler: Fix casts from fp32 to f16ReinUsesLisp
Casts from f32 to f16 zeroes the higher half of the target register.
2019-11-25gl_device: Deduce indexing bug from device instead of heuristicReinUsesLisp
The heuristic to detect AMD's driver was not working properly since it also included Intel. Instead of using heuristics to detect it, compare the GL_VENDOR string.
2019-11-24Merge pull request #3158 from ReinUsesLisp/srgb-blitbunnei
gl_texture_cache: Apply sRGB on blits
2019-11-24Merge pull request #3155 from bunnei/fix-asynch-gpu-waitbunnei
gpu_thread: Don't spin wait if there are no GPU commands.
2019-11-24Merge pull request #3098 from ReinUsesLisp/shader-invalidationsbunnei
gl_shader_cache: Miscellaneous changes to shaders