host_translate_info.h 608 B

123456789101112131415161718
  1. // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. namespace Shader {
  5. // Try to keep entries here to a minimum
  6. // They can accidentally change the cached information in a shader
  7. /// Misc information about the host
  8. struct HostTranslateInfo {
  9. bool support_float16{}; ///< True when the device supports 16-bit floats
  10. bool support_int64{}; ///< True when the device supports 64-bit integers
  11. bool needs_demote_reorder{}; ///< True when the device needs DemoteToHelperInvocation reordered
  12. };
  13. } // namespace Shader