summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_state.h
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2017-08-01 15:58:50 -0700
committerBrian Paul <[email protected]>2017-09-05 10:31:18 -0600
commit98badd7f6eaa0ac3ad3d5375f084b84172bb7582 (patch)
tree257747cde945988df07ab8d27aef1d1a4c6d577c /src/gallium/drivers/svga/svga_state.h
parente439908af9665b50443f1196cb55388c69d0c7d7 (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/gallium/drivers/svga/svga_state.h')
0 files changed, 0 insertions, 0 deletions