diff options
| author | 2019-10-26 16:56:13 -0300 | |
|---|---|---|
| committer | 2019-10-26 16:56:13 -0300 | |
| commit | 26f3e18c5cb882d48af702aa33519f4a2c74fa75 (patch) | |
| tree | f17b70de1e1bca10e67a4f1076691a580f717f56 /src/video_core/shader/ast.cpp | |
| parent | Merge pull request #3027 from lioncash/lookup (diff) | |
| parent | Shader_IR: Address Feedback. (diff) | |
| download | yuzu-26f3e18c5cb882d48af702aa33519f4a2c74fa75.tar.gz yuzu-26f3e18c5cb882d48af702aa33519f4a2c74fa75.tar.xz yuzu-26f3e18c5cb882d48af702aa33519f4a2c74fa75.zip | |
Merge pull request #2976 from FernandoS27/cache-fast-brx-rebased
Implement Fast BRX, fix TXQ and addapt the Shader Cache for it
Diffstat (limited to 'src/video_core/shader/ast.cpp')
| -rw-r--r-- | src/video_core/shader/ast.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/ast.cpp b/src/video_core/shader/ast.cpp index e43aecc18..3f96d9076 100644 --- a/src/video_core/shader/ast.cpp +++ b/src/video_core/shader/ast.cpp | |||
| @@ -228,6 +228,10 @@ public: | |||
| 228 | inner += expr.value ? "true" : "false"; | 228 | inner += expr.value ? "true" : "false"; |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | void operator()(const ExprGprEqual& expr) { | ||
| 232 | inner += "( gpr_" + std::to_string(expr.gpr) + " == " + std::to_string(expr.value) + ')'; | ||
| 233 | } | ||
| 234 | |||
| 231 | const std::string& GetResult() const { | 235 | const std::string& GetResult() const { |
| 232 | return inner; | 236 | return inner; |
| 233 | } | 237 | } |