namkazy
d61a333362
silent warning (conversion error)
6 years ago
namkazy
15366b7474
shader_decode: SULD.D -> SINT actually same as UNORM.
6 years ago
namkazy
615eecd94e
shader_decode: SULD.D fix decode SNORM component
6 years ago
namkazy
dbd8cf0304
clang-format
6 years ago
namkazy
c26cea4ad2
shader_decode: get sampler descriptor from registry.
6 years ago
namkazy
8990c9a814
tweaking.
6 years ago
Nguyen Dac Nam
524c42bec8
clang-format
6 years ago
namkazy
2799ef5f43
cleanup unuse params
6 years ago
namkazy
35995111c9
cleanup debug code.
6 years ago
namkazy
2f42b04ae5
reimplement get component type, uncomment mistaken code
6 years ago
namkazy
d4038bf4ae
remove disable optimize
6 years ago
namkazy
e4402955e4
[wip] reimplement SULD.D
6 years ago
namkazy
67d9d397d2
add shader stage when init shader ir
6 years ago
Nguyen Dac Nam
731b0dbebc
clang-fix
6 years ago
Nguyen Dac Nam
4c3ddd9c99
shader: image - import PredCondition
6 years ago
Nguyen Dac Nam
9f407fad5e
shader: SULD.D bits32 implement more complexer method.
6 years ago
Nguyen Dac Nam
06fa4a3a41
shader: SULD.D import StoreType
6 years ago
Nguyen Dac Nam
94fecd1b68
shader: implement SULD.D bits32
6 years ago
ReinUsesLisp
bcca6c3fce
shader/other: Add error message for some S2R registers
6 years ago
ReinUsesLisp
2eef8d7249
shader_bytecode: Rename MOV_SYS to S2R
6 years ago
ReinUsesLisp
1163fe0034
shader_bytecode: Add encoding for BAR
6 years ago
ReinUsesLisp
fc4fc348bc
shader_ir: Add error message for EXIT.FCSM_TR
6 years ago
ReinUsesLisp
8a635a351b
shader_bytecode: Add encoding for VOTE.VTG
6 years ago
ReinUsesLisp
0bb29489f4
Revert "Merge pull request #3499 from ReinUsesLisp/depth-2d-array"
This reverts commit 56fc1688f6 , reversing
changes made to ad5120c595 .
It causes regressions in several games.
6 years ago
ReinUsesLisp
ab3a1db282
shader/memory: Silence no return value warning
Silences a warning about control paths not all returning a value.
6 years ago
ReinUsesLisp
d66cae7bd5
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
c7472afb1d
gl_texture_cache: Fix software ASTC fallback
6 years ago
ReinUsesLisp
d97580b02a
vk_device: Add missing ASTC queries
6 years ago
ReinUsesLisp
abb4d942b0
video_core: Use native ASTC when available
6 years ago
ReinUsesLisp
d740491a9b
gl_device: Detect if ASTC is reported and expose it
6 years ago
ReinUsesLisp
83b47aa0d9
renderer_vulkan/wrapper: Add vkEnumerateInstanceExtensionProperties wrapper
6 years ago
ReinUsesLisp
c3332558df
renderer_vulkan/wrapper: Add command buffer handle
6 years ago
ReinUsesLisp
010a965e64
renderer_vulkan/wrapper: Add physical device handle
6 years ago
ReinUsesLisp
319737fd89
renderer_vulkan/wrapper: Add device handle
6 years ago
ReinUsesLisp
a04066352b
renderer_vulkan/wrapper: Add swapchain handle
6 years ago
ReinUsesLisp
cea9fdab2e
renderer_vulkan/wrapper: Add fence handle
6 years ago
ReinUsesLisp
00c88c7d6d
renderer_vulkan/wrapper: Add device memory handle
6 years ago
ReinUsesLisp
e84b3a9f71
renderer_vulkan/wrapper: Add pool handles
6 years ago
ReinUsesLisp
2ed17b8c92
renderer_vulkan/wrapper: Add buffer and image handles
6 years ago
ReinUsesLisp
01bf15ce40
renderer_vulkan/wrapper: Add queue handle
6 years ago
ReinUsesLisp
467a8c3285
renderer_vulkan/wrapper: Add instance handle
6 years ago
ReinUsesLisp
89f68281ff
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
e0add44428
clang-format
6 years ago
Nguyen Dac Nam
455a771f6c
shader_decode: fix by suggestion
6 years ago
namkazy
5961fe334c
clang-format
6 years ago
namkazy
39880b6fcb
gl_decompiler: min/max op not implement yet
6 years ago
namkazy
fd7fb7c1b7
shader_decode: ATOM/ATOMS: add function to avoid code repetition
6 years ago
namkazy
3a65713029
shader_decode: merge GlobalAtomicOp to AtomicOp
6 years ago
Nguyen Dac Nam
3809c15721
shader_decode: implement ATOM operation for S32 and U32
6 years ago
namkazy
93a5b51a1f
clang-format
6 years ago