diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-05 14:48:15 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-05 15:14:27 +0200 |
commit | 6c41d1cd7eadf1030c02d661d7f360b98f4a8943 (patch) | |
tree | 2ab00d25523ddae29e33fc8c81ce8bed62de18c4 /src/video_core | |
parent | video_core/ast: Eliminate variable shadowing warnings (diff) | |
download | yuzu-6c41d1cd7eadf1030c02d661d7f360b98f4a8943.tar yuzu-6c41d1cd7eadf1030c02d661d7f360b98f4a8943.tar.gz yuzu-6c41d1cd7eadf1030c02d661d7f360b98f4a8943.tar.bz2 yuzu-6c41d1cd7eadf1030c02d661d7f360b98f4a8943.tar.lz yuzu-6c41d1cd7eadf1030c02d661d7f360b98f4a8943.tar.xz yuzu-6c41d1cd7eadf1030c02d661d7f360b98f4a8943.tar.zst yuzu-6c41d1cd7eadf1030c02d661d7f360b98f4a8943.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/ast.cpp | 2 | ||||
-rw-r--r-- | src/video_core/shader/ast.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/ast.cpp b/src/video_core/shader/ast.cpp index 6eba78025..436d45f4b 100644 --- a/src/video_core/shader/ast.cpp +++ b/src/video_core/shader/ast.cpp @@ -549,7 +549,7 @@ bool ASTManager::DirectlyRelated(const ASTNode& first, const ASTNode& second) co return min->GetParent() == max->GetParent(); } -void ASTManager::ShowCurrentState(std::string state) { +void ASTManager::ShowCurrentState(std::string_view state) { LOG_CRITICAL(HW_GPU, "\nState {}:\n\n{}\n", state, Print()); SanityCheck(); } diff --git a/src/video_core/shader/ast.h b/src/video_core/shader/ast.h index d280ed143..5a77c60cb 100644 --- a/src/video_core/shader/ast.h +++ b/src/video_core/shader/ast.h @@ -332,7 +332,7 @@ public: void Decompile(); - void ShowCurrentState(std::string state); + void ShowCurrentState(std::string_view state); void SanityCheck(); |