radv: Use less conservative approximation for context rolls.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 17 Jun 2018 01:37:49 +0000 (03:37 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 18 Jun 2018 14:21:10 +0000 (16:21 +0200)
commita3d93eec7cbd3fb733c1ef3b16903265e8e61b23
tree33ceacd7495f752b90c76c3afcdaec8577ee5c40
parent4d08c1e7d15f7d2c0a406cf1c79314511778b38f
radv: Use less conservative approximation for context rolls.

Drops the number of time we set the scissor by 4x for F1 2017,
which results in a consistent performance improvement of about 4%.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c