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

Rafael Antognolli rafael.antognolli at intel.com
Fri Jan 20 17:53:21 UTC 2017


This patch series implements the ARB_transform_feedback_overflow_query
extension for i965.

Changes for v4:
    - Reuse of MI_MATH calcs from hsw_queryobj.c in brw_conditional_render.c
    - Renamed a couple functions as suggested by Kenneth
    - Fallback to CPU-side conditional rendering if MI_MATH is not available.

The series is available on github here:

https://github.com/rantogno/mesa/tree/review/overflow_query-v04

There are also piglit tests available for it here:

https://github.com/rantogno/piglit/tree/review/overflow_query-v05

Regards,
Rafael

Rafael Antognolli (6):
  mesa: Add types for ARB_transform_feedback_oveflow_query.
  mesa: Track transform feedback overflow query objects.
  i965: add plumbing for ARB_transform_feedback_overflow_query.
  i965: Add support for xfb overflow on query buffer objects.
  i965: Add support for xfb overflow query on conditional render.
  i965/gen6+: Enable arb_transform_feedback_overflow_query.

 docs/features.txt                                  |   2 +-
 docs/relnotes/17.0.0.html                          |   1 +
 src/mesa/drivers/dri/i965/brw_conditional_render.c |  73 ++++++++++----
 src/mesa/drivers/dri/i965/brw_context.h            |   3 +
 src/mesa/drivers/dri/i965/brw_queryobj.c           |   2 +
 src/mesa/drivers/dri/i965/gen6_queryobj.c          |  73 ++++++++++++++
 src/mesa/drivers/dri/i965/hsw_queryobj.c           | 112 +++++++++++++++++++++
 src/mesa/drivers/dri/i965/intel_extensions.c       |   1 +
 src/mesa/main/condrender.c                         |   4 +-
 src/mesa/main/extensions_table.h                   |   1 +
 src/mesa/main/mtypes.h                             |   5 +
 src/mesa/main/queryobj.c                           |  21 ++++
 src/mesa/state_tracker/st_cb_queryobj.c            |   6 ++
 13 files changed, 284 insertions(+), 20 deletions(-)

-- 
2.7.4



More information about the mesa-dev mailing list