summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2011-02-21 23:09:43 +0000
committerJakob Bornecrantz <[email protected]>2011-02-24 00:26:02 +0000
commit42b8b2be8553390f2e5f847759e886b910b550cc (patch)
tree99d0e9fad8c3e1c6f1caabf545ad7666c8495ee2 /src
parent481fad15526d30e121d031bfcb765ed7847f50a7 (diff)
i915g: Clean up in i915_state_immediate
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_state_immediate.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/i915/i915_state_immediate.c b/src/gallium/drivers/i915/i915_state_immediate.c
index d691fadc9e8..00dcf9cb2d0 100644
--- a/src/gallium/drivers/i915/i915_state_immediate.c
+++ b/src/gallium/drivers/i915/i915_state_immediate.c
@@ -50,7 +50,6 @@ static void upload_S0S1(struct i915_context *i915)
/* I915_NEW_VERTEX_SIZE
*/
- /* XXX do this where the vertex size is calculated! */
{
unsigned vertex_size = i915->current.vertex_info.size;
@@ -90,9 +89,6 @@ static void upload_S2S4(struct i915_context *i915)
{
LIS2 = i915->current.vertex_info.hwfmt[1];
LIS4 = i915->current.vertex_info.hwfmt[0];
- /*
- debug_printf("LIS2: 0x%x LIS4: 0x%x\n", LIS2, LIS4);
- */
assert(LIS4); /* should never be zero? */
}
@@ -179,7 +175,7 @@ static void upload_S6(struct i915_context *i915)
}
const struct i915_tracked_state i915_upload_S6 = {
- "imm s6",
+ "imm S6",
upload_S6,
I915_NEW_BLEND | I915_NEW_DEPTH_STENCIL | I915_NEW_FRAMEBUFFER
};