Liam
fcfa8b680b
shader_recompiler: use minimal clip distance array
2 years ago
Liam
94244437de
shader_recompiler: ignore clip distances beyond driver support level
2 years ago
Ameer J
75c5be55af
shader_recompiler: Align SSBO offsets in GlobalMemory functions
2 years ago
Liam
1e24d02434
emit_spirv: fix incorrect use of descriptor index in image atomics
2 years ago
liamwhite
eb4ddb2868
shader_recompiler: skip sampler for buffer textures ( #11435 )
2 years ago
Liam
ba4b65e4bc
shader_recompiler: always declare image format for image buffers
2 years ago
Kelebek1
5da70f7197
Remove memory allocations in some hot paths
3 years ago
Billy Laws
158a1896ec
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
b566c98258
Define SampleMask as an array
3 years ago
ameerj
a63e17566a
spirv: Fix TXQ with MSAA textures
3 years ago
Liam
76a4356e55
spirv: fix multisampled image fetch
3 years ago
Billy Laws
58fec43768
Run clang-format
3 years ago
Billy Laws
3f0985c7b0
shader_recompiler: SPIRV: Only enable int64 feature when supported
3 years ago
Billy Laws
bbfad79c89
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
a0c697124c
Video_core: Address feedback
3 years ago
Fernando Sahmkow
aad0cbf024
MacroHLE: Add HLE replacement for base vertex and base instance.
3 years ago
Liam
77b0d01639
spirv_emit_context: declare GroupNonUniform capability for SubgroupLocalInvocationId
3 years ago
Liam
0d033e6b45
spirv_emit_context: add missing flat decoration
3 years ago
FengChen
60e0d4a177
shader: Implement miss attribute layer
3 years ago
FengChen
a4472b5526
video_core: Fix few issues in Tess stage
3 years ago
FengChen
9a95c7fa14
video_core: Generate mipmap texture by drawing
3 years ago
FengChen
b2a6dde438
video_code: support rectangle texture
3 years ago
Kelebek1
f580946b0d
Add missed shader defines. Fixes Xenoblade Chronicles 3 booting with Vulkan.
3 years ago
Morph
99ceb03a1c
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
a45baa0e78
shader_recompiler: support const buffer indirect addressing on OpenGL SPIR-V
4 years ago
Billy Laws
dd862dff66
Include <bit> header when std::count{r,l}_zero is used
Needed for compilation with older libc++ releases
4 years ago
ameerj
574a2c4b77
shader_recompiler: Reduce unused includes
4 years ago
Liam
3009d0bd7d
Address review comments
4 years ago
Liam
e228a40db8
shader_recompiler: Use functions for indirect const buffer accesses
4 years ago
v1993
a943600019
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
6ebc972c2b
Remove spirv handle legacy related code
4 years ago
ameerj
f32b2bcd20
shader_recompiler: Adjust emit_context includes
4 years ago
ameerj
5286a7bc4c
shader_recompiler: Rename backend emit_context files
4 years ago
ameerj
618de4e787
vulkan: Fix rescaling push constant usage
4 years ago
ReinUsesLisp
e66d5b88a6
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
4 years ago
ReinUsesLisp
656adee630
spirv: Implement rescaling patching
4 years ago
Feng Chen
f2a4204245
Simply legacy attribute implement
4 years ago
vonchenplus
49f9a44235
Support gl_FogFragCoord attribute
4 years ago
vonchenplus
36c21ff6cb
Support gl_BackSecondaryColor attribute
4 years ago
vonchenplus
92bebecf46
Support gl_FrontSecondaryColor attribute
4 years ago
vonchenplus
b04c7b6343
Support gl_BackColor attribute
4 years ago
Feng Chen
b1e655f898
Detail adjustment
4 years ago
Feng Chen
bbc1800c1b
Detail adjustment
4 years ago
Feng Chen
e5ca733722
Re-implement get unused location
4 years ago
Feng Chen
9cdf2383e9
Move attribute related definitions to spirv anonymous namespace
4 years ago
Feng Chen
1de9e4e121
Dynamic get unused location
4 years ago
Feng Chen
d994466a08
Implement intput and output fixed fnc textures
4 years ago
Feng Chen
a7bbaa4897
Rename parameters
4 years ago
Feng Chen
cf26f375ff
Fix create GraphicsPipelines crash
4 years ago
Feng Chen
1e2a89d306
Add input/output location
4 years ago