r300: fix primary color on rs480
This commit is contained in:
committed by
Aapo Tahkola
parent
5e2a66466d
commit
16cec9f767
@@ -206,6 +206,7 @@ static void r300EmitClearState(GLcontext * ctx)
|
||||
e32(0x00000405);
|
||||
|
||||
if (!has_tcl) {
|
||||
R300_STATECHANGE(r300, vte);
|
||||
/* comes from fglrx startup of clear */
|
||||
reg_start(R300_SE_VTE_CNTL, 1);
|
||||
e32(0x043f);
|
||||
|
||||
@@ -440,6 +440,12 @@ int r300EmitArrays(GLcontext *ctx)
|
||||
inputs[i] = nr++;
|
||||
else
|
||||
inputs[i] = -1;
|
||||
|
||||
if(!(r300->radeon.radeonScreen->chip_flags & RADEON_CHIPSET_TCL)) {
|
||||
for (i = 0; i < VERT_ATTRIB_MAX; i++)
|
||||
if (inputs[i] > 0)
|
||||
inputs[i]++;
|
||||
}
|
||||
|
||||
RENDERINPUTS_COPY( rmesa->state.render_inputs_bitset, inputs_bitset );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user