freedreno/ir3: split up ir3_shader
[mesa.git] / src / gallium / drivers / freedreno / ir3 / ir3_nir.c
index ca1173b2e7f08eaafe63fc7409325e6c7ace1e2e..70c01ee0593480bb40196ce83ba5ade762748aa9 100644 (file)
@@ -31,9 +31,6 @@
 #include "ir3_compiler.h"
 #include "ir3_shader.h"
 
-#include "nir/tgsi_to_nir.h"
-
-
 static const nir_shader_compiler_options options = {
                .lower_fpow = true,
                .lower_scmp = true,
@@ -53,12 +50,6 @@ static const nir_shader_compiler_options options = {
                .lower_helper_invocation = true,
 };
 
-struct nir_shader *
-ir3_tgsi_to_nir(const struct tgsi_token *tokens)
-{
-       return tgsi_to_nir(tokens, &options);
-}
-
 const nir_shader_compiler_options *
 ir3_get_compiler_options(struct ir3_compiler *compiler)
 {