diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-14 11:55:31 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-14 11:55:31 -0600 |
commit | 7b0b694406e4043cb163f9832c9c02934fa54568 (patch) | |
tree | b6c33b4483eecd2542a0cca834aa0b1f3678ee61 /src/mesa/state_tracker/st_format.h | |
parent | d45fdc3f1f8200c1f1703bdcd5a74a153c74b1c4 (diff) |
16-bit rgba surface/format for accum
Diffstat (limited to 'src/mesa/state_tracker/st_format.h')
-rw-r--r-- | src/mesa/state_tracker/st_format.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.h b/src/mesa/state_tracker/st_format.h index 6b3cba0f63..17d0985411 100644 --- a/src/mesa/state_tracker/st_format.h +++ b/src/mesa/state_tracker/st_format.h @@ -34,6 +34,7 @@ struct pipe_format_info { GLuint format; GLenum base_format; + GLenum datatype; GLubyte red_bits; GLubyte green_bits; GLubyte blue_bits; @@ -54,6 +55,10 @@ extern GLuint st_sizeof_format(GLuint pipeFormat); +extern GLenum +st_format_datatype(GLuint pipeFormat); + + extern GLuint st_mesa_format_to_pipe_format(GLuint mesaFormat); |