https://bugs.freedesktop.org/show_bug.cgi?id=32455
--- Comment #10 from Rubén Fernández rubenf3000@gmail.com 2010-12-21 10:45:59 PST --- Created an attachment (id=41350) View: https://bugs.freedesktop.org/attachment.cgi?id=41350 Review: https://bugs.freedesktop.org/review?bug=32455&attachment=41350
prevent segfault in evergreen
This patch ensures your fix doesn't break evergreen cards.
Turns out that, while the function "r600_context_pipe_state_set_resource" checks for the "state" parameter being null, it's counterpart "evergreen_resource_set" does not.
I just copied and pasted the validation code from r600 and everything seems to work OK again.