diff options
author | Charmaine Lee <[email protected]> | 2017-08-01 15:58:50 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-09-05 10:31:18 -0600 |
commit | 98badd7f6eaa0ac3ad3d5375f084b84172bb7582 (patch) | |
tree | 257747cde945988df07ab8d27aef1d1a4c6d577c /src/amd/Android.addrlib.mk | |
parent | e439908af9665b50443f1196cb55388c69d0c7d7 (diff) |
svga: avoid emitting redundant SetShaderResources and SetVertexBuffers
Minor performance improvement in avoiding binding the same shader resource
or the same vertex buffer for the same slot.
Tested with MTT glretrace.
v2: Per Brian's suggestion, add a helper function to do vertex buffer
comparision.
v3: Change the helper function to vertex_buffers_equal().
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/amd/Android.addrlib.mk')
0 files changed, 0 insertions, 0 deletions