projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95c2d8
)
tgsi: s/unsigned/enum tgsi_semantic/ in ureg_DECL_output()
author
Brian Paul
<brianp@vmware.com>
Thu, 8 Feb 2018 16:54:52 +0000
(09:54 -0700)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index 40a047a255575a7056f9718ebbd2cee013fb5366..41281dabc40d0aee17de027737970a1194a6f103 100644
(file)
--- 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,