tgsi: store the sampler view type directly in the instruction
[mesa.git] / src / mesa / state_tracker / st_mesa_to_tgsi.h
index b4d9af635a87734ac9411c52abba3ebd9cc9902d..106cf85a3e66061753b6b5fbcb8bcc1b5fabc4bd 100644 (file)
@@ -34,6 +34,8 @@
 #include "pipe/p_compiler.h"
 #include "pipe/p_defines.h"
 
+#include "compiler/glsl_types.h"
+
 #if defined __cplusplus
 extern "C" {
 #endif
@@ -63,6 +65,8 @@ st_translate_mesa_program(
 unsigned
 st_translate_texture_target(GLuint textarget, GLboolean shadow);
 
+unsigned
+st_translate_texture_type(enum glsl_base_type type);
 
 #if defined __cplusplus
 } /* extern "C" */