diff options
author | Dave Airlie <[email protected]> | 2010-10-14 11:15:37 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-26 09:47:02 +1000 |
commit | 2d2bafdb30110e83b7e14017326a454d7e7f37f3 (patch) | |
tree | 437efceea4d2d47fd004c6e86f29b068d984fd85 /src/gallium/drivers/r600/evergreen_state.c | |
parent | ba2382f50d7815947e17fe993b39feb573638d12 (diff) |
r600g: fix magic 0x1 ->flat shade ena
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index e3f11da7d8c..72223485067 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -247,7 +247,7 @@ static void *evergreen_create_rs_state(struct pipe_context *ctx, rstate->id = R600_PIPE_STATE_RASTERIZER; if (state->flatshade_first) prov_vtx = 0; - tmp = 0x00000001; + tmp = S_0286D4_FLAT_SHADE_ENA(1); if (state->sprite_coord_enable) { tmp |= S_0286D4_PNT_SPRITE_ENA(1) | S_0286D4_PNT_SPRITE_OVRD_X(2) | |