[Mesa-dev] [RFC 0/6] Add support for ARB_transform_feedback_overflow_query.

Rafael Antognolli rafael.antognolli at intel.com
Mon Dec 5 18:16:54 UTC 2016


This patch series is an initial version that implements support for
ARB_transform_feedback_overflow_query on i965. It does that by storing
the initial values of generated and written primitives on glBeginQuery,
and final values on glEndQuery, and then comparing those values.

I still need to write piglit tests for it, so it's not very tested, but
the basic functionality seems to work fine. Any feedback is welcome.

Thanks,
Rafael

Rafael Antognolli (6):
  mesa: Add types for ARB_transform_feedback_oveflow_query.
  i965: add plumbing for ARB_transform_feedback_overflow_query.
  i915: Add support for xfb overflow on query buffer objects.
  i965: Add support for xfb overflow query on conditional render.
  i965: Enable ARB_transform_feedback_overflow_query.
  i965: Enable predicate support on gen >= 8.

 src/mesa/drivers/dri/i965/brw_conditional_render.c | 111 +++++++++++++++++++--
 src/mesa/drivers/dri/i965/brw_queryobj.c           |   2 +
 src/mesa/drivers/dri/i965/gen6_queryobj.c          |  58 +++++++++++
 src/mesa/drivers/dri/i965/gen7_sol_state.c         |   9 +-
 src/mesa/drivers/dri/i965/hsw_queryobj.c           | 108 ++++++++++++++++++++
 src/mesa/drivers/dri/i965/intel_extensions.c       |   2 +
 src/mesa/main/condrender.c                         |   4 +-
 src/mesa/main/extensions_table.h                   |   1 +
 src/mesa/main/get.c                                |   1 +
 src/mesa/main/mtypes.h                             |   5 +
 src/mesa/main/queryobj.c                           |  21 ++++
 src/mesa/state_tracker/st_cb_queryobj.c            |   6 ++
 12 files changed, 314 insertions(+), 14 deletions(-)

-- 
2.7.4



More information about the mesa-dev mailing list