bunnei
56600190e4
core: frontend: Refactor GraphicsContext to its own module.
3 years ago
ameerj
514c224679
gl_texture_cache: Fix ASTC CPU decoding with compression disabled
gl_format was incorrectly being overwritten when compression was disabled
3 years ago
Kelebek1
62c747f8a1
Move buffer bindings to per-channel state
3 years ago
Liam
011dfe1db7
textures: add BC1 and BC3 compressors and recompression setting
3 years ago
Liam
147f6129f4
renderer_vulkan: barrier attachment feedback loops
3 years ago
Fernando Sahmkow
a1317c3a6e
Texture Cache: Fix ASTC textures
3 years ago
Fernando Sahmkow
5fa8c8685e
Texture cache: Only force flush the dma downloads
3 years ago
Fernando Sahmkow
6bc60f78d9
GPU: Add Reactive flushing
3 years ago
Kelebek1
d43a18a6ef
Log object names with debug renderer, add a GPU address to ImageViews
3 years ago
Fernando Sahmkow
94ecd260e3
GPU: implement missing ASTC
3 years ago
Fernando Sahmkow
f5d2ae4c5e
Texture Cache: Release stagging buffers on tick frame
3 years ago
Fernando Sahmkow
64c9a90c20
Buffer Cache: Fully rework the buffer cache.
3 years ago
Fernando Sahmkow
b22e1a2bce
Accelerate DMA: Use texture cache async downloads to perform the copies
to host.
WIP
3 years ago
Fernando Sahmkow
e2bfd9e8c4
TextureCache: refactor DMA downloads to allow multiple buffers.
3 years ago
Fernando Sahmkow
abe4e83b45
QueryCache: rework async downloads.
3 years ago
Fernando Sahmkow
ae99dcd531
Fence Manager: implement async fence management in a sepparate thread.
3 years ago
Wollnashorn
dda107ffa7
video_core: Enable ImageGather with subpixel offset on Intel
3 years ago
Wollnashorn
45fb154f0d
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
5be8a74b0c
general: fix spelling mistakes
3 years ago
FengChen
e067d314ba
video_core: Fix ogl status error when draw_texture
3 years ago
ameerj
625d716f56
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
bc5a8c664b
gl_rasterizer: Implement AccelerateDMA DmaBufferImageCopy
3 years ago
ameerj
e901a7f029
Refactor AccelerateDMA code
3 years ago
Fernando Sahmkow
82f37192ec
Engines: Implement Accelerate DMA Texture.
4 years ago
Kelebek1
2f525864a8
Check all swizzle components for red, not just [0], pass float border color rather than int
3 years ago
ameerj
c5386e2179
configuration: Add async ASTC decode setting
3 years ago
arades79
60a68839ee
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
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
ameerj
b60e0b5360
texture_cache: OpenGL: Implement MSAA uploads and copies
3 years ago
ameerj
8e0a70ddcf
gl_compute_pipeline: Force context flush when loading shader cache
3 years ago
ameerj
175244e92e
gl_graphics_pipeline: Force context flush when loading shader cache
3 years ago
Wollnashorn
6b840142b3
video_core/opengl: Add FSR upscaling filter to the OpenGL renderer
3 years ago
Fernando Sahmkow
4cb1b7a60a
VideoCore: Fix OGL cache invalidation.
3 years ago
Liam
ecf4f380b6
Revert "Vulkan, OpenGL: Hook up storage buffer alignment code"
This reverts commit 195248d6fe .
3 years ago
Narr the Reg
c5a006cb24
opengl: Sanitize antialiasing config
3 years ago
Billy Laws
00c51d0a4f
Vulkan, OpenGL: Hook up geometry shader passthrough emulation
3 years ago
Billy Laws
195248d6fe
Vulkan, OpenGL: Hook up storage buffer alignment code
3 years ago
Feng Chen
3b5e1a24bc
video_core: Implement opengl/vulkan draw_texture
3 years ago
Feng Chen
79268b94de
video_core: Implement maxwell3d draw texture method
3 years ago
Fernando Sahmkow
1fdf24a081
Video_core: Address feedback
3 years ago
Fernando Sahmkow
62fc8bfe16
Texture Cache: Implement async texture downloads.
3 years ago
Fernando Sahmkow
872f2e7de6
ShaderCompiler: Inline driver specific constants.
3 years ago
Fernando Sahmkow
e6e49e584f
MacroHLE: Final cleanup and fixes.
3 years ago
Fernando Sahmkow
ea140a70fa
Rasterizer: Setup skeleton for Host Conditional rendering
3 years ago
Fernando Sahmkow
3ea10762d2
RasterizerMemory: Add filtering for flushing/invalidation operations.
3 years ago
Fernando Sahmkow
f7b16c30f1
MacroHLE: Add OpenGL Support
3 years ago
FernandoS27
11f29ec173
Vulkan: Add support for VK_EXT_depth_clip_control.
4 years ago
Alexander Orzechowski
9e0510f77d
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
Liam
2c6460d168
renderer_opengl: refactor context acquire
3 years ago
Liam
292cc68b75
video_core: Integrate SMAA
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com>
Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
3 years ago