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:
parent
2c08e3b8ea
commit
8a41cd2407
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue