recompiler.h 571 B

1234567891011121314151617181920
  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. #include <utility>
  6. #include <vector>
  7. #include "common/common_types.h"
  8. #include "shader_recompiler/environment.h"
  9. #include "shader_recompiler/profile.h"
  10. #include "shader_recompiler/shader_info.h"
  11. namespace Shader {
  12. [[nodiscard]] std::pair<Info, std::vector<u32>> RecompileSPIRV(const Profile& profile,
  13. Environment& env, u32 start_address);
  14. } // namespace Shader