commit | 50a607cf70073d5980b07f73f38bd991b68f7029 | [log] [tgz] |
---|---|---|
author | Zachary Michaels <zmichaels@oblong.com> | Thu Jan 19 10:50:16 2017 +0100 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Fri Jan 20 23:22:41 2017 +0000 |
tree | e71973109f34f64b27bcfad4ac8e509b4d40ca3b | |
parent | 613154fc8fee89c3791c174363832581ab871580 [diff] |
radeonsi: Always leave poly_offset in a valid state This commit makes si_update_poly_offset set poly_offset to NULL if uses_poly_offset is false. This way poly_offset either points into the currently queued rasterizer, or it is NULL. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99451 Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (cherry picked from commit d7d32b3bfe86bd89d94d59393907bce1cb9dab7c)