diff options
| author | 2019-11-02 23:44:46 -0300 | |
|---|---|---|
| committer | 2019-11-07 20:08:41 -0300 | |
| commit | 56e237d1f998a4090afb6763222cd65593b299d7 (patch) | |
| tree | b40d10b0b12b210e5b9ddf28324267bf210f9fd7 /src/video_core/renderer_vulkan | |
| parent | gl_shader_decompiler: Reimplement shuffles with platform agnostic intrinsics (diff) | |
| download | yuzu-56e237d1f998a4090afb6763222cd65593b299d7.tar.gz yuzu-56e237d1f998a4090afb6763222cd65593b299d7.tar.xz yuzu-56e237d1f998a4090afb6763222cd65593b299d7.zip | |
shader_ir/warp: Implement FSWZADD
Diffstat (limited to 'src/video_core/renderer_vulkan')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp index 383720ea1..2850d5b59 100644 --- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp +++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | |||
| @@ -783,6 +783,11 @@ private: | |||
| 783 | return {}; | 783 | return {}; |
| 784 | } | 784 | } |
| 785 | 785 | ||
| 786 | Id FSwizzleAdd(Operation operation) { | ||
| 787 | UNIMPLEMENTED(); | ||
| 788 | return {}; | ||
| 789 | } | ||
| 790 | |||
| 786 | Id HNegate(Operation operation) { | 791 | Id HNegate(Operation operation) { |
| 787 | UNIMPLEMENTED(); | 792 | UNIMPLEMENTED(); |
| 788 | return {}; | 793 | return {}; |
| @@ -1363,6 +1368,7 @@ private: | |||
| 1363 | &SPIRVDecompiler::Unary<&Module::OpTrunc, Type::Float>, | 1368 | &SPIRVDecompiler::Unary<&Module::OpTrunc, Type::Float>, |
| 1364 | &SPIRVDecompiler::Unary<&Module::OpConvertSToF, Type::Float, Type::Int>, | 1369 | &SPIRVDecompiler::Unary<&Module::OpConvertSToF, Type::Float, Type::Int>, |
| 1365 | &SPIRVDecompiler::Unary<&Module::OpConvertUToF, Type::Float, Type::Uint>, | 1370 | &SPIRVDecompiler::Unary<&Module::OpConvertUToF, Type::Float, Type::Uint>, |
| 1371 | &SPIRVDecompiler::FSwizzleAdd, | ||
| 1366 | 1372 | ||
| 1367 | &SPIRVDecompiler::Binary<&Module::OpIAdd, Type::Int>, | 1373 | &SPIRVDecompiler::Binary<&Module::OpIAdd, Type::Int>, |
| 1368 | &SPIRVDecompiler::Binary<&Module::OpIMul, Type::Int>, | 1374 | &SPIRVDecompiler::Binary<&Module::OpIMul, Type::Int>, |