diff options
author | Marek Olšák <[email protected]> | 2013-01-10 15:23:56 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-01-10 15:37:10 +0100 |
commit | 2f89949b666889a61196657511b1dee4418ae865 (patch) | |
tree | 6eef5376233fe2964e69a909c3ea21a5e8cdc594 /src/gallium/drivers/r300/r300_state.c | |
parent | 9a07b6bd747e776aa55029e18ab11d3b8569ee61 (diff) |
r300g: don't set sample positions to the pixel center if MSAA is disabled
but an MSAA resource is bound. This effectively makes the MSAA disable switch
not affect rasterization, but it still affects the alpha-to-one and
alpha-to-coverage states. This hardware just lacks a proper MSAA disable
switch.
This fixes graphics corruption in sauerbraten.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59194
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 1e7cff91f9a..4a5a5a89b84 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1309,8 +1309,6 @@ static void r300_bind_rs_state(struct pipe_context* pipe, void* state) } if (last_msaa_enable != r300->msaa_enable) { - r300_mark_atom_dirty(r300, &r300->fb_state_pipelined); - if (r300->alpha_to_coverage) { r300_mark_atom_dirty(r300, &r300->dsa_state); } |