CamilleLaVey
41614c7c88
[vk, spir-v] Adding decoration for NonWritable buffers if vertexPipelineStoresAndAtomics isn't available
1 month 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>
3 months 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>
3 months ago
crueter
9cef9f5dce
Update fmt to allow for v11
Signed-off-by: swurl <swurl@swurl.xyz>
9 months ago
Liam
9070fbdc09
shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loop
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
a952270b5c
shader_recompiler: use float image operations on load/store when required
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
b49639e786
shader_recompiler: Align SSBO offsets in GlobalMemory functions
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
Liam
152beedc51
shader_recompiler: always declare image format for image buffers
2 years ago
Kelebek1
c7430e51e3
Remove memory allocations in some hot paths
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
Kelebek1
dc9546fe26
Define SampleMask as an array
3 years ago
ameerj
bbb60f60d2
spirv: Fix TXQ with MSAA textures
3 years ago
Liam
ac94832cb6
spirv: fix multisampled image fetch
3 years ago
Billy Laws
535e297ebd
Run clang-format
3 years ago
Billy Laws
3772cfc976
shader_recompiler: SPIRV: Only enable int64 feature when supported
3 years ago
Billy Laws
77aea7e2b4
Vulkan: Add a workaround for input_position on Adreno drivers
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
3 years ago
Fernando Sahmkow
1fdf24a081
Video_core: Address feedback
3 years ago
Fernando Sahmkow
7842543573
MacroHLE: Add HLE replacement for base vertex and base instance.
3 years ago
Liam
3b502d3095
spirv_emit_context: declare GroupNonUniform capability for SubgroupLocalInvocationId
3 years ago
Liam
4b905e9680
spirv_emit_context: add missing flat decoration
3 years ago
FengChen
12f2ab01bb
shader: Implement miss attribute layer
3 years ago
FengChen
348c6e5b28
video_core: Fix few issues in Tess stage
3 years ago
FengChen
38e9c78843
video_core: Generate mipmap texture by drawing
3 years ago
FengChen
98656c14a8
video_code: support rectangle texture
3 years ago
Kelebek1
9427a0f535
Add missed shader defines. Fixes Xenoblade Chronicles 3 booting with Vulkan.
3 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
Liam
528cba63b6
shader_recompiler: support const buffer indirect addressing on OpenGL SPIR-V
4 years ago
Billy Laws
ef9b177ecb
Include <bit> header when std::count{r,l}_zero is used
Needed for compilation with older libc++ releases
4 years ago
ameerj
0df188787a
shader_recompiler: Reduce unused includes
4 years ago
Liam
83b1c9de37
Address review comments
4 years ago
Liam
95b9f62686
shader_recompiler: Use functions for indirect const buffer accesses
4 years ago
v1993
970b362ca1
shader_recompiler: fix potential OOB access
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
4 years ago
vonchenplus
8ea541bc11
Remove spirv handle legacy related code
4 years ago
ameerj
efd428c747
shader_recompiler: Adjust emit_context includes
4 years ago
ameerj
c0705ede4d
shader_recompiler: Rename backend emit_context files
4 years ago
ameerj
d644a3780c
vulkan: Fix rescaling push constant usage
4 years ago
ReinUsesLisp
d04e2dac6c
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
4 years ago
ReinUsesLisp
e63fc7a4bb
spirv: Implement rescaling patching
4 years ago
Feng Chen
c047b66519
Simply legacy attribute implement
4 years ago
vonchenplus
64a9dffd3d
Support gl_FogFragCoord attribute
4 years ago
vonchenplus
1c917c6905
Support gl_BackSecondaryColor attribute
4 years ago
vonchenplus
9cd198ede9
Support gl_FrontSecondaryColor attribute
4 years ago
vonchenplus
b4301281d5
Support gl_BackColor attribute
4 years ago