[Mesa-dev] [PATCH V2 0/6] support packing of arrays of arrays
Timothy Arceri
t_arceri at yahoo.com.au
Mon May 12 04:16:26 PDT 2014
V2: The main change in v2 is adding a convenience function to avoid
code like this:
while (check_type->is_array())
check_type = check_type->element_type();
and
if (type->is_record()
|| (type->is_array() && type->fields.array->is_record())
they can now support arrays of arrays and be represented like this:
check_type = check_type->outermost_element_type()
and
if (type->outermost_element_type()->is_record())
Patch 1 is untested as the i965 backend supports packing but it should be easy to review.
Patch 4 has been tested with an updated version [1] of the simple packing piglit test.
Patch 6 allows all the simple packing piglit tests to pass when testing with gallium
[1] http://lists.freedesktop.org/archives/piglit/2014-May/010639.html
More information about the mesa-dev
mailing list