Kelebek1
5fa3d987ad
Transition MSAA images to general layout without uploading data
3 years ago
Kelebek1
31c39fffc2
Do not set rescaled flag when rescaling is disabled
3 years ago
Kelebek1
5063305487
Implement X8_D24 format
3 years ago
Fernando Sahmkow
93cd3d8efd
Query Cache: address issues
3 years ago
Fernando Sahmkow
5ea12207f3
Query Cachge: Fully rework Vulkan's query cache
3 years ago
Fernando Sahmkow
94dd857cda
VideoCore: Implement DispatchIndirect
3 years ago
Ameer J
c6aafc55ab
gl_graphics_pipeline: Fix GLASM storage buffer detection
3 years ago
Ameer J
4e1813a2c3
gl_graphics_pipeline: GLASM: Fix transform feedback with multiple buffers
3 years ago
Kelebek1
5de54129b3
Mark accelerted DMA destination buffers and images as GPU-modified
3 years ago
Ameer J
903280955a
Revert "HACK: Avoid swizzling and reuploading ASTC image every frame"
This reverts commit 476ac42b61 .
3 years ago
Ameer J
476ac42b61
HACK: Avoid swizzling and reuploading ASTC image every frame
3 years ago
Ameer J
6678ade989
gl
3 years ago
lat9nq
f34bc9cc98
gl_device: Filter more specifically for slow ASTC
Adds a check to find if the renderer is Intel DG (i.e. DG2).
gl_device: Detect Mesa to disable their ASTC
In our testing, our own ASTC decoder has shown itself to perform faster
than the included one from the driver. Disable theirs when Mesa is
detected.
Mesa detection depends on the vendor string. Some drivers never appear
outside of *nix contexts, so only check those in the *nix context.
gl_device: Internalize Intel DG detection
3 years ago
Kelebek1
770130b6c2
Fix shader dumps with nvdisasm
skip fragment shaders when rasterizer is disabled
initialize env_ptrs
3 years ago
lat9nq
ed14cd8748
settings,opengl,yuzu-qt: Fix AA, Filter maximums
The new enum macros don't support setting values directly.
For LastAA and LastFilter, this means we need a simpler approach to loop
around the toggle in the frontend...
3 years ago
lat9nq
78f92086ca
settings,general: Rename non-confirming enums
3 years ago
lat9nq
fc30b04714
settings,video_core: Consolidate ASTC decoding options
Just puts them all neatly into one place.
3 years ago
lat9nq
30e4e8c2f4
general: Silence -Wshadow{,-uncaptured-local} warnings
These occur in the latest commits in LLVM Clang.
3 years ago
Fernando Sahmkow
4f68a8f45a
Memory Tracking: Optimize tracking to only use atomic writes when contested with the host GPU
3 years ago
ameerj
5ae4d9983b
OpenGL: Limit lmem warmup to NVIDIA
🐸
3 years ago
ameerj
28cecc6cd8
shaders: Track local memory usage
3 years ago
ameerj
b2349d75f4
OpenGL: Add Local Memory warmup shader
3 years ago
Kelebek1
c7430e51e3
Remove memory allocations in some hot paths
3 years ago
Wollnashorn
815f54385a
video_core: Use sampler IDs instead pointers in the pipeline config
The previous approach of storing pointers returned by `GetGraphicsSampler`/`GetComputeSampler` caused UB, as these functions can cause reallocation of the sampler slot vector and therefore invalidate the pointers
3 years ago
Wollnashorn
eff77dae59
video_core: Fallback to default anisotropy instead to 1x anisotropy
3 years ago
Wollnashorn
1f7c69934d
video_core: Fixed compilation errors because of name shadowing
3 years ago
Wollnashorn
1844cad9d4
video_core: Add per-image anisotropy heuristics (format & mip count)
3 years ago
Liam
c913c891e0
video_core: preallocate fewer IR blocks
3 years ago
Morph
9da90de908
buffer_cache_base: Specify buffer type in HostBindings
Avoid reinterpret-casting from void pointer since the type is already known at compile time.
3 years ago
Liam
947a4f6141
shader_recompiler: translate f64 to f32 when unsupported on host
3 years ago
Liam
b646ac2908
shader_recompiler: remove barriers in conditional control flow when device lacks support
3 years ago
Kelebek1
ac23abacac
Combine vertex/transform feedback buffer binding into a single call
3 years ago
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
ameerj
41dfd9e4ec
gl_staging_buffers: Optimization to reduce fence waiting
3 years ago
ameerj
8d223e8092
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
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