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
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
Nguyen Dac Nam
defb9642da
shader_decode: fix by suggestion
6 years ago
namkazy
cb0a4151f8
clang-format
6 years ago
namkazy
c2665ec9c2
gl_decompiler: min/max op not implement yet
6 years ago
namkazy
4f7bea403a
shader_decode: ATOM/ATOMS: add function to avoid code repetition
6 years ago
namkazy
c8f6d9effd
shader_decode: merge GlobalAtomicOp to AtomicOp
6 years ago
Nguyen Dac Nam
972485ff18
shader_decode: implement ATOM operation for S32 and U32
6 years ago
namkazy
93cac0d294
clang-format
6 years ago
Nguyen Dac Nam
3dc09a6250
shader_decode: implement ATOMS instr partial.
6 years ago
Nguyen Dac Nam
a2cc80b605
vk_decompiler: add atomic op and handler function.
6 years ago
Nguyen Dac Nam
552f0ff267
gl_decompiler: add atomic op
6 years ago
Nguyen Dac Nam
2c780db5b9
shader: node - update correct comment
6 years ago
Nguyen Dac Nam
c119473c40
shader_decode: add Atomic op for common usage
6 years ago
ReinUsesLisp
08470d261d
shader_bytecode: Fix I2I_IMM encoding
6 years ago
ReinUsesLisp
b6c9fba81c
renderer_vulkan/wrapper: Address feedback
6 years ago
ReinUsesLisp
5300a918c6
shader/lea: Simplify generated LEA code
6 years ago
ReinUsesLisp
523a709bf1
shader/lea: Fix op_a and op_b usages
They were swapped.
6 years ago
ReinUsesLisp
796b3319e6
shader/lea: Remove const and use move when possible
6 years ago
ReinUsesLisp
2694552b7f
renderer_vulkan/wrapper: Add owning handles
6 years ago
ReinUsesLisp
7413b30923
renderer_vulkan/wrapper: Add pool allocations owning templated class
6 years ago
ReinUsesLisp
d8d392b39a
renderer_vulkan/wrapper: Add owning handle templated class
6 years ago
ReinUsesLisp
60f351084a
renderer_vulkan/wrapper: Add destroy and free overload set
6 years ago
ReinUsesLisp
a9e4528d10
renderer_vulkan/wrapper: Add dispatch table and loaders
6 years ago