diff options
author | Maciej Cencora <[email protected]> | 2009-04-19 21:13:18 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-04-27 19:04:21 +1000 |
commit | 931c89f6f6f1f8449ed9d7b41f84e6948774b368 (patch) | |
tree | ee30152fe1ce4f6505f6fe642da613d718864199 /src/mesa/drivers/dri/r300/r300_state.c | |
parent | 32d185eb60ea7d0d1a67429055f7544129d52276 (diff) |
r300: remove unnecessary function calls
r300SetEarlyZState is called during r300UpdateShaderStates which is called for every rendering operation.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_state.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 4cbbfd49c91..c86c16bfa71 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -524,8 +524,6 @@ static void r300SetAlphaState(GLcontext * ctx) R300_STATECHANGE(r300, at); r300->hw.at.cmd[R300_AT_ALPHA_TEST] = pp_misc; r300->hw.at.cmd[R300_AT_UNKNOWN] = 0; - - r300SetEarlyZState(ctx); } static void r300AlphaFunc(GLcontext * ctx, GLenum func, GLfloat ref) @@ -573,8 +571,6 @@ static void r300SetDepthState(GLcontext * ctx) r300->hw.zs.cmd[R300_ZS_CNTL_1] |= translate_func(ctx->Depth.Func) << R300_Z_FUNC_SHIFT; } - - r300SetEarlyZState(ctx); } static void r300SetStencilState(GLcontext * ctx, GLboolean state) |