#include "bifrost_compile.h"
static void
-compile_shader(char **argv, bool vertex_only)
+compile_shader(char **argv)
{
struct gl_shader_program *prog;
nir_shader *nir[2];
util_dynarray_clear(&binary);
bifrost_compile_shader_nir(nir[i], &inputs, &binary, &info);
-
- if (vertex_only)
- break;
}
util_dynarray_fini(&binary);
}
if (strcmp(argv[1], "compile") == 0)
- compile_shader(&argv[2], false);
+ compile_shader(&argv[2]);
else if (strcmp(argv[1], "disasm") == 0)
disassemble(argv[2], false);
else if (strcmp(argv[1], "disasm-verbose") == 0)