Mesa (master): i915g: Clean up in i915_state_immediate
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Thu Feb 24 00:31:24 UTC 2011
Module: Mesa
Branch: master
Commit: 42b8b2be8553390f2e5f847759e886b910b550cc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42b8b2be8553390f2e5f847759e886b910b550cc
Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date: Mon Feb 21 23:09:43 2011 +0000
i915g: Clean up in i915_state_immediate
---
src/gallium/drivers/i915/i915_state_immediate.c | 6 +-----
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 d691fad..00dcf9c 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
};
More information about the mesa-commit
mailing list