diff options
author | Dave Airlie <[email protected]> | 2018-01-11 08:02:52 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-01-12 00:43:07 +0000 |
commit | ad11fc3571e025b22d9feed80a7f499665f7a255 (patch) | |
tree | d3f3d782fdb16ce151fb1ff4beaef7291b434e76 /.gitattributes | |
parent | e37db93246d8251e2c0b366c08f23c9de756208e (diff) |
radv: don't emit unneeded vertex state.
If the number of instances hasn't changed and we've already
emitted it, don't emit it again.
If the vertex shader is the same and the first_instance, vertex_offset
haven't changed don't emit them again.
This increases the fps in GL_vs_VK -t 1 -m -api vk from around 40
to around 60 here, it may not impact anything else.
Dieter also reported smoketest going from 1060->1200 fps.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions