nir: Separate texture from sampler in nir_tex_instr
[mesa.git] / src / gallium / auxiliary / nir / tgsi_to_nir.h
index 687348a80efa86ea1910d88b055dcefe4400f572..0651870ea8095f2d1563e0cfb36c1cfb4a2b0934 100644 (file)
  * IN THE SOFTWARE.
  */
 
-#include "glsl/nir/nir.h"
+#include "compiler/nir/nir.h"
 
 struct nir_shader_compiler_options *options;
 
 struct nir_shader *
 tgsi_to_nir(const void *tgsi_tokens,
             const struct nir_shader_compiler_options *options);
+void
+varying_slot_to_tgsi_semantic(gl_varying_slot slot,
+                              unsigned *semantic_name, unsigned *semantic_index);
+void
+frag_result_to_tgsi_semantic(gl_frag_result slot,
+                             unsigned *semantic_name, unsigned *semantic_index);