projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f08110
)
Missing: tgsi: Fix build -- rename Size to NrTokens.
author
Patrice Mandin
<patmandin@gmail.com>
Tue, 10 Feb 2009 17:31:41 +0000
(18:31 +0100)
committer
Patrice Mandin
<patmandin@gmail.com>
Tue, 10 Feb 2009 17:31:41 +0000
(18:31 +0100)
src/mesa/state_tracker/st_mesa_to_tgsi.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_mesa_to_tgsi.c
b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 5b5707fa1c5c84c60ffc026edff69c0c2d58c535..8b9b18f94df6cb52cf652d3119f8469d5a11a6e6 100644
(file)
--- a/
src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/
src/mesa/state_tracker/st_mesa_to_tgsi.c
@@
-188,7
+188,7
@@
make_immediate(const float *value, uint size)
struct tgsi_full_immediate imm;
imm = tgsi_default_full_immediate();
- imm.Immediate.
Size
+= size;
+ imm.Immediate.
NrTokens
+= size;
imm.Immediate.DataType = TGSI_IMM_FLOAT32;
imm.u.Pointer = value;
return imm;