diff options
Diffstat (limited to 'src/gallium/auxiliary/util/u_format.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_format.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h index 2ac3abab23..93818a3161 100644 --- a/src/gallium/auxiliary/util/u_format.h +++ b/src/gallium/auxiliary/util/u_format.h @@ -32,7 +32,6 @@ #include "pipe/p_format.h" #include "util/u_debug.h" -#include "util/u_format_s3tc.h" #ifdef __cplusplus extern "C" { @@ -169,13 +168,6 @@ struct util_format_description unsigned is_mixed:1; /** - * Whether the pack/unpack functions actually work. - * - * Call util_format_is_supported instead of using this directly. - */ - unsigned is_supported:1; - - /** * Input channel description. * * Only valid for UTIL_FORMAT_LAYOUT_PLAIN formats. @@ -514,20 +506,6 @@ util_format_get_nr_components(enum pipe_format format) * Format access functions. */ -static INLINE boolean -util_format_is_supported(enum pipe_format format) -{ - const struct util_format_description *desc = util_format_description(format); - - if(!desc) - return FALSE; - - if(desc->layout == UTIL_FORMAT_LAYOUT_S3TC) - util_format_s3tc_init(); - - return desc->is_supported; -} - void util_format_read_4f(enum pipe_format format, float *dst, unsigned dst_stride, |