> Same as the the first patch: u_blitter doesn't really need to change > more than one scissor and viewport. With the start_slot parameter in > set_viewport_states and set_scissor_states, you can just save, set, > and restore the first slot. Note that the same approach is also used > for the vertex buffer (only the first slot is changed by u_blitter).
Sure, but the count on restoring is going to be incorrect. A lot of code depends on the knowledge of how many viewports/scissors are set and unless the restoring can properly restore the count, all of it will be broken. z _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev