R6xx/R7xx: Fix number of temps used in fragment program
Spotted by Cooper. This gets hello, aargb, smooth, etc. working.
This commit is contained in:
parent
d10006e67f
commit
65cdf9c561
|
@ -299,7 +299,7 @@ GLboolean r700SetupFragmentProgram(GLcontext * ctx)
|
|||
|
||||
ui = (r700->SPI_PS_IN_CONTROL_0.u32All & NUM_INTERP_mask) / (1 << NUM_INTERP_shift);
|
||||
|
||||
ui = ui ? unNumOfReg : ui;
|
||||
ui = (ui < unNumOfReg) ? unNumOfReg : ui;
|
||||
|
||||
SETfield(r700->ps.SQ_PGM_RESOURCES_PS.u32All, ui, NUM_GPRS_shift, NUM_GPRS_mask);
|
||||
|
||||
|
|
Loading…
Reference in New Issue