From 71584d0cc75dda3c579a2a0cb6c1ac9591f7d5c9 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 8 May 2010 18:51:03 +0200 Subject: r300g: pass depth texture swizzle to the compiler if compare mode is enabled --- src/gallium/drivers/r300/r300_texture.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/r300/r300_texture.h') diff --git a/src/gallium/drivers/r300/r300_texture.h b/src/gallium/drivers/r300/r300_texture.h index ba79ec068a1..2d8f0e14393 100644 --- a/src/gallium/drivers/r300/r300_texture.h +++ b/src/gallium/drivers/r300/r300_texture.h @@ -27,6 +27,9 @@ struct r300_texture; +unsigned r300_get_swizzle_combined(const unsigned char *swizzle_format, + const unsigned char *swizzle_view); + uint32_t r300_translate_texformat(enum pipe_format format, const unsigned char *swizzle_view); -- cgit v1.2.3