Mesa (master): st/vdpau: Include u_format.h for util_format_description.
Vinson Lee
vlee at kemper.freedesktop.org
Tue Oct 1 03:38:19 UTC 2013
Module: Mesa
Branch: master
Commit: 05474ac9c494b6754612268abd206be27b68a40b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05474ac9c494b6754612268abd206be27b68a40b
Author: Vinson Lee <vlee at freedesktop.org>
Date: Mon Sep 30 20:36:14 2013 -0700
st/vdpau: Include u_format.h for util_format_description.
Fix build error.
CC device.lo
device.c: In function 'vlVdpDefaultSamplerViewTemplate':
device.c:251:4: error: implicit declaration of function 'util_format_description' [-Werror=implicit-function-declaration]
device.c:251:9: warning: assignment makes pointer from integer without a cast [enabled by default]
device.c:252:12: error: dereferencing pointer to incomplete type
device.c:252:28: error: 'UTIL_FORMAT_SWIZZLE_0' undeclared (first use in this function)
device.c:252:28: note: each undeclared identifier is reported only once for each function it appears in
device.c:254:12: error: dereferencing pointer to incomplete type
device.c:256:12: error: dereferencing pointer to incomplete type
device.c:258:12: error: dereferencing pointer to incomplete type
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/gallium/state_trackers/vdpau/device.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c
index a829c27..309fee4 100644
--- a/src/gallium/state_trackers/vdpau/device.c
+++ b/src/gallium/state_trackers/vdpau/device.c
@@ -29,6 +29,7 @@
#include "util/u_memory.h"
#include "util/u_debug.h"
+#include "util/u_format.h"
#include "util/u_sampler.h"
#include "vdpau_private.h"
More information about the mesa-commit
mailing list