nv50: specify location of UCPs to code generator
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 17 Apr 2012 16:35:16 +0000 (18:35 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 17 Apr 2012 16:35:16 +0000 (18:35 +0200)
Was made configurable in e44089b2f79aa2dcaacf348911433d1e21235c0c
for Kepler but forgot to update nv50.

src/gallium/drivers/nv50/nv50_program.c

index 4a5fd0a6de8f1ba33c043b029288bd2205571e8d..71254e82cdc5b4dc50df0415394247887229dabf 100644 (file)
@@ -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;