99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
18 lines
608 B
C++
18 lines
608 B
C++
// 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
|
|
};
|
|
|
|
} // namespace Shader
|