summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-07-11 08:52:12 -0700
committerJason Ekstrand <[email protected]>2014-08-05 10:56:16 -0700
commit6b912dc12918c93fe729d3785e985132e9a81f51 (patch)
treea52312b104d6fa6f875412c6c2dd39ce764542b1 /src/mesa/main/texstore.c
parentd55f77b503ab7b59ecdd8f31c4f7dc498710e75b (diff)
mesa/format_utils: Add a function to convert a mesa_format to an array format
This commits adds the _mesa_format_to_array function that determines if the given format can be represented as an array format and computes the array format parameters. This is a direct helper function for using _mesa_swizzle_and_convert v2: Better documentation and commit message v3: Fixed a potential segfault from an invalid endianness swizzle Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texstore.c')
0 files changed, 0 insertions, 0 deletions