commit | 2b27dcd0751e704193ceb0572447799342dd1db5 | [log] [tgz] |
---|---|---|
author | Bruce Cherniak <bruce.cherniak@intel.com> | Tue Jun 27 17:49:06 2017 -0500 |
committer | Tim Rowley <timothy.o.rowley@intel.com> | Thu Jun 29 13:23:33 2017 -0500 |
tree | 4b95f7f16cd3838414a65b2db9f2baf827ad2ac6 | |
parent | 867e1117692c4c735688b678dbdff7a5e4696d95 [diff] |
swr: conditionally validate vertex buffer state Vertex buffer state doesn't need to be validated on every call, only on dirty _NEW_VERTEX or indexed draws. Unconditional validation was introduced as part of patch 330d0607ed6, "remove pipe_index_buffer and set_index_buffer", with the expectation we'd optimize later. Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>