Liam
7507a7f89f
renderer_vulkan: fix query cache for homebrew
2023-09-27 19:11:47 -04:00
GPUCode
b60013b277
host_shaders: More proper handling of x2 MSAA copies
2023-09-25 09:20:32 -04:00
GPUCode
5e4938ab1a
renderer_vulkan: Implement MSAA copies
2023-09-25 09:20:32 -04:00
liamwhite
854457a392
Merge pull request #11225 from FernandoS27/no-laxatives-in-santas-cookies
...
Y.F.C: Rework the Query Cache.
2023-09-25 09:18:29 -04:00
liamwhite
93a1cd75fe
Merge pull request #11562 from GPUCode/srgb-madness
...
vk_texture_cache: Limit srgb block to transcoding only
2023-09-24 10:50:28 -04:00
liamwhite
b356909212
Merge pull request #11165 from Morph1984/ds_blit
...
vulkan_device: Return true if either depth/stencil format supports blit
2023-09-24 10:50:04 -04:00
Fernando Sahmkow
57d8cd6c40
Query Cache: Fix Prefix Sums
2023-09-23 23:05:30 +02:00
Fernando Sahmkow
bf0d6b8806
Query Cache: Fix behavior in Normal Accuracy
2023-09-23 23:05:30 +02:00
Fernando Sahmkow
a07c88e686
Query Cache: Simplify Prefix Sum compute shader
2023-09-23 23:05:30 +02:00
Fernando Sahmkow
c8237d5c31
Query Cache: Implement host side sample counting.
2023-09-23 23:05:30 +02:00
Fernando Sahmkow
2fea1b8407
Query Cache: Fix guest side sample counting
2023-09-23 23:05:30 +02:00
Fernando Sahmkow
282ae8fa51
Query Cache: address issues
2023-09-23 23:05:30 +02:00
Fernando Sahmkow
aa6587d854
QueryCache: Implement dependant queries.
2023-09-23 23:05:29 +02:00
Fernando Sahmkow
57401589c2
Macro HLE: Add DrawIndirectByteCount
2023-09-23 23:05:29 +02:00
Fernando Sahmkow
f1a2e36711
Query Cachge: Fully rework Vulkan's query cache
2023-09-23 23:05:29 +02:00
Fernando Sahmkow
bdc01254a9
Query Cache: Setup Base rework
2023-09-23 23:05:29 +02:00
liamwhite
16f1592e50
Merge pull request #11557 from GPUCode/brr-format
...
renderer_vulkan: Correct component order for A4B4G4R4_UNORM
2023-09-22 09:56:04 -04:00
Kelebek1
4f69be8169
Fix DMA engine register offsets
2023-09-21 20:21:00 +01:00
GPUCode
b6ad7e263b
vk_texture_cache: Limit srgb block to transcoding only
2023-09-21 21:46:35 +03:00
GPUCode
4a59dc2947
renderer_vulkan: Correct component order for A4B4G4R4_UNORM
2023-09-21 15:33:44 +03:00
Squall-Leonhart
02b897ce27
Reuse part of my previous idea to to use num_levels to check within AdjustMipBlockSize
...
The partial revert was not enough for Tsukihime, this might do the trick
2023-09-20 03:27:13 +10:00
liamwhite
974380fe10
Merge pull request #11258 from Squall-Leonhart/Z16_Assert_Fix
...
Fix a logged assert in the format lookup table for Z16
2023-09-18 09:31:05 -04:00
Squall Leonhart
79f0202045
Partial revert of #10433
...
The If block in this change was causing some 2D textures to be treated as if their mip 0 was a 3D Slice, this could be ascertained as the same texture viewed from different distances would render fine, but then close up would look like a decoding failure.
It also resulted in some 3D ASTC textures not being scaled appropriate leading to broken graphical effects such as the jagged TOTK recall animation being a circle, as the If block was only accepting the image based on its original info without any adjustments applied.
2023-09-18 23:28:53 +10:00
Charles Lombardo
af0c1b0cb7
android: Use 1 worker for shader compilation for all devices
2023-09-16 21:38:28 -04:00
Fernando Sahmkow
b99f94a7ff
Vulkan: add temporary workaround for AMDVLK
2023-09-16 11:59:20 -04:00
Fernando Sahmkow
6a1ecab2dd
Vulkan: Implement Depth Bias Control
2023-09-16 11:58:55 -04:00
Kelebek1
baad1238c3
Look for the most recently modified image for present
2023-09-11 03:11:29 +01:00
liamwhite
b011ce023d
Merge pull request #11470 from GPUCode/bundle-vvl
...
android: Add option to bundle validation layer
2023-09-10 13:40:18 -04:00
GPUCode
24ab10c2f6
vk_buffer_cache: Respect max vertex bindings in BindVertexBuffers ( #11471 )
2023-09-10 02:19:45 +02:00
GPUCode
cad28abe61
renderer_vulkan: Remove debug report
...
* VVL has implemented the more modern alternative, thus we don't need to support it anymore
2023-09-08 23:28:46 +03:00
Feng Chen
e69eebb14a
video_core: Fix d24r8/s8d24 convert shader build error in moltenvk
2023-09-07 18:01:36 +08:00
Feng Chen
0145c89879
video_core: Add missing scissor update when viewport scale offset disable
2023-09-07 18:01:30 +08:00
liamwhite
76bddd3673
Merge pull request #11383 from FernandoS27/are-you-a-wabbit
...
Fix regressions that damaged compute indirect & use reinterpret for copies with different byteblocksizes
2023-09-02 14:42:42 -04:00
liamwhite
84eb1cdb65
Merge pull request #11393 from FernandoS27/bayo-got-busted-up
...
Maxwell3D: Improve Index buffer size estimation.
2023-09-02 14:42:28 -04:00
Danila Malyutin
164f880f23
Use initial_frame to check interlaced flag
...
If final frame was transferred from GPU, it won't carry the props.
Fixes #11089
2023-08-28 00:48:53 +04:00
Fernando Sahmkow
52544933d2
Maxwell3D: Improve Index buffer size estimation.
2023-08-27 22:14:37 +02:00
Fernando S
ada4697300
Merge pull request #11389 from FernandoS27/discard-fix
...
Buffer Cache: fix discard writes.
2023-08-27 04:26:59 +02:00
Fernando Sahmkow
115792158d
VideoCore: Implement DispatchIndirect
2023-08-27 04:26:22 +02:00
Fernando Sahmkow
710ca3ca49
Shader Recompiler: Auto stub special registers and dump pipelines on exception.
2023-08-27 03:47:04 +02:00
Fernando Sahmkow
acc99433c7
Buffer Cache: fix discard writes.
2023-08-27 03:45:43 +02:00
liamwhite
c5105b65d5
Merge pull request #11317 from Kelebek1/macro_dumps
...
Mark decompiled macros on dump, dump shaders after translation
2023-08-26 19:14:25 -04:00
Fernando Sahmkow
8beda6a2bf
DMA Pusher: Fix regression caused by guest memory optimizations
2023-08-26 22:00:43 +02:00
Kelebek1
d7a0b8c373
Mark decompiled macros as decompiled on dump, dump shaders after translation
2023-08-25 21:47:47 -04:00
Feng Chen
cc4736fa58
video_core: set vertex buffer num to 16, because mvk have when using more than 16
2023-08-23 23:22:55 +08:00
liamwhite
bc4ad5e62d
Merge pull request #11302 from vonchenplus/vulkan_macos
...
Add macos moltenvk bundle, Add copy moltevk dylib script
2023-08-22 13:10:26 -04:00
Feng Chen
87022a4833
Add macos moltenvk bundle, Add copy moltevk dylib script
2023-08-22 10:22:28 +08:00
liamwhite
18c08cee43
Merge pull request #11149 from ameerj/astc-perf-prod
...
host_shaders: ASTC compute shader optimizations
2023-08-21 16:08:51 -04:00
Kelebek1
f2f99a8c31
Masked depthstencil clears
2023-08-19 03:29:46 +01:00
liamwhite
ae1421265a
Merge pull request #11278 from Kelebek1/dma_sync
...
Mark accelerated DMA destination buffers and images as GPU-modified
2023-08-18 09:12:27 -04:00
Feng Chen
1dcb0c2232
video_core: Fix vulkan assert error
2023-08-18 14:40:11 +08:00
liamwhite
58a4c86797
Merge pull request #11282 from ameerj/glasm-xfb
...
gl_graphics_pipeline: GLASM: Fix transform feedback with multiple buffers
2023-08-14 09:19:20 -04:00
liamwhite
35a77c3bb2
Merge pull request #11283 from ameerj/glasm-pipeline-detection
...
gl_graphics_pipeline: Fix GLASM storage buffer detection
2023-08-14 09:19:10 -04:00
liamwhite
5afe1367ba
Merge pull request #11263 from liamwhite/my-feature-branch
...
vulkan_device: disable features associated with unloaded extensions
2023-08-14 09:18:47 -04:00
Ameer J
f9ef721ca6
gl_graphics_pipeline: Fix GLASM storage buffer detection
2023-08-13 17:06:45 -04:00
Ameer J
c34ed4bbd8
gl_graphics_pipeline: GLASM: Fix transform feedback with multiple buffers
2023-08-13 16:50:01 -04:00
Kelebek1
5a37b8f2c1
Mark accelerted DMA destination buffers and images as GPU-modified
2023-08-13 02:22:39 +01:00
Liam
7d8f748696
vulkan_device: disable features associated with unloaded extensions
2023-08-11 14:54:12 -04:00
Squall-Leonhart
e3dd78e414
Needed to make this an extra case so it didnt also start asserting in BOTW.
...
Thanks Liam
2023-08-11 08:45:15 +10:00
Squall Leonhart
b9ab44ed0e
Fix an assert in the format lookup table fir Z16
...
Came across this while looking into Asterix and Obelix XXL glitching
2023-08-11 08:18:54 +10:00
Liam
023b9b38cc
general: fix apple clang build
2023-08-09 22:38:37 -04:00
Ameer J
5c25712af9
flatten color_values
2023-08-09 18:45:52 -04:00
Ameer J
0f7220c9c8
flatten encoding_values
2023-08-09 18:38:37 -04:00
Ameer J
71857e889e
flatten result vector
2023-08-09 18:34:57 -04:00
Ameer J
70f8ffb787
GetUnquantizedWeightVector
2023-08-09 17:45:39 -04:00
liamwhite
85e3575496
Merge pull request #11216 from lat9nq/no-mesa-astc
...
gl_device: Detect Mesa to disable their ASTC
2023-08-07 11:34:22 -04:00
Ameer J
9058486b9b
Revert "HACK: Avoid swizzling and reuploading ASTC image every frame"
...
This reverts commit b18c1fb1bb
.
2023-08-06 14:55:05 -04:00
Ameer J
b18c1fb1bb
HACK: Avoid swizzling and reuploading ASTC image every frame
2023-08-06 14:54:58 -04:00
Ameer J
913803bf65
Compute Replicate
2023-08-06 14:54:58 -04:00
Ameer J
31a0cff036
minor
2023-08-06 14:54:58 -04:00
Ameer J
b36e645fee
undo uint
2023-08-06 14:54:58 -04:00
Ameer J
8ce158bce6
Revert "vulkan dims specialization"
...
This reverts commit e6243058f2269bd79ac8479d58e55feec2611e9d.
2023-08-06 14:54:58 -04:00
ameerj
5a78b35b1a
vulkan dims specialization
2023-08-06 14:54:58 -04:00
Ameer J
7a0d7e7668
small_block opt
2023-08-06 14:54:58 -04:00
Ameer J
fd2051b401
remove TexelWeightParams
2023-08-06 14:54:57 -04:00
Ameer J
75ac7845ce
error/void extent funcs
2023-08-06 14:54:57 -04:00
Ameer J
441b847107
more packing
2023-08-06 14:54:57 -04:00
Ameer J
f2cf81e0b6
Revert "uint result index"
...
This reverts commit 0e978786b5a8e7382005d8b1e16cfa12f3eeb775.
2023-08-06 14:54:57 -04:00
Ameer J
f41fb3ec0b
Revert "bfe instead of mod"
...
This reverts commit 86006a3b09e8a8c17d2ade61be76736a79e3f58a.
2023-08-06 14:54:57 -04:00
Ameer J
553dd3e120
Revert "global endpoints"
...
This reverts commit d8f5bfd1df2b7469ef6abcee182aa110602d1751.
2023-08-06 14:54:57 -04:00
Ameer J
c077e467c4
global endpoints
2023-08-06 14:54:57 -04:00
Ameer J
5c16559694
bfe instead of mod
2023-08-06 14:54:57 -04:00
Ameer J
6b0b584eba
uint result index
2023-08-06 14:54:57 -04:00
Ameer J
05ee37a1f0
amd opts
2023-08-06 14:54:57 -04:00
Ameer J
3494fce864
gl
2023-08-06 14:54:57 -04:00
Ameer J
5248fa926d
const, pack result_vector and replicate tables,
...
undo amd opts
2023-08-06 14:54:57 -04:00
Ameer J
998246efc2
minor redundancy cleanup
2023-08-06 14:54:57 -04:00
Ameer J
d17a51bc59
extractbits robustness
2023-08-06 14:54:57 -04:00
Ameer J
0078e5a338
reuse vectors memory
2023-08-06 14:54:57 -04:00
Ameer J
b8ca47e094
EncodingData pack
2023-08-06 14:54:57 -04:00
Ameer J
27c8bb9615
flattening
2023-08-06 14:54:57 -04:00
Ameer J
ac09cc3504
weights refactor
2023-08-06 14:54:57 -04:00
Ameer J
6ff65abd62
params.max_weight
2023-08-06 14:54:57 -04:00
Ameer J
e0c59c7b0b
skip bits
2023-08-06 14:54:57 -04:00
Ameer J
7ef879b296
restrict
2023-08-06 14:54:57 -04:00
lat9nq
cb0b8442f0
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
2023-08-05 15:19:16 -04:00
liamwhite
4533769f7f
Merge pull request #11212 from Kelebek1/shader_stuff
...
Fix various misc pipeline/shader things
2023-08-05 12:58:39 -04:00
Kelebek1
dfb7fc8293
Fix shader dumps with nvdisasm
...
skip fragment shaders when rasterizer is disabled
initialize env_ptrs
2023-08-03 15:30:27 +01:00
Ameer J
cd80cbc420
vulkan_device: Fix subgroup_size_control detection on Vulkan 1.3
2023-08-02 20:45:03 -04:00
Ameer J
c7c44dc238
vulkan_device: Fix VK_EXT_subgroup_size_control detection
2023-08-02 19:25:14 -04:00
liamwhite
096644c01c
Merge pull request #11202 from abouvier/vulkan-config
...
vulkan: centralize config
2023-08-02 14:26:03 -04:00