xbzk
1240cd43d7
patch: mock return for textures not found by Track method ( #150 )
as discussed in #dev-chat, the goal is to feed untracked bindless textures requests with last valid bindless textures for now, so that most games keep running despite possible visual artifacts. as Track evolves, this mock shall be dropped eventually.
Co-authored-by: Allison Cunha <allisonbzk@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/150
Co-authored-by: xbzk <xbzk@noreply.localhost>
Co-committed-by: xbzk <xbzk@noreply.localhost>
11 months ago
swurl
918d6d3514
proper placement of clip distance init
Signed-off-by: swurl <swurl@swurl.xyz>
1 year ago
JPikachu
c64f1994c7
Fix complination issues by making clip_distance_written static
1 year ago
JPikachu
fc1a3b6310
shader compiler: Ensure all clip distances are initialized when used
Thank you to Ryujinx (riperiperi specifically) for the pointer towards clip distances
Huge thanks to crueter for finding where the code works and Camille for giving pointers along the way.
1 year ago
EmulationEnjoyer
fcec7995af
feat(shader): implement geometry shader invocation info
- Update EmitInvocationInfo in SPIRV backend to handle geometry shader stage
ref: 1266fad681 (diff-4cbf73a98ed4ad649a4a6f38b569bc31fcf68cf7)
1 year ago
MrPurple666
44dc152a2b
Add InputTopologyVertices from torzu adapted to eden
1 year ago
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>
1 year 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>
3 years ago
Ameer J
ef8f689761
emit_glsl_warp: Fix shfl_in_bounds conditional
3 years ago
Kelebek1
90d99fbd00
Manually robust on Maxwell and earlier
3 years ago
Liam
445d504f94
ci: fix new codespell errors
3 years ago
Liam
47ea64c9a5
emit_spirv: fix incorrect use of descriptor index in image atomics
3 years ago
liamwhite
9530b96e5f
shader_recompiler: skip sampler for buffer textures ( #11435 )
3 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