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>
11 months ago
lizzie
992bae4e2a
[common] replace Common::BitCast with libc++ provided one ( #2774 )
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2774
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
12 months ago
lizzie
191e4c75a1
[meta] fix license headers ( #2547 )
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
1 year ago
lizzie
9d2681ecc9
[cmake] enable clang-cl and WoA builds ( #348 )
Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64.
Compiling on clang is *dramatically* faster so this should be useful for CI.
Co-authored-by: crueter <crueter@eden-emu.dev>
Co-authored-by: crueter <crueter@crueter.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
1 year 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>
1 year ago
MrPurple666
44dc152a2b
Add InputTopologyVertices from torzu adapted to eden
1 year ago
crueter
9cef9f5dce
Update fmt to allow for v11
Signed-off-by: swurl <swurl@swurl.xyz>
2 years 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>
3 years ago
Ameer J
abd400e04f
shader_recompiler: Fix spelling of "derivate" ( #12067 )
3 years ago
Ameer J
b49639e786
shader_recompiler: Align SSBO offsets in GlobalMemory functions
3 years ago
Liam
445d504f94
ci: fix new codespell errors
3 years ago
Fernando Sahmkow
01858648d1
Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagation
3 years ago
ameerj
a2b344ab9d
emit_glasm: Fix lmem size computation
3 years ago
ameerj
13b0feaede
emit_glasm_image: Fix TXQ with MSAA textures
4 years ago
ameerj
2d2558797c
shader_recompiler: TXQ: Skip QueryLevels when possible
4 years ago
ameerj
9f64e023df
glasm: Add MS sampler types
4 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
4 years ago
Fernando Sahmkow
1fdf24a081
Video_core: Address feedback
4 years ago
FengChen
12f2ab01bb
shader: Implement miss attribute layer
4 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
Morph
9a8db147b2
CMakeLists: Disable C4100 and C4324
Disabling C4100 is similar to -Wno-unused-parameter
4 years ago
Liam
6bac6d044f
shader_recompiler: add extended LDC to GLASM backend
4 years ago
Andrea Pappacoda
b1585fed5a
chore: fix some typos
Fix some typos reported by Lintian
4 years ago
FengChen
38e9c78843
video_core: Generate mipmap texture by drawing
4 years ago
FengChen
98656c14a8
video_code: support rectangle texture
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.
5 years ago
ameerj
0df188787a
shader_recompiler: Reduce unused includes
5 years ago
ameerj
0c5e641757
shaders: Add U64->U32x2 Atomic fallback functions
5 years ago
liushuyu
479d57987c
logging/log.h: move enum class formatter to a separate file ...
... to common/logging/formatter.h
5 years ago
liushuyu
682ea0f431
logging: adapt to changes in fmt 8.1
5 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.
5 years ago
ameerj
44832be5d2
emit_glasm_context_get_set: Fix GetAttribute return value type.
GetAttribute expects an F32 result type at the IR level, this fixes the return value of attributes which were not returning an F32
5 years ago
ameerj
ed5b039980
glasm: Move implemented instructions from not_implemented.cpp
5 years ago
ameerj
efd428c747
shader_recompiler: Adjust emit_context includes
5 years ago
ameerj
c0705ede4d
shader_recompiler: Rename backend emit_context files
5 years ago
ReinUsesLisp
d04e2dac6c
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
5 years ago
ReinUsesLisp
0d12e498ab
glsl/glasm: Pass and use scaling parameters in shaders
5 years ago
ameerj
b83c3e7182
gl_graphics_pipeline: Add downscale factor to shader uniforms
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
Fernando Sahmkow
a354c3ae82
Shader Cahe: Fix Phi Nodes on GLASM.
5 years ago
Lioncash
00bd622334
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
This should be LINES_ADJACENCY
5 years ago
ReinUsesLisp
2321666580
shader: Avoid usage of C++20 ranges to build in clang
5 years ago
lat9nq
b557314001
shader_recompiler, video_core: Resolve clang errors
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
5 years ago
lat9nq
c969f6e678
shader: GCC fmt 8.0.0 fixes
5 years ago
ameerj
33d21ac2db
opengl: Implement LOP.CC
Used by MH:Rise
5 years ago
ReinUsesLisp
362888dcb0
glasm: Add passthrough geometry shader support
5 years ago
ReinUsesLisp
b1df436cef
shader: Rework varyings and implement passthrough geometry shaders
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
5 years ago