summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-08-16 19:17:02 +0200
committerMarek Olšák <maraeo@gmail.com>2010-08-16 19:19:17 +0200
commitecec6df9cfe74dbd16f072bc4bbcd90374f8d2c8 (patch)
tree69ce8f1bf4c1d832c882af5f4849654f9b1bf522 /src
parentb421cb954673e487074c806d6f98722e46abd4f0 (diff)
downloadexternal_mesa3d-ecec6df9cfe74dbd16f072bc4bbcd90374f8d2c8.zip
external_mesa3d-ecec6df9cfe74dbd16f072bc4bbcd90374f8d2c8.tar.gz
external_mesa3d-ecec6df9cfe74dbd16f072bc4bbcd90374f8d2c8.tar.bz2
r300g: fix assert in the rasterizer block for r3xx-r4xx
Reported-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index 4a63ed7..c8de3e1 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -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);
}