freedreno: update generated headers
[mesa.git] / src / gallium / drivers / freedreno / a3xx / fd3_query.c
index 34e0b5adbd18063936b8a8d249352113f5d5de71..8fc0a0d42295c69d9f051b1606f929d7c71cf03d 100644 (file)
@@ -31,7 +31,7 @@
 #include "freedreno_util.h"
 
 #include "fd3_query.h"
-#include "fd3_util.h"
+#include "fd3_format.h"
 
 
 struct fd_rb_samp_ctrs {
@@ -64,8 +64,8 @@ occlusion_get_sample(struct fd_context *ctx, struct fd_ringbuffer *ring)
 
        OUT_PKT3(ring, CP_DRAW_INDX, 3);
        OUT_RING(ring, 0x00000000);
-       OUT_RING(ring, DRAW(DI_PT_POINTLIST_A2XX, DI_SRC_SEL_AUTO_INDEX,
-                       INDEX_SIZE_IGN, USE_VISIBILITY));
+       OUT_RING(ring, DRAW(DI_PT_POINTLIST_PSIZE, DI_SRC_SEL_AUTO_INDEX,
+                                               INDEX_SIZE_IGN, USE_VISIBILITY, 0));
        OUT_RING(ring, 0);             /* NumIndices */
 
        fd_event_write(ctx, ring, ZPASS_DONE);
@@ -119,14 +119,14 @@ occlusion_predicate_accumulate_result(struct fd_context *ctx,
 
 static const struct fd_hw_sample_provider occlusion_counter = {
                .query_type = PIPE_QUERY_OCCLUSION_COUNTER,
-               .active = FD_STAGE_DRAW, /* | FD_STAGE_CLEAR ??? */
+               .active = FD_STAGE_DRAW,
                .get_sample = occlusion_get_sample,
                .accumulate_result = occlusion_counter_accumulate_result,
 };
 
 static const struct fd_hw_sample_provider occlusion_predicate = {
                .query_type = PIPE_QUERY_OCCLUSION_PREDICATE,
-               .active = FD_STAGE_DRAW, /* | FD_STAGE_CLEAR ??? */
+               .active = FD_STAGE_DRAW,
                .get_sample = occlusion_get_sample,
                .accumulate_result = occlusion_predicate_accumulate_result,
 };