summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/host_translate_info.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-11-30 17:16:00 -0500
committerLiam <byteslice@airmail.cc>2022-12-01 09:51:27 -0500
commit3ef006b5abbe78bb2ae423a7cab74d7da2f8bc08 (patch)
treebf0c9ed637dc39faea655fb836b7a48a9f5d28ee /src/shader_recompiler/host_translate_info.h
parentd6b63239ae5011cbe8aa59b44bfd813e30f75d56 (diff)
shader_recompiler: add gl_Layer translation GS for older hardware
Diffstat (limited to 'src/shader_recompiler/host_translate_info.h')
-rw-r--r--src/shader_recompiler/host_translate_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.h
index cc1500690..d5d279554 100644
--- a/src/shader_recompiler/host_translate_info.h
+++ b/src/shader_recompiler/host_translate_info.h
@@ -13,7 +13,8 @@ struct HostTranslateInfo {
bool support_float16{}; ///< True when the device supports 16-bit floats
bool support_int64{}; ///< True when the device supports 64-bit integers
bool needs_demote_reorder{}; ///< True when the device needs DemoteToHelperInvocation reordered
- bool support_snorm_render_buffer{}; ///< True when the device supports SNORM render buffers
+ bool support_snorm_render_buffer{}; ///< True when the device supports SNORM render buffers
+ bool support_viewport_index_layer{}; ///< True when the device supports gl_Layer in VS
};
} // namespace Shader