summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/i830_state.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-07-17 15:56:43 +0200
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-07-17 15:56:43 +0200
commit04d49ff24d0f9c7c3a99c45b50f62aa32b0a28ed (patch)
tree7f6dc23c1fe9a11531d711ed4218cd154a1e0305 /src/mesa/drivers/dri/i915tex/i830_state.c
parent4dd8e2648d7ec8634d1005aae2da562b57b0267f (diff)
remove old code, remaining bits of static handles, disable (no longer functional anyway) rotation code
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/i830_state.c')
-rw-r--r--src/mesa/drivers/dri/i915tex/i830_state.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i830_state.c b/src/mesa/drivers/dri/i915tex/i830_state.c
index 3c149e6905..490d681429 100644
--- a/src/mesa/drivers/dri/i915tex/i830_state.c
+++ b/src/mesa/drivers/dri/i915tex/i830_state.c
@@ -879,7 +879,6 @@ i830Enable(GLcontext * ctx, GLenum cap, GLboolean state)
static void
i830_init_packets(struct i830_context *i830)
{
- intelScreenPrivate *screen = i830->intel.intelScreen;
/* Zero all state */
memset(&i830->state, 0, sizeof(i830->state));
@@ -1033,15 +1032,6 @@ i830_init_packets(struct i830_context *i830)
i830->state.Stipple[I830_STPREG_ST0] = _3DSTATE_STIPPLE;
- i830->state.Buffer[I830_DESTREG_CBUFADDR0] = _3DSTATE_BUF_INFO_CMD;
- i830->state.Buffer[I830_DESTREG_CBUFADDR1] = (BUF_3D_ID_COLOR_BACK | BUF_3D_PITCH(screen->front.pitch) | /* pitch in bytes */
- BUF_3D_USE_FENCE);
-
-
- i830->state.Buffer[I830_DESTREG_DBUFADDR0] = _3DSTATE_BUF_INFO_CMD;
- i830->state.Buffer[I830_DESTREG_DBUFADDR1] = (BUF_3D_ID_DEPTH | BUF_3D_PITCH(screen->depth.pitch) | /* pitch in bytes */
- BUF_3D_USE_FENCE);
-
i830->state.Buffer[I830_DESTREG_DV0] = _3DSTATE_DST_BUF_VARS_CMD;
#if 0