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:
@@ -164,7 +164,7 @@ exec_run( const struct sp_fragment_shader_variant *var,
|
|||||||
uint j;
|
uint j;
|
||||||
|
|
||||||
for (j = 0; j < 4; 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;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user