https://bugs.freedesktop.org/show_bug.cgi?id=22576
--- Comment #18 from smoki smoki00790@gmail.com ---
I think i've found source of these lighting problems on r200 in this and other bugs. It is just a typo it seems in r200_state_init.c lit_emit()
OUT_VEC(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1);
instead of OUT_VEC it needs to be OUT_SCL:
OUT_SCL(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1);
And that fixed tcl lighting emit complitely for me on 9250 card, but of course that introduce 2 more dwords which atom complain about:
CS section size missmatch start at (r200_state_init.c,lit_emit,361) 41 vs 39 CS section end at (r200_state_init.c,lit_emit,364)
I've turned off check and it stops :), but don't know how to or where to stop it properly...
So maybe someone who read this can do that :)?
dri-devel@lists.freedesktop.org