On 30 March 2011 23:43, Julian Adams <[email protected]> wrote:
> ---
> src/gallium/drivers/r600/r600_state.c | 22 +++++++++++++---------
> 1 files changed, 13 insertions(+), 9 deletions(-)
>
Evergreen probably needs the same fix.
> + for (int i = 0, j = 0; i < 8; i++) {
> + /* state->rt entries > 0 only written if independent blending
> */
> + if (state->independent_blend_enable)
> + j = i;
Not sure about declaring "j" inside the for. I don't think it exactly
helps readability, but otoh it doesn't bother me a lot either.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev