lima: Reintroduce the standalone compiler

I used this to test things without needing to have a device handy.

Acked-by: Qiang Yu <yuq825@gmail.com>
This commit is contained in:
Connor Abbott
2017-11-03 17:34:32 -04:00
parent 4423552ff0
commit cc78a42577
7 changed files with 352 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ type_size(const struct glsl_type *type, bool bindless)
return glsl_count_attribute_slots(type, false);
}
static void
void
lima_program_optimize_vs_nir(struct nir_shader *s)
{
bool progress;
@@ -130,7 +130,7 @@ lima_program_optimize_vs_nir(struct nir_shader *s)
nir_sweep(s);
}
static void
void
lima_program_optimize_fs_nir(struct nir_shader *s)
{
bool progress;