summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/kepler_compute.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-07-22 17:12:55 +0200
committerGitHub <noreply@github.com>2019-07-22 17:12:55 +0200
commitf601f25bcc76f54ac0fa983cd74141bb075468de (patch)
treef126d994a186281792f331928d5139f68f0bfec8 /src/video_core/engines/kepler_compute.cpp
parentMerge pull request #2735 from FernandoS27/pipeline-rework (diff)
parentgl_shader_cache: Fix clang-format issues (diff)
downloadyuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar
yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar.gz
yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar.bz2
yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar.lz
yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar.xz
yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar.zst
yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.zip
Diffstat (limited to 'src/video_core/engines/kepler_compute.cpp')
-rw-r--r--src/video_core/engines/kepler_compute.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/engines/kepler_compute.cpp b/src/video_core/engines/kepler_compute.cpp
index e3d5fb8a9..08586d33c 100644
--- a/src/video_core/engines/kepler_compute.cpp
+++ b/src/video_core/engines/kepler_compute.cpp
@@ -50,13 +50,14 @@ void KeplerCompute::CallMethod(const GPU::MethodCall& method_call) {
}
void KeplerCompute::ProcessLaunch() {
-
const GPUVAddr launch_desc_loc = regs.launch_desc_loc.Address();
memory_manager.ReadBlockUnsafe(launch_desc_loc, &launch_description,
LaunchParams::NUM_LAUNCH_PARAMETERS * sizeof(u32));
- const GPUVAddr code_loc = regs.code_loc.Address() + launch_description.program_start;
- LOG_WARNING(HW_GPU, "Compute Kernel Execute at Address 0x{:016x}, STUBBED", code_loc);
+ const GPUVAddr code_addr = regs.code_loc.Address() + launch_description.program_start;
+ LOG_TRACE(HW_GPU, "Compute invocation launched at address 0x{:016x}", code_addr);
+
+ rasterizer.DispatchCompute(code_addr);
}
} // namespace Tegra::Engines