summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-04-17 18:35:16 +0200
committerChristoph Bumiller <[email protected]>2012-04-17 18:35:16 +0200
commit48aec56559a0199d8099d9edff8e51312f55f15c (patch)
tree51a0074e4f46936c274f4d0a783ab4ecf7dbc192 /src/gallium/drivers/nv50
parent6077b347ae72af548667cc06cfff99e7e12c6d9f (diff)
nv50: specify location of UCPs to code generator
Was made configurable in e44089b2f79aa2dcaacf348911433d1e21235c0c for Kepler but forgot to update nv50.
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 4a5fd0a6de8..71254e82cdc 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -251,6 +251,8 @@ nv50_program_translate(struct nv50_program *prog, uint16_t chipset)
info->bin.sourceRep = NV50_PROGRAM_IR_TGSI;
info->bin.source = (void *)prog->pipe.tokens;
+ info->io.ucpBinding = 15;
+ info->io.ucpBase = 0;
info->io.genUserClip = prog->vp.clpd_nr;
info->assignSlots = nv50_program_assign_varying_slots;