diff options
Diffstat (limited to 'src')
| -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 | |||
| 549 | return min->GetParent() == max->GetParent(); | 549 | return min->GetParent() == max->GetParent(); |
| 550 | } | 550 | } |
| 551 | 551 | ||
| 552 | void ASTManager::ShowCurrentState(std::string state) { | 552 | void ASTManager::ShowCurrentState(std::string_view state) { |
| 553 | LOG_CRITICAL(HW_GPU, "\nState {}:\n\n{}\n", state, Print()); | 553 | LOG_CRITICAL(HW_GPU, "\nState {}:\n\n{}\n", state, Print()); |
| 554 | SanityCheck(); | 554 | SanityCheck(); |
| 555 | } | 555 | } |
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: | |||
| 332 | 332 | ||
| 333 | void Decompile(); | 333 | void Decompile(); |
| 334 | 334 | ||
| 335 | void ShowCurrentState(std::string state); | 335 | void ShowCurrentState(std::string_view state); |
| 336 | 336 | ||
| 337 | void SanityCheck(); | 337 | void SanityCheck(); |
| 338 | 338 | ||