Module: Mesa
Branch: master
Commit: f0233ac82da7fa14f98f340e239148950781741a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0233ac82da7fa14f98f340e239148950781741a

Author: Nicolai Hähnle <[email protected]>
Date:   Mon Sep 18 17:38:41 2017 +0200

freedreno: compile fix

Fixes: 3f6b3d9db ("gallium: add PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE")
Reported-by: Jan Vesely <[email protected]>

---

 src/gallium/drivers/freedreno/a4xx/fd4_query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_query.c 
b/src/gallium/drivers/freedreno/a4xx/fd4_query.c
index 809e7570b4..0cd9ab31f6 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,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to