st/mesa: use a generic varying to pass the clear color to the FS
[mesa.git] / src / mesa / state_tracker / st_format.h
index 2eef2c0d43866b9c7694fbe687d8dbb0f93d7e36..39397b17aa6cc156713c6fde43a2409ea307840f 100644 (file)
@@ -75,7 +75,8 @@ 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]);
+st_translate_color(union gl_color_union *colorIn,
+                   union pipe_color_union *colorOut,
+                   GLenum baseFormat, GLboolean is_integer);
 
 #endif /* ST_FORMAT_H */