tgsi: s/unsigned/enum tgsi_semantic/ in ureg_DECL_output()
authorBrian Paul <brianp@vmware.com>
Thu, 8 Feb 2018 16:54:52 +0000 (09:54 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Feb 2018 17:27:19 +0000 (10:27 -0700)
So the function matches the prototype.  Found with clang.
v2: fix copy&paste error

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_ureg.c

index 40a047a255575a7056f9718ebbd2cee013fb5366..41281dabc40d0aee17de027737970a1194a6f103 100644 (file)
@@ -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,