gallium/pb_cache: check parameters that are more likely to fail first
authorMarek Olšák <marek.olsak@amd.com>
Sun, 17 Jul 2016 09:59:40 +0000 (11:59 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 19 Jul 2016 21:45:06 +0000 (23:45 +0200)
commitfec7f74129622f846c79edc3a6b050db62c89554
tree97d04b402e4344e16051076d2e314229ee8eb1c9
parent2596ae2b6eb11bd70f147390126258e76adb51d2
gallium/pb_cache: check parameters that are more likely to fail first

This makes Bioshock Infinite with deferred flushing 2% faster.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/pipebuffer/pb_cache.c