summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_utils.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-11-06 13:19:45 +0100
committerIago Toral Quiroga <[email protected]>2015-01-12 11:20:28 +0100
commit1aaed753301a4c0d39173616088db66231e7298d (patch)
tree566c78efbc8658d4f3c25e63c139df22da22a400 /src/mesa/main/format_utils.c
parentdeca11c0dc127caa7f8643069310ea6e0a5aea5c (diff)
mesa: Expose compute_component_mapping as _mesa_compute_component_mapping
This is necessary to handle conversions between array types where the driver does not support the dst format requested by the client and chooses a different format instead. We will need this in _mesa_format_convert, so move it to format_utils.c, prefix it with '_mesa_' and make it available to other files. v2: - Move _mesa_compute_component_mapping to glformats Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/format_utils.c')
0 files changed, 0 insertions, 0 deletions