summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/host_translate_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/host_translate_info.h')
-rw-r--r--src/shader_recompiler/host_translate_info.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.h
new file mode 100644
index 000000000..94a584219
--- /dev/null
+++ b/src/shader_recompiler/host_translate_info.h
@@ -0,0 +1,18 @@
1// Copyright 2021 yuzu Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#pragma once
6
7namespace Shader {
8
9// Try to keep entries here to a minimum
10// They can accidentally change the cached information in a shader
11
12/// Misc information about the host
13struct HostTranslateInfo {
14 bool support_float16{}; ///< True when the device supports 16-bit floats
15 bool support_int64{}; ///< True when the device supports 64-bit integers
16};
17
18} // namespace Shader