summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_tgsi_emit.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2010-09-16 16:51:03 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-09-20 09:26:49 +0100
commit279492386ffe741c2f5b91919b37068562b6a282 (patch)
tree42e8025f22ceaa224421661b56705c9ca361f0c5 /src/gallium/drivers/svga/svga_tgsi_emit.h
parent0742e0b3767072fe664ca9f39fc31d86d8d314ed (diff)
svga: Integer constant register file has a separate namespace.
Count int and float constants independently. Since there are only few i# constants available and hundreds of c# constants, it would be too easy to end up with an i# declaration out of its range.
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi_emit.h')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi_emit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi_emit.h b/src/gallium/drivers/svga/svga_tgsi_emit.h
index b4e90a957d..63ef7f867a 100644
--- a/src/gallium/drivers/svga/svga_tgsi_emit.h
+++ b/src/gallium/drivers/svga/svga_tgsi_emit.h
@@ -62,7 +62,8 @@ struct svga_shader_emitter
int imm_start;
- int nr_hw_const;
+ int nr_hw_float_const;
+ int nr_hw_int_const;
int nr_hw_temp;
int insn_offset;