Mesa (master): util: Update blitter for u_format changes.

Corbin Simpson csimpson at kemper.freedesktop.org
Fri Dec 18 03:21:13 PST 2009


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

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Fri Dec 18 03:20:19 2009 -0800

util: Update blitter for u_format changes.

:T

---

 src/gallium/auxiliary/util/u_blitter.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c
index 0242b79..1f794d3 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -38,6 +38,7 @@
 #include "pipe/p_shader_tokens.h"
 #include "pipe/p_state.h"
 
+#include "util/u_format.h"
 #include "util/u_memory.h"
 #include "util/u_math.h"
 #include "util/u_blitter.h"
@@ -678,7 +679,7 @@ void util_blitter_fill(struct blitter_context *blitter,
       return;
 
    /* check if we can render to the surface */
-   if (pf_is_depth_or_stencil(dst->format) || /* unlikely, but you never know */
+   if (util_format_is_depth_or_stencil(dst->format) || /* unlikely, but you never know */
        !screen->is_format_supported(screen, dst->format, dst->texture->target,
                                     PIPE_TEXTURE_USAGE_RENDER_TARGET, 0)) {
       util_surface_fill(pipe, dst, dstx, dsty, width, height, value);



More information about the mesa-commit mailing list