pineapple-src/src/shader_recompiler/host_translate_info.h

21 lines
821 B
C
Raw Normal View History

2022-11-05 13:58:44 +01:00
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
namespace Shader {
// Try to keep entries here to a minimum
// They can accidentally change the cached information in a shader
/// Misc information about the host
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
2022-11-05 19:21:57 +01:00
bool support_snorm_render_buffer{}; ///< True when the device supports SNORM render buffers
2022-12-01 02:28:19 +01:00
bool requires_layer_emulation{}; ///< True when the device doesn't support gl_Layer in VS
2022-11-05 13:58:44 +01:00
};
} // namespace Shader