r300/compiler: Adapt AllocateHwInputs interface to common usage pattern
[mesa.git] / src / mesa / drivers / dri / r300 / compiler / radeon_program_pair.c
index 8cf1f1aaac20cf0b6b15b80d7634cb3693111d25..48616ac461cbd2dd0654bc86e7248497a40fdea6 100644 (file)
@@ -848,7 +848,7 @@ void radeonPairProgram(
                _mesa_printf("Emit paired program\n");
 
        scan_instructions(&s);
-       s.Compiler->AllocateHwInputs(s.Compiler->UserData, &alloc_helper, &s);
+       s.Compiler->AllocateHwInputs(s.Compiler, &alloc_helper, &s);
 
        while(!s.Compiler->Base.Error &&
              (s.ReadyTEX || s.ReadyRGB || s.ReadyAlpha || s.ReadyFullALU)) {