mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
r300g: fix assert in the rasterizer block for r3xx-r4xx
Reported-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
This commit is contained in:
parent
b421cb9546
commit
ecec6df9cf
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ static void r300_rs_col(struct r300_rs_block* rs, int id, int ptr,
|
|||
static void r300_rs_col_write(struct r300_rs_block* rs, int id, int fp_offset,
|
||||
enum r300_rs_col_write_type type)
|
||||
{
|
||||
assert(type != WRITE_COLOR);
|
||||
assert(type == WRITE_COLOR);
|
||||
rs->inst[id] |= R300_RS_INST_COL_CN_WRITE |
|
||||
R300_RS_INST_COL_ADDR(fp_offset);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue