r300g: Examine vertex attribute type on HW TCL too.
This commit is contained in:
parent
b21df2620e
commit
b589e39809
|
@ -244,10 +244,8 @@ static void r300_vertex_psc(struct r300_context* r300,
|
|||
assert(tab[i] != -1);
|
||||
|
||||
/* Add the attribute to the PSC table. */
|
||||
temp = r300screen->caps->has_tcl ?
|
||||
R300_DATA_TYPE_FLOAT_4 :
|
||||
translate_vertex_data_type(vinfo->attrib[i].emit);
|
||||
temp |= tab[i] << R300_DST_VEC_LOC_SHIFT;
|
||||
temp = translate_vertex_data_type(vinfo->attrib[i].emit) |
|
||||
tab[i] << R300_DST_VEC_LOC_SHIFT;
|
||||
|
||||
if (i & 1) {
|
||||
vformat->vap_prog_stream_cntl[i >> 1] &= 0x0000ffff;
|
||||
|
|
Loading…
Reference in New Issue