shader_recompiler: add gl_Layer translation GS for older hardware

This commit is contained in:
Liam 2022-11-30 17:16:00 -05:00
parent d6b63239ae
commit 3ef006b5ab
9 changed files with 230 additions and 6 deletions

View file

@ -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