ReinUsesLisp
6bf5d2b011
astc: Hard code bit depth changes to 8 and use fast replicate
6 years ago
ReinUsesLisp
bd2c1ab8a0
astc: Use boost's static_vector to avoid heap allocations
6 years ago
ReinUsesLisp
5de130beea
astc: Implement a fast precompiled alternative for Replicate
6 years ago
ReinUsesLisp
6b4d4473be
astc: Move Replicate to a constexpr LUT when possible
6 years ago
ReinUsesLisp
d22a689250
astc: Make InputBitStream constexpr
6 years ago
ReinUsesLisp
0efc230381
astc: OutputBitStream style changes and make it constexpr
6 years ago
Nguyen Dac Nam
935648ffa9
address nit.
6 years ago
Nguyen Dac Nam
bf1174c114
Apply suggestions from code review
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
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
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
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
ReinUsesLisp
151ddcf419
renderer_vulkan/wrapper: Add instance handle
6 years ago
ReinUsesLisp
1c5e2b60a7
gl_rasterizer: Mark cleared textures as dirty
Fixes a potential edge case where cleared textures read from the CPU
were not flushed.
6 years ago
Nguyen Dac Nam
238c35b2c9
clang-format
6 years ago