mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.
This commit is contained in:
parent
4e526b42b0
commit
573a8002d5
1 changed files with 0 additions and 6 deletions
|
|
@ -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? */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue