summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorGravatar bunnei2019-12-06 18:18:16 -0500
committerGravatar GitHub2019-12-06 18:18:16 -0500
commite36814d6d592167cbb9c5440cb7b1f9bbb33449c (patch)
treefb93c0eeaa46d1ee738f9373cbb1b858e79ca37a /src/video_core/renderer_vulkan
parentMerge pull request #3196 from jmerdich/fix-ea-source-build (diff)
parentShader_IR: Address Feedback (diff)
downloadyuzu-e36814d6d592167cbb9c5440cb7b1f9bbb33449c.tar.gz
yuzu-e36814d6d592167cbb9c5440cb7b1f9bbb33449c.tar.xz
yuzu-e36814d6d592167cbb9c5440cb7b1f9bbb33449c.zip
Merge pull request #3109 from FernandoS27/new-instr
Implement FLO & TXD Instructions on GPU Shaders
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_shader_decompiler.cpp8
1 files changed, 8 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 80738d3d0..76894275b 100644
--- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
+++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
@@ -983,6 +983,11 @@ private:
983 return {}; 983 return {};
984 } 984 }
985 985
986 Id TextureGradient(Operation operation) {
987 UNIMPLEMENTED();
988 return {};
989 }
990
986 Id ImageLoad(Operation operation) { 991 Id ImageLoad(Operation operation) {
987 UNIMPLEMENTED(); 992 UNIMPLEMENTED();
988 return {}; 993 return {};
@@ -1391,6 +1396,7 @@ private:
1391 &SPIRVDecompiler::Quaternary<&Module::OpBitFieldInsert, Type::Int>, 1396 &SPIRVDecompiler::Quaternary<&Module::OpBitFieldInsert, Type::Int>,
1392 &SPIRVDecompiler::Ternary<&Module::OpBitFieldSExtract, Type::Int>, 1397 &SPIRVDecompiler::Ternary<&Module::OpBitFieldSExtract, Type::Int>,
1393 &SPIRVDecompiler::Unary<&Module::OpBitCount, Type::Int>, 1398 &SPIRVDecompiler::Unary<&Module::OpBitCount, Type::Int>,
1399 &SPIRVDecompiler::Unary<&Module::OpFindSMsb, Type::Int>,
1394 1400
1395 &SPIRVDecompiler::Binary<&Module::OpIAdd, Type::Uint>, 1401 &SPIRVDecompiler::Binary<&Module::OpIAdd, Type::Uint>,
1396 &SPIRVDecompiler::Binary<&Module::OpIMul, Type::Uint>, 1402 &SPIRVDecompiler::Binary<&Module::OpIMul, Type::Uint>,
@@ -1409,6 +1415,7 @@ private:
1409 &SPIRVDecompiler::Quaternary<&Module::OpBitFieldInsert, Type::Uint>, 1415 &SPIRVDecompiler::Quaternary<&Module::OpBitFieldInsert, Type::Uint>,
1410 &SPIRVDecompiler::Ternary<&Module::OpBitFieldUExtract, Type::Uint>, 1416 &SPIRVDecompiler::Ternary<&Module::OpBitFieldUExtract, Type::Uint>,
1411 &SPIRVDecompiler::Unary<&Module::OpBitCount, Type::Uint>, 1417 &SPIRVDecompiler::Unary<&Module::OpBitCount, Type::Uint>,
1418 &SPIRVDecompiler::Unary<&Module::OpFindUMsb, Type::Uint>,
1412 1419
1413 &SPIRVDecompiler::Binary<&Module::OpFAdd, Type::HalfFloat>, 1420 &SPIRVDecompiler::Binary<&Module::OpFAdd, Type::HalfFloat>,
1414 &SPIRVDecompiler::Binary<&Module::OpFMul, Type::HalfFloat>, 1421 &SPIRVDecompiler::Binary<&Module::OpFMul, Type::HalfFloat>,
@@ -1473,6 +1480,7 @@ private:
1473 &SPIRVDecompiler::TextureQueryDimensions, 1480 &SPIRVDecompiler::TextureQueryDimensions,
1474 &SPIRVDecompiler::TextureQueryLod, 1481 &SPIRVDecompiler::TextureQueryLod,
1475 &SPIRVDecompiler::TexelFetch, 1482 &SPIRVDecompiler::TexelFetch,
1483 &SPIRVDecompiler::TextureGradient,
1476 1484
1477 &SPIRVDecompiler::ImageLoad, 1485 &SPIRVDecompiler::ImageLoad,
1478 &SPIRVDecompiler::ImageStore, 1486 &SPIRVDecompiler::ImageStore,