summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-06-28 15:13:58 -0700
committerJason Ekstrand <[email protected]>2017-07-12 21:15:46 -0700
commit14ce44a7bca30999601969563d97167751cdd326 (patch)
tree84530ba87473a1b987c8b0b010d1465dd2fca7cf /src/mesa/main/formats.h
parent361eb1c6e765c393cb0b398124772b60a24ac36c (diff)
main/formats: Add a get_linear_format_srgb helper
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 62b5e0c1a7e..fbcbe36b71e 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -749,6 +749,9 @@ extern mesa_format
_mesa_get_srgb_format_linear(mesa_format format);
extern mesa_format
+_mesa_get_linear_format_srgb(mesa_format format);
+
+extern mesa_format
_mesa_get_uncompressed_format(mesa_format format);
extern GLuint