summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a4xx
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-09-18 17:38:41 +0200
committerNicolai Hähnle <[email protected]>2017-09-18 17:39:20 +0200
commitf0233ac82da7fa14f98f340e239148950781741a (patch)
treeacaa1e4f488961f2ecddbe3f0d4542217d90237b /src/gallium/drivers/freedreno/a4xx
parent30741187c1c1a33690a08e56b9e4afd158d8d432 (diff)
freedreno: compile fix
Fixes: 3f6b3d9db ("gallium: add PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE") Reported-by: Jan Vesely <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx')
-rw-r--r--src/gallium/drivers/freedreno/a4xx/fd4_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_query.c b/src/gallium/drivers/freedreno/a4xx/fd4_query.c
index 809e7570b48..0cd9ab31f6a 100644
--- a/src/gallium/drivers/freedreno/a4xx/fd4_query.c
+++ b/src/gallium/drivers/freedreno/a4xx/fd4_query.c
@@ -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,