Fernando Sahmkow
7fcd0fee6d
Buffer Cache: Use vAddr instead of physical memory.
6 years ago
Fernando Sahmkow
6ee316cb8f
Texture Cache: Use vAddr instead of physical memory for caching.
6 years ago
Fernando Sahmkow
9c0f40a1f5
GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddr
6 years ago
namkazy
2c98e14d13
shader_decode: SULD.D using std::pair instead of out parameter
6 years ago
namkazy
9efa51311f
shader_decode: SULD.D avoid duplicate code block.
6 years ago
namkazy
7f5696513f
shader_decode: SULD.D fix conversion error.
6 years ago
namkazy
2906372ba1
shader_decode: SULD.D implement bits64 and reverse shader ir init method to removed shader stage.
6 years ago
ReinUsesLisp
3185245845
shader/memory: Implement RED.E.ADD
Implements a reduction operation. It's an atomic operation that doesn't
return a value.
This commit introduces another primitive because some shading languages
might have a primitive for reduction operations.
6 years ago
ReinUsesLisp
fd0a2b5151
shader/memory: Add "using std::move"
6 years ago
ReinUsesLisp
79970c9174
shader/memory: Minor fixes in ATOM
6 years ago
namkazy
730f9b55b3
silent warning (conversion error)
6 years ago
namkazy
9f6ebccf06
shader_decode: SULD.D -> SINT actually same as UNORM.
6 years ago
namkazy
6f2b7087c2
shader_decode: SULD.D fix decode SNORM component
6 years ago
namkazy
69657ff19c
clang-format
6 years ago
namkazy
24cc64c5b3
shader_decode: get sampler descriptor from registry.
6 years ago
namkazy
acd3f0ab37
tweaking.
6 years ago
Nguyen Dac Nam
8370188b3c
clang-format
6 years ago
namkazy
3e3afa9be6
cleanup unuse params
6 years ago
namkazy
5cd5857000
cleanup debug code.
6 years ago
namkazy
658112783d
reimplement get component type, uncomment mistaken code
6 years ago
namkazy
3ad06e9b2b
remove disable optimize
6 years ago
namkazy
f24c2e1103
[wip] reimplement SULD.D
6 years ago
namkazy
58bcb86af5
add shader stage when init shader ir
6 years ago
Nguyen Dac Nam
2cefdd92bd
clang-fix
6 years ago
Nguyen Dac Nam
1f3d142875
shader: image - import PredCondition
6 years ago
Nguyen Dac Nam
08db60392d
shader: SULD.D bits32 implement more complexer method.
6 years ago
Nguyen Dac Nam
ed1d8beb13
shader: SULD.D import StoreType
6 years ago
Nguyen Dac Nam
6d235b8631
shader: implement SULD.D bits32
6 years ago
ReinUsesLisp
60106531b4
shader/other: Add error message for some S2R registers
6 years ago
ReinUsesLisp
8b719e9e1d
shader_bytecode: Rename MOV_SYS to S2R
6 years ago
ReinUsesLisp
9d15feb892
shader_bytecode: Add encoding for BAR
6 years ago
ReinUsesLisp
16ae98dbb3
shader_ir: Add error message for EXIT.FCSM_TR
6 years ago
ReinUsesLisp
c02a2dc24a
shader_bytecode: Add encoding for VOTE.VTG
6 years ago
ReinUsesLisp
80c4fee4ec
Revert "Merge pull request #3499 from ReinUsesLisp/depth-2d-array"
This reverts commit 41905ee467 , reversing
changes made to 35145bd529 .
It causes regressions in several games.
6 years ago
ReinUsesLisp
e1bd89e1c2
shader/memory: Silence no return value warning
Silences a warning about control paths not all returning a value.
6 years ago
ReinUsesLisp
2339fe199f
shader_decompiler: Remove FragCoord.w hack and change IPA implementation
Credits go to gdkchan and Ryujinx. The pull request used for this can
be found here: https://github.com/Ryujinx/Ryujinx/pull/1082
yuzu was already using the header for interpolation, but it was missing
the FragCoord.w multiplication described in the linked pull request.
This commit finally removes the FragCoord.w == 1.0f hack from the shader
decompiler.
While we are at it, this commit renames some enumerations to match
Nvidia's documentation (linked below) and fixes component declaration
order in the shader program header (z and w were swapped).
https://github.com/NVIDIA/open-gpu-doc/blob/master/Shader-Program-Header/Shader-Program-Header.html
6 years ago
ReinUsesLisp
dd1232755b
gl_texture_cache: Fix software ASTC fallback
6 years ago
ReinUsesLisp
2f0da10dc3
vk_device: Add missing ASTC queries
6 years ago
ReinUsesLisp
b6571ca9f0
video_core: Use native ASTC when available
6 years ago
ReinUsesLisp
16270dcfe4
gl_device: Detect if ASTC is reported and expose it
6 years ago
ReinUsesLisp
f22f6b72c3
renderer_vulkan/wrapper: Add vkEnumerateInstanceExtensionProperties wrapper
6 years ago
ReinUsesLisp
27dd542c60
renderer_vulkan/wrapper: Add command buffer handle
6 years ago
ReinUsesLisp
5c90d060d8
renderer_vulkan/wrapper: Add physical device handle
6 years ago
ReinUsesLisp
0eb37de98f
renderer_vulkan/wrapper: Add device handle
6 years ago
ReinUsesLisp
11774308d3
renderer_vulkan/wrapper: Add swapchain handle
6 years ago
ReinUsesLisp
7fe52ef77f
renderer_vulkan/wrapper: Add fence handle
6 years ago
ReinUsesLisp
3a63ae0658
renderer_vulkan/wrapper: Add device memory handle
6 years ago
ReinUsesLisp
397f53dea1
renderer_vulkan/wrapper: Add pool handles
6 years ago
ReinUsesLisp
affee77b70
renderer_vulkan/wrapper: Add buffer and image handles
6 years ago
ReinUsesLisp
d85ca0ab33
renderer_vulkan/wrapper: Add queue handle
6 years ago