OSDN Git Service

svga: Integer constant register file has a separate namespace.
authorMichal Krol <michal@vmware.com>
Thu, 16 Sep 2010 16:51:03 +0000 (16:51 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 20 Sep 2010 08:26:49 +0000 (09:26 +0100)
commit279492386ffe741c2f5b91919b37068562b6a282
tree42e8025f22ceaa224421661b56705c9ca361f0c5
parent0742e0b3767072fe664ca9f39fc31d86d8d314ed
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.
src/gallium/drivers/svga/svga_tgsi.c
src/gallium/drivers/svga/svga_tgsi_emit.h
src/gallium/drivers/svga/svga_tgsi_insn.c