summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_caps.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-05-17 21:15:20 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-05-17 21:15:20 +0200
commit815b75705f5e3f0f7db025368da37bb14395de9a (patch)
treea8898e0e0883e55603ac44f8f60fb0372ac01f0c /src/gallium/auxiliary/util/u_caps.c
parent379db6a36b32912be8fd8808ceb95ca5cffa7850 (diff)
gallium/util: adapt util code to interface changes
The util blit functions change their interface (apart from some rename) too (in particular util_blit_pixels now also takes a pipe_resource as the src blit argument instead of a surface, as it might just call resource_copy_region). Maybe the blit util code might need a bit more cleanup, it still doesn't feel very clean. In particular it seems that util_blit_pixels_tex should probably disappear, and I think it would be great if the code called by drivers for blitting (u_blitter.c, which isn't really touched by this change) could somehow be merged with the u_blit code.
Diffstat (limited to 'src/gallium/auxiliary/util/u_caps.c')
-rw-r--r--src/gallium/auxiliary/util/u_caps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_caps.c b/src/gallium/auxiliary/util/u_caps.c
index c7c1e830e0..294ee37033 100644
--- a/src/gallium/auxiliary/util/u_caps.c
+++ b/src/gallium/auxiliary/util/u_caps.c
@@ -68,6 +68,7 @@ util_check_caps_out(struct pipe_screen *screen, const unsigned *list, int *out)
if (!screen->is_format_supported(screen,
list[i++],
PIPE_TEXTURE_2D,
+ 0,
PIPE_BIND_SAMPLER_VIEW,
0)) {
*out = i - 2;