lizzie
8e9d99b324
fix with bigger batch sizes
1 month ago
lizzie
0e6ea2d9d6
[shader_recompiler] Add IAbs64 to prevent errors when using I2F with a 64-bit packed CBUF variant ( #2918 )
- Using I2F cbuf variant (packed 32x2 aka. U64)
- Code will call IAbs() if some conditions are met (signed + abs bit)
- Uh oh we don't have a variant for 64 bits!
- Fuck now we just made BAD ir code :(
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2918
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
6 months ago
lizzie
7962c81738
[spirv] new castings for int8/int16/etc ( #86 )
This commit introduces extended support for low-precision integer casting (int8, int16) in the SPIR-V shader generation pipeline, improving compatibility and performance across both Android and PC platforms.
Co-authored-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/86
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
9 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
ameerj
2d2558797c
shader_recompiler: TXQ: Skip QueryLevels when possible
3 years ago
ameerj
382717743a
shader_recompiler: Remove S32 IR type
The frontend IR opcodes do not distinguish between signed and unsigned integer types.
Fixes broken shaders when IR validation/graphics debugging is enabled for shaders that used BitCastS32F32
3 years ago
FengChen
348c6e5b28
video_core: Fix few issues in Tess stage
4 years ago
Feng Chen
bcf6a7c0dd
video_core: Fix SNORM texture buffer emulating error ( #9001 )
4 years ago
FengChen
38e9c78843
video_core: Generate mipmap texture by drawing
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
ameerj
0c5e641757
shaders: Add U64->U32x2 Atomic fallback functions
4 years ago
ameerj
22a4d26479
shader: Add integer attribute get optimization pass
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
4 years ago
ReinUsesLisp
d04e2dac6c
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
5 years ago
ReinUsesLisp
7f88938d72
shader: Add IsTextureScaled opcode
5 years ago
ReinUsesLisp
8cfa8cda16
shader: Add integer division opcodes
5 years ago
ReinUsesLisp
47d1d881cf
shader: Add resolution down factor opcode
5 years ago
ReinUsesLisp
f158fe9359
shader: Remove IAbs64
5 years ago
ReinUsesLisp
04c1dca457
shader: Move loop safety tests to code emission
5 years ago
lat9nq
3a70b6c79b
shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
5 years ago
ReinUsesLisp
50e491f101
glasm: Use integer lod for TXQ
5 years ago
ReinUsesLisp
ec19b0d7eb
glasm: Implement Y direction
5 years ago
ReinUsesLisp
91a375b557
glasm: Implement undef instructions
5 years ago
ReinUsesLisp
a5ce5f4a65
glasm: Fix usage counting on phi nodes
5 years ago
ReinUsesLisp
09ad2b5994
glasm: Implement global memory fallbacks
5 years ago
ReinUsesLisp
46edc93371
glasm: Implement int64 add and subtract
5 years ago
ReinUsesLisp
e9a5390a92
glasm: Implement indirect attribute loads
5 years ago
ReinUsesLisp
dd41025472
glasm: Implement SampleId
5 years ago
ReinUsesLisp
5f9dd18113
glasm: Implement IsHelperInvocation
5 years ago
ameerj
68fb25a223
glasm: Implement FSWZADD
5 years ago
ReinUsesLisp
2e5002f0bf
glasm: Implement patch memory
5 years ago
ReinUsesLisp
deb47706e9
glasm: Fix InvocationId declaration
5 years ago
ReinUsesLisp
bbc4c8e6b6
glasm: Fix potential aliasing bug on cube array samples
5 years ago
ReinUsesLisp
1426ed05b0
glasm: Implement EmitVertex and EndPrimitive
5 years ago
ReinUsesLisp
9c318fe58b
glasm: Implement ImageGradient
5 years ago
ReinUsesLisp
d95e33ac44
glasm: Implement 64-bit shifts
5 years ago
ReinUsesLisp
1e64cbd23a
glasm: Implement ImageFetch
5 years ago
ReinUsesLisp
cfa232a5a5
glasm: Implement SelectU1
5 years ago
ReinUsesLisp
089e3a82b3
glasm: Implement gl_WorkGroupID
5 years ago
ReinUsesLisp
50dda4164a
glasm: Implement TXQ and improve texture info reads
5 years ago
ReinUsesLisp
e4835094aa
glasm: Implement textureGather instructions
5 years ago
ReinUsesLisp
98b4463dbb
glasm: Implement gl_FragDepth and gl_SampleMask stores
5 years ago
ReinUsesLisp
5c6dc51c69
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
5 years ago
ReinUsesLisp
0b3a3f35e8
glasm: Implement TEX and TEXS instructions
Remove lod clamp from texture instructions with lod, as this is not
needed (nor supported).
5 years ago
ReinUsesLisp
009721f477
glasm: Improve texture sampling instructions
5 years ago
ameerj
be403ea956
glasm: Implement rest of shared mem
5 years ago
ReinUsesLisp
87c847ddc3
glasm: Implement derivative instructions on GLASM
5 years ago
ameerj
d0c4cca02d
glasm: Implement local memory for glasm
5 years ago
ReinUsesLisp
f2ae32fa76
glasm: Initial implementation of phi nodes on GLASM
5 years ago
ReinUsesLisp
03f6d424ce
glasm: Rework control flow introducing a syntax list
This commit regresses VertexA shaders, their transformation pass has to
be adapted to the new control flow.
5 years ago
ameerj
8a556b49cf
glasm: Implement Storage atomics
StorageAtomicExchangeU64 is failing test seemingly due to failure storing 64-bit
result into the register
5 years ago