Skip to content

Commit

Permalink
d3d9: Clarify a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Mar 1, 2015
1 parent 993fec4 commit d4e74e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GPU/Directx9/PixelShaderGeneratorDX9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,8 @@ void GenerateFragmentShaderDX9(char *buffer) {
WRITE(p, " v.rgb = v.rgb * %s;\n", srcFactor);
}

// Can't really do REPLACE_BLEND_COPY_FBO in ps_2_0...
// Can do REPLACE_BLEND_COPY_FBO in ps_2_0, but need to apply viewport in the vertex shader
// so that we can have the output position here to sample the texture at.

if (replaceBlend == REPLACE_BLEND_2X_ALPHA || replaceBlend == REPLACE_BLEND_PRE_SRC_2X_ALPHA) {
WRITE(p, " v.a = v.a * 2.0;\n");
Expand Down

0 comments on commit d4e74e6

Please sign in to comment.