summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_sampler_view.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-04-27 12:02:08 +0100
committerBrian Paul <brianp@vmware.com>2011-09-23 07:58:47 -0600
commit974b6413f4540d73c21c092cc0a62abb6d546e21 (patch)
tree6495d855498199c6fbdd61591bc6ec8b02d550e3 /src/gallium/drivers/svga/svga_sampler_view.c
parentffeed5da6e568836867f09f1acb7ce660d091d4a (diff)
downloadexternal_mesa3d-974b6413f4540d73c21c092cc0a62abb6d546e21.zip
external_mesa3d-974b6413f4540d73c21c092cc0a62abb6d546e21.tar.gz
external_mesa3d-974b6413f4540d73c21c092cc0a62abb6d546e21.tar.bz2
svga: Cleanup format capability checking.
Accurately describe what operations are supported when a format caps entry is not advertised by the host, and which formats are never supported, instead of making ad-hoc and often incorrect assumptions.
Diffstat (limited to 'src/gallium/drivers/svga/svga_sampler_view.c')
-rw-r--r--src/gallium/drivers/svga/svga_sampler_view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_sampler_view.c b/src/gallium/drivers/svga/svga_sampler_view.c
index 56acffe..b756b07 100644
--- a/src/gallium/drivers/svga/svga_sampler_view.c
+++ b/src/gallium/drivers/svga/svga_sampler_view.c
@@ -34,6 +34,7 @@
#include "util/u_memory.h"
#include "util/u_string.h"
+#include "svga_format.h"
#include "svga_screen.h"
#include "svga_context.h"
#include "svga_resource_texture.h"