r600g: call cayman_emit_msaa_sample_locs only when needed
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 6 Jul 2016 12:26:47 +0000 (14:26 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 8 Jul 2016 08:52:45 +0000 (10:52 +0200)
commit7d2ce5258f279ec22e86ee772f257756f5314423
treef45d43b8cf2dea356046a38808bc4f9bcaf3b28a
parentb3c5df3ca4ca69006114565bf5d6d01c7b8b2934
r600g: call cayman_emit_msaa_sample_locs only when needed

In the case of nr_samples <= 1, that function is (currently) a no-op anyway.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/evergreen_state.c