From 573a8002d540eebf6a39733ba8cdba1569eeab82 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 23 Feb 2010 20:20:19 +0000 Subject: util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. --- src/gallium/auxiliary/util/u_format.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gallium/auxiliary/util/u_format.h') diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h index 7054a07b2d..7792aa0673 100644 --- a/src/gallium/auxiliary/util/u_format.h +++ b/src/gallium/auxiliary/util/u_format.h @@ -55,11 +55,6 @@ extern "C" { * XXX: This should be renamed to something like util_format_pack. */ enum util_format_layout { - /** - * Single scalar component. - */ - UTIL_FORMAT_LAYOUT_SCALAR = 0, - /** * One or more components of mixed integer formats, arithmetically encoded * in a word up to 32bits. @@ -392,7 +387,6 @@ util_format_has_alpha(enum pipe_format format) } switch (desc->layout) { - case UTIL_FORMAT_LAYOUT_SCALAR: case UTIL_FORMAT_LAYOUT_ARITH: case UTIL_FORMAT_LAYOUT_ARRAY: /* FIXME: pf_get_component_bits( PIPE_FORMAT_A8L8_UNORM, PIPE_FORMAT_COMP_A ) should not return 0 right? */ -- cgit v1.2.3