summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar tfarley2016-04-22 10:52:02 -0400
committerGravatar tfarley2016-04-22 10:52:02 -0400
commit562f36a1442f112fa4bedfce12f7a0e8470369cf (patch)
tree3d5ba8f9916944c2bb81cc00dd56ac5d1eff75a5
parentHWRasterizer: sync specular uniform for new shaders (diff)
downloadyuzu-562f36a1442f112fa4bedfce12f7a0e8470369cf.tar.gz
yuzu-562f36a1442f112fa4bedfce12f7a0e8470369cf.tar.xz
yuzu-562f36a1442f112fa4bedfce12f7a0e8470369cf.zip
HWRasterizer: reorder declarations to match defs
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index 5aa638985..8d6177e88 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -332,18 +332,24 @@ private:
332 /// Syncs the depth test states to match the PICA register 332 /// Syncs the depth test states to match the PICA register
333 void SyncDepthTest(); 333 void SyncDepthTest();
334 334
335 /// Syncs the TEV constant color to match the PICA register
336 void SyncTevConstColor(int tev_index, const Pica::Regs::TevStageConfig& tev_stage);
337
338 /// Syncs the TEV combiner color buffer to match the PICA register 335 /// Syncs the TEV combiner color buffer to match the PICA register
339 void SyncCombinerColor(); 336 void SyncCombinerColor();
340 337
338 /// Syncs the TEV constant color to match the PICA register
339 void SyncTevConstColor(int tev_index, const Pica::Regs::TevStageConfig& tev_stage);
340
341 /// Syncs the lighting global ambient color to match the PICA register 341 /// Syncs the lighting global ambient color to match the PICA register
342 void SyncGlobalAmbient(); 342 void SyncGlobalAmbient();
343 343
344 /// Syncs the lighting lookup tables 344 /// Syncs the lighting lookup tables
345 void SyncLightingLUT(unsigned index); 345 void SyncLightingLUT(unsigned index);
346 346
347 /// Syncs the specified light's specular 0 color to match the PICA register
348 void SyncLightSpecular0(int light_index);
349
350 /// Syncs the specified light's specular 1 color to match the PICA register
351 void SyncLightSpecular1(int light_index);
352
347 /// Syncs the specified light's diffuse color to match the PICA register 353 /// Syncs the specified light's diffuse color to match the PICA register
348 void SyncLightDiffuse(int light_index); 354 void SyncLightDiffuse(int light_index);
349 355
@@ -353,12 +359,6 @@ private:
353 /// Syncs the specified light's position to match the PICA register 359 /// Syncs the specified light's position to match the PICA register
354 void SyncLightPosition(int light_index); 360 void SyncLightPosition(int light_index);
355 361
356 /// Syncs the specified light's specular 0 color to match the PICA register
357 void SyncLightSpecular0(int light_index);
358
359 /// Syncs the specified light's specular 1 color to match the PICA register
360 void SyncLightSpecular1(int light_index);
361
362 OpenGLState state; 362 OpenGLState state;
363 363
364 RasterizerCacheOpenGL res_cache; 364 RasterizerCacheOpenGL res_cache;