From 9fbe2a20078242594db788e5abec41651cbc6991 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 19 Jun 2018 22:05:57 -0700 Subject: intel/blorp: Add a blorp_filter enum for use in blorp_blit At the moment, this is entirely internal but we'll expose it to clients of the BLORP API in the next commit. Reviewed-by: Chad Versace --- src/intel/blorp/blorp.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/intel/blorp/blorp.h') diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index 0a10ff91576..6e2f888d17f 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -119,6 +119,14 @@ struct blorp_surf uint32_t tile_x_sa, tile_y_sa; }; +enum blorp_filter { + BLORP_FILTER_NONE, + BLORP_FILTER_NEAREST, + BLORP_FILTER_BILINEAR, + BLORP_FILTER_SAMPLE_0, + BLORP_FILTER_AVERAGE, +}; + void blorp_blit(struct blorp_batch *batch, const struct blorp_surf *src_surf, -- cgit v1.2.3