diff options
| author | 2020-08-24 22:56:11 -0400 | |
|---|---|---|
| committer | 2020-08-24 22:56:11 -0400 | |
| commit | bb752df73676fa09e5d37df53ce5a464dd747111 (patch) | |
| tree | 1561d50ec2d80c2106aee208c101e19fa35c7614 /src/video_core/macro | |
| parent | Merge pull request #4562 from lioncash/loop (diff) | |
| parent | video_core: Initialize renderer with a GPU (diff) | |
| download | yuzu-bb752df73676fa09e5d37df53ce5a464dd747111.tar.gz yuzu-bb752df73676fa09e5d37df53ce5a464dd747111.tar.xz yuzu-bb752df73676fa09e5d37df53ce5a464dd747111.zip | |
Merge pull request #4542 from ReinUsesLisp/gpu-init-base
video_core: Initialize renderer with a GPU
Diffstat (limited to 'src/video_core/macro')
| -rw-r--r-- | src/video_core/macro/macro_hle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/macro/macro_hle.cpp b/src/video_core/macro/macro_hle.cpp index 0c9ff59a4..df00b57df 100644 --- a/src/video_core/macro/macro_hle.cpp +++ b/src/video_core/macro/macro_hle.cpp | |||
| @@ -24,7 +24,7 @@ void HLE_771BB18C62444DA0(Engines::Maxwell3D& maxwell3d, const std::vector<u32>& | |||
| 24 | maxwell3d.regs.index_array.first = parameters[4]; | 24 | maxwell3d.regs.index_array.first = parameters[4]; |
| 25 | 25 | ||
| 26 | if (maxwell3d.ShouldExecute()) { | 26 | if (maxwell3d.ShouldExecute()) { |
| 27 | maxwell3d.GetRasterizer().Draw(true, true); | 27 | maxwell3d.Rasterizer().Draw(true, true); |
| 28 | } | 28 | } |
| 29 | maxwell3d.regs.index_array.count = 0; | 29 | maxwell3d.regs.index_array.count = 0; |
| 30 | maxwell3d.mme_draw.instance_count = 0; | 30 | maxwell3d.mme_draw.instance_count = 0; |
| @@ -42,7 +42,7 @@ void HLE_0D61FC9FAAC9FCAD(Engines::Maxwell3D& maxwell3d, const std::vector<u32>& | |||
| 42 | maxwell3d.mme_draw.instance_count = count; | 42 | maxwell3d.mme_draw.instance_count = count; |
| 43 | 43 | ||
| 44 | if (maxwell3d.ShouldExecute()) { | 44 | if (maxwell3d.ShouldExecute()) { |
| 45 | maxwell3d.GetRasterizer().Draw(false, true); | 45 | maxwell3d.Rasterizer().Draw(false, true); |
| 46 | } | 46 | } |
| 47 | maxwell3d.regs.vertex_buffer.count = 0; | 47 | maxwell3d.regs.vertex_buffer.count = 0; |
| 48 | maxwell3d.mme_draw.instance_count = 0; | 48 | maxwell3d.mme_draw.instance_count = 0; |
| @@ -65,7 +65,7 @@ void HLE_0217920100488FF7(Engines::Maxwell3D& maxwell3d, const std::vector<u32>& | |||
| 65 | maxwell3d.regs.draw.topology.Assign( | 65 | maxwell3d.regs.draw.topology.Assign( |
| 66 | static_cast<Tegra::Engines::Maxwell3D::Regs::PrimitiveTopology>(parameters[0])); | 66 | static_cast<Tegra::Engines::Maxwell3D::Regs::PrimitiveTopology>(parameters[0])); |
| 67 | if (maxwell3d.ShouldExecute()) { | 67 | if (maxwell3d.ShouldExecute()) { |
| 68 | maxwell3d.GetRasterizer().Draw(true, true); | 68 | maxwell3d.Rasterizer().Draw(true, true); |
| 69 | } | 69 | } |
| 70 | maxwell3d.regs.reg_array[0x446] = 0x0; // vertex id base? | 70 | maxwell3d.regs.reg_array[0x446] = 0x0; // vertex id base? |
| 71 | maxwell3d.regs.index_array.count = 0; | 71 | maxwell3d.regs.index_array.count = 0; |