summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_jit_x64.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-02 06:02:03 +0200
committerbunnei <bunneidev@gmail.com>2016-04-14 05:04:49 +0200
commitf3afe24594bad11d7e0fd28902d1ce1e6e22e3a2 (patch)
tree32a252926d4679f68fbae537a129a0dc92e96f58 /src/video_core/shader/shader_jit_x64.h
parentshader: Remove unused 'state' argument from 'Setup' function. (diff)
downloadyuzu-f3afe24594bad11d7e0fd28902d1ce1e6e22e3a2.tar
yuzu-f3afe24594bad11d7e0fd28902d1ce1e6e22e3a2.tar.gz
yuzu-f3afe24594bad11d7e0fd28902d1ce1e6e22e3a2.tar.bz2
yuzu-f3afe24594bad11d7e0fd28902d1ce1e6e22e3a2.tar.lz
yuzu-f3afe24594bad11d7e0fd28902d1ce1e6e22e3a2.tar.xz
yuzu-f3afe24594bad11d7e0fd28902d1ce1e6e22e3a2.tar.zst
yuzu-f3afe24594bad11d7e0fd28902d1ce1e6e22e3a2.zip
Diffstat (limited to 'src/video_core/shader/shader_jit_x64.h')
-rw-r--r--src/video_core/shader/shader_jit_x64.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_jit_x64.h b/src/video_core/shader/shader_jit_x64.h
index 1501d13bf..159b902b2 100644
--- a/src/video_core/shader/shader_jit_x64.h
+++ b/src/video_core/shader/shader_jit_x64.h
@@ -91,6 +91,12 @@ private:
BitSet32 PersistentCallerSavedRegs();
/**
+ * Assertion evaluated at compile-time, but only triggered if executed at runtime.
+ * @param msg Message to be logged if the assertion fails.
+ */
+ void RuntimeAssert(bool condition, const char* msg);
+
+ /**
* Analyzes the entire shader program for `CALL` instructions before emitting any code,
* identifying the locations where a return needs to be inserted.
*/