From 2498b2d3bc84d3d73d47cf552d81b8ca59093f49 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Wed, 26 Apr 2023 00:38:00 +0200 Subject: [PATCH] Add hint which of the uniforms are used by SetColor (maybe later move them to a secondary uniform block for independent updating) --- src/common/rendering/hwrenderer/data/hw_renderstate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/rendering/hwrenderer/data/hw_renderstate.h b/src/common/rendering/hwrenderer/data/hw_renderstate.h index 0ec17495b..ef0c78c2d 100644 --- a/src/common/rendering/hwrenderer/data/hw_renderstate.h +++ b/src/common/rendering/hwrenderer/data/hw_renderstate.h @@ -180,11 +180,11 @@ struct StreamData FVector4PalEntry uTextureModulateColor; FVector4PalEntry uTextureBlendColor; FVector4PalEntry uFogColor; - float uDesaturationFactor; + float uDesaturationFactor; // HWDrawInfo::SetColor float uInterpolationFactor; float timer; int useVertexData; - FVector4 uVertexColor; + FVector4 uVertexColor; // HWDrawInfo::SetColor FVector4 uVertexNormal; FVector4 uGlowTopPlane; @@ -204,7 +204,7 @@ struct StreamData FVector2 uClipSplit; FVector2 uSpecularMaterial; - float uLightLevel; + float uLightLevel; // HWDrawInfo::SetColor float uFogDensity; float uLightFactor; float uLightDist;