bunnei
ae099d583c
core: frontend: Refactor GraphicsContext to its own module.
3 years ago
ameerj
ea2e155b0b
gl_texture_cache: Fix ASTC CPU decoding with compression disabled
gl_format was incorrectly being overwritten when compression was disabled
3 years ago
ameerj
cb0a410907
gl_staging_buffers: Optimization to reduce fence waiting
3 years ago
ameerj
642c14f0c7
OpenGL: Make use of persistent buffer maps in buffer cache downloads
Persistent buffer maps were already used by the texture cache, this extends their usage for the buffer cache.
In my testing, using the memory maps for uploads was slower than the existing "ImmediateUpload" path, so the memory map usage is limited to downloads for the time being.
3 years ago
Kelebek1
b0bea13ed8
Move buffer bindings to per-channel state
3 years ago
Liam
415c78b87c
textures: add BC1 and BC3 compressors and recompression setting
3 years ago
Liam
8758932031
renderer_vulkan: barrier attachment feedback loops
3 years ago
Fernando Sahmkow
8a214e5530
Texture Cache: Fix ASTC textures
3 years ago
Fernando Sahmkow
8014dd8259
Texture cache: Only force flush the dma downloads
3 years ago
Fernando Sahmkow
c6cac2ffaa
GPU: Add Reactive flushing
3 years ago
Kelebek1
ca6bf06ef7
Log object names with debug renderer, add a GPU address to ImageViews
3 years ago
Fernando Sahmkow
87a9be8dec
GPU: implement missing ASTC
3 years ago
Fernando Sahmkow
4bc5469f52
Texture Cache: Release stagging buffers on tick frame
3 years ago
Fernando Sahmkow
a16c261131
Buffer Cache: Fully rework the buffer cache.
3 years ago
Fernando Sahmkow
e3a2ca96bd
Accelerate DMA: Use texture cache async downloads to perform the copies
to host.
WIP
3 years ago
Fernando Sahmkow
3fbee093b2
TextureCache: refactor DMA downloads to allow multiple buffers.
3 years ago
Fernando Sahmkow
e29ced29fa
QueryCache: rework async downloads.
3 years ago
Fernando Sahmkow
fca72beb2d
Fence Manager: implement async fence management in a sepparate thread.
3 years ago
Wollnashorn
fe91066f46
video_core: Enable ImageGather with subpixel offset on Intel
3 years ago
Wollnashorn
780240e697
shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures.
See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary.
This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957 , #6956 ).
3 years ago
Liam
600f325d87
general: fix spelling mistakes
3 years ago
FengChen
44f10c8dee
video_core: Fix ogl status error when draw_texture
3 years ago
ameerj
03137086db
OpenGL: Prefer glClientWaitSync for OGLSync objects
At least on Nvidia, glClientWaitSync with a timeout of 0 (non-blocking) is faster than glGetSynciv of GL_SYNC_STATUS.
3 years ago
ameerj
268942c8fe
gl_rasterizer: Implement AccelerateDMA DmaBufferImageCopy
3 years ago
ameerj
6b9cc0ed23
Refactor AccelerateDMA code
3 years ago
Fernando Sahmkow
8a3411b417
Engines: Implement Accelerate DMA Texture.
4 years ago
Kelebek1
a7fb80e612
Check all swizzle components for red, not just [0], pass float border color rather than int
3 years ago
ameerj
b5bcd8c71b
configuration: Add async ASTC decode setting
3 years ago
arades79
683019878f
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
ameerj
93cf2b3ca8
texture_cache: OpenGL: Implement MSAA uploads and copies
3 years ago
ameerj
720ff38097
gl_compute_pipeline: Force context flush when loading shader cache
3 years ago
ameerj
01eeda74a6
gl_graphics_pipeline: Force context flush when loading shader cache
3 years ago
Wollnashorn
c4a49eb1dd
video_core/opengl: Add FSR upscaling filter to the OpenGL renderer
3 years ago
Fernando Sahmkow
efbb6fe288
VideoCore: Fix OGL cache invalidation.
3 years ago
Liam
57a4388e2d
Revert "Vulkan, OpenGL: Hook up storage buffer alignment code"
This reverts commit 9e2997c4b6 .
3 years ago
Narr the Reg
4bda2b475f
opengl: Sanitize antialiasing config
3 years ago
Billy Laws
6c812a0c84
Vulkan, OpenGL: Hook up geometry shader passthrough emulation
3 years ago
Billy Laws
9e2997c4b6
Vulkan, OpenGL: Hook up storage buffer alignment code
3 years ago
Feng Chen
013b689153
video_core: Implement opengl/vulkan draw_texture
3 years ago
Feng Chen
1e8cee2ddf
video_core: Implement maxwell3d draw texture method
3 years ago
Fernando Sahmkow
a0c697124c
Video_core: Address feedback
3 years ago
Fernando Sahmkow
03ccd8bf43
Texture Cache: Implement async texture downloads.
3 years ago
Fernando Sahmkow
a045e860dd
ShaderCompiler: Inline driver specific constants.
3 years ago
Fernando Sahmkow
d09aa0182f
MacroHLE: Final cleanup and fixes.
3 years ago
Fernando Sahmkow
581a7d785b
Rasterizer: Setup skeleton for Host Conditional rendering
3 years ago
Fernando Sahmkow
3630bfaef3
RasterizerMemory: Add filtering for flushing/invalidation operations.
3 years ago
Fernando Sahmkow
8d694701bc
MacroHLE: Add OpenGL Support
3 years ago
FernandoS27
0104e28fe4
Vulkan: Add support for VK_EXT_depth_clip_control.
4 years ago
Alexander Orzechowski
09e3029c11
gl_device: Use a more robust way to use strict context mode
Instead of checking a environment variable which may not actually
exist or is just wrong, ask QT if it's running on the wayland
platform.
3 years ago