OSDN Git Service

util/u_format: Kill util_format_is_array().
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 28 Nov 2012 19:20:18 +0000 (19:20 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 29 Nov 2012 14:08:42 +0000 (14:08 +0000)
commit9f06061d50f90bf425a5337cea1b0adb94a46d25
tree92e84ca3480fb619ee813c8cfccb7e7fc45ee270
parenta47674ee89f9f41c3be96ee47c476144bf6b779b
util/u_format: Kill util_format_is_array().

It is buggy (it was giving wrong results for some of the formats with
padding), and util_format_description::is_array already does precisely
what's intended.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
src/gallium/auxiliary/gallivm/lp_bld_type.h
src/gallium/auxiliary/util/u_format.c
src/gallium/auxiliary/util/u_format.h