projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
st/mesa: fix crash when using both user and vbo buffers with the same stride
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_format.h
diff --git
a/src/mesa/state_tracker/st_format.h
b/src/mesa/state_tracker/st_format.h
index 43fa59b1006d7236f09c90e9200e4f55782c564e..0fb570f6ee495299777c5df4413f6485becb11e6 100644
(file)
--- a/
src/mesa/state_tracker/st_format.h
+++ b/
src/mesa/state_tracker/st_format.h
@@
-31,11
+31,12
@@
#define ST_FORMAT_H
#include "main/formats.h"
#define ST_FORMAT_H
#include "main/formats.h"
-#include "main/
mtypes
.h"
+#include "main/
glheader
.h"
#include "pipe/p_defines.h"
#include "pipe/p_format.h"
#include "pipe/p_defines.h"
#include "pipe/p_format.h"
+struct gl_context;
struct pipe_screen;
extern GLenum
struct pipe_screen;
extern GLenum
@@
-76,4
+77,10
@@
st_equal_formats(enum pipe_format pFormat, GLenum format, GLenum type);
extern GLboolean
st_sampler_compat_formats(enum pipe_format format1, enum pipe_format format2);
extern GLboolean
st_sampler_compat_formats(enum pipe_format format1, enum pipe_format format2);
+
+extern void
+st_translate_color(const GLfloat colorIn[4], GLenum baseFormat,
+ GLfloat colorOut[4]);
+
+
#endif /* ST_FORMAT_H */
#endif /* ST_FORMAT_H */