freedreno: compile fix
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 18 Sep 2017 15:38:41 +0000 (17:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 18 Sep 2017 15:39:20 +0000 (17:39 +0200)
Fixes: 3f6b3d9db ("gallium: add PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE")
Reported-by: Jan Vesely <jan.vesely@rutgers.edu>
src/gallium/drivers/freedreno/a4xx/fd4_query.c

index 809e7570b487c163b5b4bb0e55e175ec4d2d0c18..0cd9ab31f6a618cb7551dd72fd76ecb1816cb263 100644 (file)
@@ -251,7 +251,7 @@ static const struct fd_hw_sample_provider occlusion_predicate = {
                .accumulate_result = occlusion_predicate_accumulate_result,
 };
 
-static const struct fd_hw_sample_provider occlusion_predicate = {
+static const struct fd_hw_sample_provider occlusion_predicate_conservative = {
                .query_type = PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE,
                .active = FD_STAGE_DRAW,
                .get_sample = occlusion_get_sample,