summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/lima/lima_program.c
diff options
context:
space:
mode:
authorConnor Abbott <cwabbott0@gmail.com>2017-11-03 17:34:32 -0400
committerConnor Abbott <cwabbott0@gmail.com>2019-07-18 14:33:23 +0200
commitcc78a425772a377c309fe1a9cb02186a834621a8 (patch)
tree13d146a5534bce980700805a47e7bd3b6d7393a5 /src/gallium/drivers/lima/lima_program.c
parent4423552ff04647aae75dc2cc0dc0ce580b80b3a3 (diff)
downloadmesa-cc78a425772a377c309fe1a9cb02186a834621a8.tar.gz
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>
Diffstat (limited to 'src/gallium/drivers/lima/lima_program.c')
-rw-r--r--src/gallium/drivers/lima/lima_program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c
index 5e92726df06..cd056fb067d 100644
--- a/src/gallium/drivers/lima/lima_program.c
+++ b/src/gallium/drivers/lima/lima_program.c
@@ -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;