mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
r300: lower Z16 polygon offset scale coefficient
The previous value was too high and led to issues in tesseract.
Fixes: 83d636fc7 ("r300: Z16 polygon offset fixes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40674>
This commit is contained in:
parent
e68e519b91
commit
f6b9e9c22b
1 changed files with 1 additions and 1 deletions
|
|
@ -1546,7 +1546,7 @@ static void* r300_create_rs_state(struct pipe_context* pipe,
|
|||
|
||||
/* Build the two command buffers for polygon offset setup. */
|
||||
if (polygon_offset_enable) {
|
||||
float scale = state->offset_scale * 256 * 12;
|
||||
float scale = state->offset_scale * 16 * 12;
|
||||
float offset = state->offset_units * 256 * 2;
|
||||
|
||||
BEGIN_CB(rs->cb_poly_offset_zb16, 5);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue