summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_format.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-10 13:02:25 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-10 13:03:57 -0600
commit24e510ea3796d3136c5eacf2c96a1dddded12aa2 (patch)
tree6021493bf689da65fa271e8b895447ae72b4c9a4 /src/mesa/state_tracker/st_format.h
parentda9178c73088982b9f422187cf782ae5ab6b64ce (diff)
added st_mesa_format_to_pipe_format()
Diffstat (limited to 'src/mesa/state_tracker/st_format.h')
-rw-r--r--src/mesa/state_tracker/st_format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.h b/src/mesa/state_tracker/st_format.h
index 452ae59d6d..dde4731e94 100644
--- a/src/mesa/state_tracker/st_format.h
+++ b/src/mesa/state_tracker/st_format.h
@@ -51,6 +51,10 @@ st_get_format_info(GLuint format);
extern GLuint
+st_mesa_format_to_pipe_format(GLuint mesaFormat);
+
+
+extern GLuint
st_choose_pipe_format(struct pipe_context *pipe, GLint internalFormat,
GLenum format, GLenum type);