summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-09-23 13:36:22 -0600
committerBrian Paul <[email protected]>2016-10-06 11:29:32 -0600
commitb3127a96a942513d0c7df9e45857959244490f4c (patch)
tree8105184de011bd1180f975ac8781e305b97416d8 /src/mesa/main/teximage.c
parent628e651f64f1d90c0c56ff02f752ed45e82a50a4 (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 'src/mesa/main/teximage.c')
0 files changed, 0 insertions, 0 deletions