commit | 5759eb458b6bbc85011d4f139d90018bdf6124c0 | [log] [tgz] |
---|---|---|
author | Francisco Jerez <currojerez@riseup.net> | Mon Jul 18 18:07:35 2016 -0700 |
committer | Francisco Jerez <currojerez@riseup.net> | Thu Aug 25 18:36:07 2016 -0700 |
tree | b9dc1173be0e41895bc18ddfff050a31d209130b | |
parent | 99fb167839c8c9888f8de78e3b96de23f92a1012 [diff] |
i965: Factor out isl_surf_dim/isl_dim_layout calculation into functions. The logic to calculate the right layout and dimensionality for a given GL texture target is going to be useful elsewhere, factor it out from intel_miptree_get_isl_surf(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>