profile.h 729 B

12345678910111213141516171819202122232425
  1. // Copyright 2021 yuzu Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. namespace Shader {
  6. struct Profile {
  7. bool unified_descriptor_binding{};
  8. bool support_float_controls{};
  9. bool support_separate_denorm_behavior{};
  10. bool support_separate_rounding_mode{};
  11. bool support_fp16_denorm_preserve{};
  12. bool support_fp32_denorm_preserve{};
  13. bool support_fp16_denorm_flush{};
  14. bool support_fp32_denorm_flush{};
  15. bool support_fp16_signed_zero_nan_preserve{};
  16. bool support_fp32_signed_zero_nan_preserve{};
  17. // FClamp is broken and OpFMax + OpFMin should be used instead
  18. bool has_broken_spirv_clamp{};
  19. };
  20. } // namespace Shader