wined3d: BLENDTEXTUREALPHAPM reads the texture.

This commit is contained in:
Stefan Dösinger 2008-08-20 13:58:35 +02:00 committed by Alexandre Julliard
parent 3b48660f43
commit 422eebd2c3
1 changed files with 1 additions and 0 deletions

View File

@ -2641,6 +2641,7 @@ static GLuint gen_arbfp_ffp_shader(struct ffp_settings *settings, IWineD3DStateB
if(arg2 == WINED3DTA_TEXTURE) tex_read[stage] = TRUE;
if(settings->op[stage].cop == WINED3DTOP_BLENDTEXTUREALPHA) tex_read[stage] = TRUE;
if(settings->op[stage].cop == WINED3DTOP_BLENDTEXTUREALPHAPM) tex_read[stage] = TRUE;
if(settings->op[stage].cop == WINED3DTOP_BUMPENVMAP) {
bump_used[stage] = TRUE;
tex_read[stage] = TRUE;