nv50: move allocation of pc regs
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 15 Sep 2009 09:47:00 +0000 (11:47 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 15 Sep 2009 10:13:23 +0000 (12:13 +0200)
commit38849c529e76b99f56f522be183a5935d617bcab
tree4374b6abba564dac301375f373c1100f5d27ec31
parente0951797cb2b356e64494e121e46fa3e00e25cf6
nv50: move allocation of pc regs

Make use of tgsi_shader_info to determine how many nv50_regs we
need to allocate, whether program uses KIL, or writes DEPR.
src/gallium/drivers/nv50/nv50_program.c