mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-29 06:36:41 +00:00
4fda7f1c82
This is only needed on select drivers when a fragment shader discards/demotes.
20 lines
627 B
C++
20 lines
627 B
C++
// Copyright 2021 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#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
|