aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c2
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index 39216e59124..dcf0cb52185 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -1808,7 +1808,7 @@ no_ureg:
}
-const unsigned
+unsigned
ureg_get_nr_outputs( const struct ureg_program *ureg )
{
if (!ureg)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index 2c3746c77f2..f014b5304a5 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
@@ -115,7 +115,7 @@ ureg_get_tokens( struct ureg_program *ureg,
/*
* Returns the number of currently declared outputs.
*/
-const unsigned
+unsigned
ureg_get_nr_outputs( const struct ureg_program *ureg );