diff options
author | Brian Paul <[email protected]> | 2016-09-23 13:36:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-06 11:29:32 -0600 |
commit | b3127a96a942513d0c7df9e45857959244490f4c (patch) | |
tree | 8105184de011bd1180f975ac8781e305b97416d8 /scons | |
parent | 628e651f64f1d90c0c56ff02f752ed45e82a50a4 (diff) |
st/mesa: consolidate view format setup code
Before, we had code to compute the sampler view's format spread across two
different functions: in update_single_texture() and
st_get_texture_sampler_view_from_stobj(). Now it's all in one new function.
Also, use _mesa_texture_base_format() to simplify the code.
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions