[Mesa-dev] Commit 683ef52e19576f6e1263bc7d25fc9475c519eade / Assertion `type != WRITE_COLOR' failed.

Marek Olšák maraeo at gmail.com
Mon Aug 16 10:25:31 PDT 2010


On Mon, Aug 16, 2010 at 7:04 PM, Niels Ole Salscheider <
niels_ole at salscheider-online.de> wrote:

> Hello,
>
> when I try to run any OpenGL program like glxgears I get the following
> (radeon
> x700, gallium, mesa git):
> r300_state_derived.c:214:r300_rs_col_write: Assertion `type != WRITE_COLOR'
> failed.
>
> This assertion was added by Marek Olšák in commit
> 683ef52e19576f6e1263bc7d25fc9475c519eade.
>
> Unfortunately I cannot find any place where r300_rs_col_write is called
> with
> type != WRITE_COLOR' except for line 419ff in r300_state_derived.c. But for
> my
> card, r300->screen->caps.is_r500 should be false.
>
> Do you have any ideas?
>

Yep, the assert expression is flipped. I've fixed it by commit
ecec6df9cfe74dbd16f072bc4bbcd90374f8d2c8<http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecec6df9cfe74dbd16f072bc4bbcd90374f8d2c8>.
Thanks for the report.

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100816/e755775e/attachment.html>


More information about the mesa-dev mailing list