diff options
| author | 2023-03-11 22:10:38 -0500 | |
|---|---|---|
| committer | 2023-03-12 11:33:01 -0400 | |
| commit | 600f325d87e42f856da58c42a5280f098ebb6e8c (patch) | |
| tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/video_core/renderer_opengl | |
| parent | general: use codespell to identify spelling mistakes (diff) | |
| download | yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.gz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.xz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.zip | |
general: fix spelling mistakes
Diffstat (limited to 'src/video_core/renderer_opengl')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 33748762f..abe0f3582 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp | |||
| @@ -576,7 +576,7 @@ bool RasterizerOpenGL::AccelerateConditionalRendering() { | |||
| 576 | // Reimplement Host conditional rendering. | 576 | // Reimplement Host conditional rendering. |
| 577 | return false; | 577 | return false; |
| 578 | } | 578 | } |
| 579 | // Medium / Low Hack: stub any checks on queries writen into the buffer cache. | 579 | // Medium / Low Hack: stub any checks on queries written into the buffer cache. |
| 580 | const GPUVAddr condition_address{maxwell3d->regs.render_enable.Address()}; | 580 | const GPUVAddr condition_address{maxwell3d->regs.render_enable.Address()}; |
| 581 | Maxwell::ReportSemaphore::Compare cmp; | 581 | Maxwell::ReportSemaphore::Compare cmp; |
| 582 | if (gpu_memory->IsMemoryDirty(condition_address, sizeof(cmp), | 582 | if (gpu_memory->IsMemoryDirty(condition_address, sizeof(cmp), |
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 1f6562ef8..ad6978bd0 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h | |||
| @@ -162,7 +162,7 @@ private: | |||
| 162 | /// Syncs the cull mode to match the guest state | 162 | /// Syncs the cull mode to match the guest state |
| 163 | void SyncCullMode(); | 163 | void SyncCullMode(); |
| 164 | 164 | ||
| 165 | /// Syncs the primitve restart to match the guest state | 165 | /// Syncs the primitive restart to match the guest state |
| 166 | void SyncPrimitiveRestart(); | 166 | void SyncPrimitiveRestart(); |
| 167 | 167 | ||
| 168 | /// Syncs the depth test state to match the guest state | 168 | /// Syncs the depth test state to match the guest state |
| @@ -246,7 +246,7 @@ private: | |||
| 246 | std::array<GLuint, MAX_TEXTURES> texture_handles{}; | 246 | std::array<GLuint, MAX_TEXTURES> texture_handles{}; |
| 247 | std::array<GLuint, MAX_IMAGES> image_handles{}; | 247 | std::array<GLuint, MAX_IMAGES> image_handles{}; |
| 248 | 248 | ||
| 249 | /// Number of commands queued to the OpenGL driver. Resetted on flush. | 249 | /// Number of commands queued to the OpenGL driver. Reset on flush. |
| 250 | size_t num_queued_commands = 0; | 250 | size_t num_queued_commands = 0; |
| 251 | bool has_written_global_memory = false; | 251 | bool has_written_global_memory = false; |
| 252 | 252 | ||