maxwell_compute.cpp 801 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2018 yuzu Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "common/logging/log.h"
  5. #include "core/core.h"
  6. #include "video_core/engines/maxwell_compute.h"
  7. namespace Tegra::Engines {
  8. void MaxwellCompute::CallMethod(const GPU::MethodCall& method_call) {
  9. ASSERT_MSG(method_call.method < Regs::NUM_REGS,
  10. "Invalid MaxwellCompute register, increase the size of the Regs structure");
  11. regs.reg_array[method_call.method] = method_call.argument;
  12. switch (method_call.method) {
  13. case MAXWELL_COMPUTE_REG_INDEX(compute): {
  14. LOG_CRITICAL(HW_GPU, "Compute shaders are not implemented");
  15. UNREACHABLE();
  16. break;
  17. }
  18. default:
  19. break;
  20. }
  21. }
  22. } // namespace Tegra::Engines