diff options
author | Brian Paul <brianp@vmware.com> | 2016-10-03 09:57:50 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2016-10-06 11:29:32 -0600 |
commit | 6963f94e98e9b0a1432bc0071d495c9e31b899ae (patch) | |
tree | e994485b3ff87de685b1c4bff2da2eb2466acb74 /src/mesa/state_tracker/st_atom_pixeltransfer.c | |
parent | e5cc84dd43be066c1dd418e32f5ad258e31a150a (diff) | |
download | external_mesa3d-6963f94e98e9b0a1432bc0071d495c9e31b899ae.zip external_mesa3d-6963f94e98e9b0a1432bc0071d495c9e31b899ae.tar.gz external_mesa3d-6963f94e98e9b0a1432bc0071d495c9e31b899ae.tar.bz2 |
st/mesa: move all sampler view code into new st_sampler_view.[ch] files
Previously, the sampler view code was scattered across several different
files.
Note, the previous REALLOC(), FREE() for st_texture_object::sampler_views
are replaced by realloc(), free() to avoid conflicting macros in Mesa vs.
Gallium.
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/mesa/state_tracker/st_atom_pixeltransfer.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_pixeltransfer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_pixeltransfer.c b/src/mesa/state_tracker/st_atom_pixeltransfer.c index 26d8ade..a2951a1 100644 --- a/src/mesa/state_tracker/st_atom_pixeltransfer.c +++ b/src/mesa/state_tracker/st_atom_pixeltransfer.c @@ -30,6 +30,7 @@ */ #include "st_context.h" +#include "st_sampler_view.h" #include "st_texture.h" #include "util/u_inlines.h" |