diff options
| author | 2019-07-22 11:12:55 -0400 | |
|---|---|---|
| committer | 2019-07-22 11:12:55 -0400 | |
| commit | f601f25bcc76f54ac0fa983cd74141bb075468de (patch) | |
| tree | f126d994a186281792f331928d5139f68f0bfec8 /src/video_core/rasterizer_interface.h | |
| parent | Merge pull request #2735 from FernandoS27/pipeline-rework (diff) | |
| parent | gl_shader_cache: Fix clang-format issues (diff) | |
| download | yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar.gz yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.tar.xz yuzu-f601f25bcc76f54ac0fa983cd74141bb075468de.zip | |
Merge pull request #2734 from ReinUsesLisp/compute-shaders
gl_rasterizer: Implement compute shaders
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 2b7367568..9881df0d5 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -34,6 +34,9 @@ public: | |||
| 34 | /// Clear the current framebuffer | 34 | /// Clear the current framebuffer |
| 35 | virtual void Clear() = 0; | 35 | virtual void Clear() = 0; |
| 36 | 36 | ||
| 37 | /// Dispatches a compute shader invocation | ||
| 38 | virtual void DispatchCompute(GPUVAddr code_addr) = 0; | ||
| 39 | |||
| 37 | /// Notify rasterizer that all caches should be flushed to Switch memory | 40 | /// Notify rasterizer that all caches should be flushed to Switch memory |
| 38 | virtual void FlushAll() = 0; | 41 | virtual void FlushAll() = 0; |
| 39 | 42 | ||