softpipe: fix stencil write to use an integer value

This fixes a number of regressions since
61393bdcdc
u_tile: fix stencil texturing tests under softpipe

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89960
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2015-04-22 17:13:06 +10:00
parent 2c08e3b8ea
commit 8a41cd2407
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ exec_run( const struct sp_fragment_shader_variant *var,
uint j;
for (j = 0; j < 4; j++)
quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].f[j];
quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].u[j];
}
break;
}