diff options
author | Dave Airlie <[email protected]> | 2015-04-22 17:13:06 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-04-23 08:32:30 +1000 |
commit | 8a41cd2407c1d219cba98add69609ce3a65b5435 (patch) | |
tree | 4af1ae74496a97d4d94bca50beb9bc11f8334978 | |
parent | 2c08e3b8ea6d3f689a138d19bc812551ca966415 (diff) |
softpipe: fix stencil write to use an integer value
This fixes a number of regressions since
61393bdcdc3b63624bf6e9730444f5e9deeedfc8
u_tile: fix stencil texturing tests under softpipe
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89960
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c index f3814fdc717..369ab6ed8d4 100644 --- a/src/gallium/drivers/softpipe/sp_fs_exec.c +++ b/src/gallium/drivers/softpipe/sp_fs_exec.c @@ -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; } |