summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-08 09:54:52 -0700
committerBrian Paul <[email protected]>2018-02-08 10:27:19 -0700
commit4b0a45da25a5b49b927e6139528bbf74eec9a9ff (patch)
treecef5d27f837d6c173bfd1812cc96cea4cfa402a9 /src/gallium/auxiliary/tgsi/tgsi_ureg.c
parentd95c2d86cc095d73759b4db1b2689013af66f622 (diff)
tgsi: s/unsigned/enum tgsi_semantic/ in ureg_DECL_output()
So the function matches the prototype. Found with clang. v2: fix copy&paste error Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index 40a047a2555..41281dabc40 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -486,7 +486,7 @@ ureg_DECL_output_masked(struct ureg_program *ureg,
struct ureg_dst
ureg_DECL_output(struct ureg_program *ureg,
- unsigned name,
+ enum tgsi_semantic name,
unsigned index)
{
return ureg_DECL_output_masked(ureg, name, index, TGSI_WRITEMASK_XYZW,