Commit Graph

29 Commits (5b8fdedf4d5602467e5a61d2a51558c7b9f28bac)

Author SHA1 Message Date
Liam ba4b65e4bc shader_recompiler: always declare image format for image buffers 2 years ago
Kelebek1 5da70f7197 Remove memory allocations in some hot paths 2 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.
2 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
liamwhite 9c67334031
Merge pull request #9253 from vonchenplus/attr_layer
shader: Implement miss attribute layer
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