projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f5a2e
)
st/xorg: fix ureg_DECL_constant() parameters
author
Brian Paul
<brianp@vmware.com>
Mon, 14 Sep 2009 21:47:07 +0000
(15:47 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 14 Sep 2009 21:47:13 +0000
(15:47 -0600)
This fixes the compilation errors reported in bug 23945 but someone more
familiar with the code should review for correctness and close the bug
report.
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
index b30cbff4793893d372e522785b72179e1291bd36..801d0d8df4d0c8ba32a5fa20c7cc2b139ded1ba5 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
+++ b/
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
@@
-367,11
+367,11
@@
create_fs(struct pipe_context *pipe,
else
src = out;
- coords = ureg_DECL_constant(ureg);
- const0124 = ureg_DECL_constant(ureg);
- matrow0 = ureg_DECL_constant(ureg);
- matrow1 = ureg_DECL_constant(ureg);
- matrow2 = ureg_DECL_constant(ureg);
+ coords = ureg_DECL_constant(ureg
, 0
);
+ const0124 = ureg_DECL_constant(ureg
, 1
);
+ matrow0 = ureg_DECL_constant(ureg
, 2
);
+ matrow1 = ureg_DECL_constant(ureg
, 3
);
+ matrow2 = ureg_DECL_constant(ureg
, 4
);
if (is_lingrad) {
linear_gradient(ureg, src,