summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_jit_x64.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-13 05:34:03 +0200
committerbunnei <bunneidev@gmail.com>2016-04-14 05:04:53 +0200
commit3f623b2561eb829b5c9c3855cb24a612b12f7d6f (patch)
tree188dcb1e4b059daefcd466f9ea6dab67bc43c009 /src/video_core/shader/shader_jit_x64.h
parentshader_jit_x64: Free memory that's no longer needed after compilation. (diff)
downloadyuzu-3f623b2561eb829b5c9c3855cb24a612b12f7d6f.tar
yuzu-3f623b2561eb829b5c9c3855cb24a612b12f7d6f.tar.gz
yuzu-3f623b2561eb829b5c9c3855cb24a612b12f7d6f.tar.bz2
yuzu-3f623b2561eb829b5c9c3855cb24a612b12f7d6f.tar.lz
yuzu-3f623b2561eb829b5c9c3855cb24a612b12f7d6f.tar.xz
yuzu-3f623b2561eb829b5c9c3855cb24a612b12f7d6f.tar.zst
yuzu-3f623b2561eb829b5c9c3855cb24a612b12f7d6f.zip
Diffstat (limited to 'src/video_core/shader/shader_jit_x64.h')
-rw-r--r--src/video_core/shader/shader_jit_x64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_jit_x64.h b/src/video_core/shader/shader_jit_x64.h
index aa5060584..005fbdbe3 100644
--- a/src/video_core/shader/shader_jit_x64.h
+++ b/src/video_core/shader/shader_jit_x64.h
@@ -29,9 +29,9 @@ constexpr size_t MAX_SHADER_SIZE = 1024 * 64;
* This class implements the shader JIT compiler. It recompiles a Pica shader program into x86_64
* code that can be executed on the host machine directly.
*/
-class JitCompiler : public Gen::XCodeBlock {
+class JitShader : public Gen::XCodeBlock {
public:
- JitCompiler();
+ JitShader();
void Run(void* registers, unsigned offset) const {
program(registers, code_ptr[offset]);