diff options
author | Jerome Glisse <[email protected]> | 2010-09-24 10:43:57 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-24 10:43:57 -0400 |
commit | 7967b46e652eeef5e3bb1101e53b4c15683ecd12 (patch) | |
tree | 7291bf51d6cc4b4e5dced187a095a68175cdfd5b /src | |
parent | eff1af65afb479b3719d8fa2bed97b76d6dee768 (diff) |
r600g: fix compilation after change to evergreend.h
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/eg_hw_states.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/eg_hw_states.c b/src/gallium/drivers/r600/eg_hw_states.c index 47c15b8dcc8..6e823689847 100644 --- a/src/gallium/drivers/r600/eg_hw_states.c +++ b/src/gallium/drivers/r600/eg_hw_states.c @@ -215,7 +215,7 @@ static void eg_rasterizer(struct r600_context *rctx, struct radeon_state *rstate case PIPE_FORMAT_Z32_FLOAT: depth = -23; offset_units *= 1.0f; - offset_db_fmt_cntl |= S_028DF8_POLY_OFFSET_DB_IS_FLOAT_FMT(1); + offset_db_fmt_cntl |= S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(1); break; case PIPE_FORMAT_Z16_UNORM: depth = -16; @@ -226,7 +226,7 @@ static void eg_rasterizer(struct r600_context *rctx, struct radeon_state *rstate return; } } - offset_db_fmt_cntl |= S_028DF8_POLY_OFFSET_NEG_NUM_DB_BITS(depth); + offset_db_fmt_cntl |= S_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(depth); if (state->flatshade_first) prov_vtx = 0; |