EmulationEnjoyer
cb135ba86f
shader/recompiler: Revert NVN storage buffer bias range
- Return to original NVN bias values which better cover the full range of storage buffer accesses:
- offset_begin: 0x110 -> 0x100
- offset_end: 0x610 -> 0x700
The wider range ensures we catch all valid storage buffer accesses
while maintaining the same alignment requirements.
ref: 2564e721df
1 year ago
crueter
9cef9f5dce
Update fmt to allow for v11
Signed-off-by: swurl <swurl@swurl.xyz>
11 months ago
darktux
9f4ef30b55
Add SR_WScaleFactorXY/SR_WScaleFactorZ stubs for Prince of Persia ( #5 )
Pulled in and cleaned up from Sudachi
Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/5
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2 years ago
Liam
749f0564ae
shader_recompiler: throw on missing geometry streams in geometry shaders
2 years ago
Liam
8c5083b014
shader_recompiler: fix non-const offset for arrayed image types
2 years ago
Liam
0466d1dedb
Revert "shader_recompiler: use only ConstOffset for OpImageFetch"
This reverts commit d69e462d13 .
2 years ago
Liam
d69e462d13
shader_recompiler: use only ConstOffset for OpImageFetch
2 years ago
Viktor Szépe
8f8a15827f
Fix more typos
2 years ago
Liam
9070fbdc09
shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loop
2 years ago
Liam
b51ba38c29
shader_recompiler: fix Offset operand usage for non-OpImage*Gather
2 years ago
Viktor Szépe
ce9152ad68
Fix "Propietary" typo elsewhere
2 years ago
Liam
221f2edfb9
shader_recompiler: use default value for clip distances array
2 years ago
Liam
e7b5befdad
shader_recompiler: respect clip distance limits in indexed store
2 years ago
Ameer J
deb6899663
spirv_emit_context: Fix BaseInstance for OGL spirv
2 years ago
Liam
d74d5f8cfd
shader_recompiler: ensure derivatives for textureGrad are f32
2 years ago
Liam
a952270b5c
shader_recompiler: use float image operations on load/store when required
2 years ago
Ameer J
822348997d
emit_glsl_image: Use inlined texelFetch offsets
2 years ago
Liam
3c14f747f9
shader_recompiler: use minimal clip distance array
2 years ago
Liam
6611ba122b
shader_recompiler: ignore clip distances beyond driver support level
2 years ago
Ameer J
38449c071d
GLSL: Prefer known used cbuf sizes
2 years ago
Liam
a41e57d968
renderer_vulkan: ignore viewport stores on non-supporting drivers
2 years ago
Ameer J
abd400e04f
shader_recompiler: Fix spelling of "derivate" ( #12067 )
2 years ago
Ameer J
6b239acfc1
shader_recompiler: add byteswap pattern workaround for Nvidia
2 years ago
Ameer J
b49639e786
shader_recompiler: Align SSBO offsets in GlobalMemory functions
2 years ago
Ameer J
e538b932de
shader_recompiler: Align SSBO offsets to meet host requirements
Co-Authored-By: Billy Laws <blaws05@gmail.com>
2 years ago
Ameer J
ef8f689761
emit_glsl_warp: Fix shfl_in_bounds conditional
2 years ago
Kelebek1
90d99fbd00
Manually robust on Maxwell and earlier
2 years ago
Liam
445d504f94
ci: fix new codespell errors
2 years ago
Liam
47ea64c9a5
emit_spirv: fix incorrect use of descriptor index in image atomics
2 years ago
liamwhite
9530b96e5f
shader_recompiler: skip sampler for buffer textures ( #11435 )
2 years ago
Danila Malyutin
7f0de0f204
msvc: set warning level to /W4 globally
And fix a bunch of warnings
3 years ago
Liam
152beedc51
shader_recompiler: always declare image format for image buffers
3 years ago
Liam
024fb4fae9
shader_recompiler: fix emulation of 3D textureGrad
3 years ago
Fernando Sahmkow
8fcab24644
Shader Recompiler: Auto stub special registers and dump pipelines on exception.
3 years ago
Fernando Sahmkow
01858648d1
Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagation
3 years ago
Kelebek1
770130b6c2
Fix shader dumps with nvdisasm
skip fragment shaders when rasterizer is disabled
initialize env_ptrs
3 years ago
Liam
b13ddf2a73
ssa_rewrite_pass: use proper maps
3 years ago
ameerj
28cecc6cd8
shaders: Track local memory usage
3 years ago
ameerj
a2b344ab9d
emit_glasm: Fix lmem size computation
3 years ago
Kelebek1
c7430e51e3
Remove memory allocations in some hot paths
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
bunnei
3571f28cde
video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise.
3 years ago
Billy Laws
cfbe4b09eb
Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUs
This crashes their shader compiler for some reason.
3 years ago
Billy Laws
2beb3051c1
Implement scaled vertex buffer format emulation
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
3 years ago
Liam
e19d49925a
shader_recompiler: fix copy-paste error
3 years ago
Kelebek1
2e478a66cf
Fix Tears of the Kingdom flickering clouds and depths.
3 years ago
Kelebek1
dc9546fe26
Define SampleMask as an array
3 years ago
Wollnashorn
d53aa13a33
shader_recompiler: Use vector arithmetic rather than component-wise in ImageGatherSubpixelOffset
Should be more efficient and better readable
3 years ago
Wollnashorn
dda107ffa7
video_core: Enable ImageGather with subpixel offset on Intel
3 years ago