mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
r300-gallium: Always rasterize at least one color.
This commit is contained in:
parent
954a9fadad
commit
c5742cab19
1 changed files with 8 additions and 0 deletions
|
|
@ -208,6 +208,10 @@ static void r300_update_rs_block(struct r300_context* r300)
|
|||
}
|
||||
}
|
||||
|
||||
if (col_count == 0) {
|
||||
rs->ip[0] |= R500_RS_COL_FMT(R300_RS_COL_FMT_0001);
|
||||
}
|
||||
|
||||
/* Set up at least one texture pointer or RS will not be happy. */
|
||||
if (tex_count == 0) {
|
||||
rs->ip[0] |=
|
||||
|
|
@ -253,6 +257,10 @@ static void r300_update_rs_block(struct r300_context* r300)
|
|||
}
|
||||
}
|
||||
|
||||
if (col_count == 0) {
|
||||
rs->ip[0] |= R300_RS_COL_FMT(R300_RS_COL_FMT_0001);
|
||||
}
|
||||
|
||||
if (tex_count == 0) {
|
||||
rs->ip[0] |=
|
||||
R300_RS_SEL_S(R300_RS_SEL_K0) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue