UberShaderPixel: Fix typo

This commit is contained in:
Pokechu22 2021-12-26 19:31:13 -08:00
parent 5ef8a7973e
commit 546f9952a2
1 changed files with 1 additions and 1 deletions

View File

@ -1223,7 +1223,7 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
" uint swap = {};\n",
BitfieldExtract<&TevStageCombiner::AlphaCombiner::rswap>("ss.ac"));
out.Write(" return Swizzle(swap, color);\n");
out.Write(" }} else if (ras == 5u) {{ // Alpha Bumb\n"
out.Write(" }} else if (ras == 5u) {{ // Alpha Bump\n"
" return int4(s.AlphaBump, s.AlphaBump, s.AlphaBump, s.AlphaBump);\n"
" }} else if (ras == 6u) {{ // Normalzied Alpha Bump\n"
" int normalized = s.AlphaBump | s.AlphaBump >> 5;\n"