projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e526b4
)
util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 23 Feb 2010 20:20:19 +0000
(20:20 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 24 Feb 2010 12:15:13 +0000
(12:15 +0000)
src/gallium/auxiliary/util/u_format.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_format.h
b/src/gallium/auxiliary/util/u_format.h
index
7054a07
..
7792aa0
100644
(file)
--- 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? */