From 6fcbda67523da8046e7b27f09c39dcbf74127b3d Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Fri, 28 Feb 2014 20:43:43 +0100 Subject: [PATCH] PixelShaderGen: Cleanup and clarify bump alpha combiner inputs. --- Source/Core/VideoCommon/PixelShaderGen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 814617a9ff..e818f4fef2 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -150,8 +150,8 @@ static const char *tevRasTable[] = "ERROR13", //2 "ERROR14", //3 "ERROR15", //4 - "(int4(1,1,1,1) * alphabump)", // use bump alpha - "(int4(1,1,1,1) * (alphabump | (alphabump >> 5)))", //normalized + "(int4(1, 1, 1, 1) * alphabump)", // bump alpha (0..248) + "(int4(1, 1, 1, 1) * (alphabump | (alphabump >> 5)))", // normalized bump alpha (0..255) "int4(0, 0, 0, 0)", // zero };