summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-02-23 20:20:19 +0000
committerJosé Fonseca <[email protected]>2010-02-24 12:15:13 +0000
commit573a8002d540eebf6a39733ba8cdba1569eeab82 (patch)
treec9652b5b00ab7ef8e61e0cc33a265ac33933b571 /src
parent4e526b42b0fdcb9144292598458137076514fe04 (diff)
util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_format.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h
index 7054a07b2db..7792aa0673c 100644
--- a/src/gallium/auxiliary/util/u_format.h
+++ b/src/gallium/auxiliary/util/u_format.h
@@ -56,11 +56,6 @@ extern "C" {
*/
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? */