Mesa (master): i915g: Fix u_blitter comment.
Stephane Marchesin
marcheu at kemper.freedesktop.org
Mon Jun 27 09:06:04 UTC 2011
Module: Mesa
Branch: master
Commit: a8ebc5400ea022d96d297f606e1dc34f67e2969d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8ebc5400ea022d96d297f606e1dc34f67e2969d
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Sun Jun 26 19:09:02 2011 -0700
i915g: Fix u_blitter comment.
---
src/gallium/drivers/i915/i915_resource_texture.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c
index 3a00d08..62ec580 100644
--- a/src/gallium/drivers/i915/i915_resource_texture.c
+++ b/src/gallium/drivers/i915/i915_resource_texture.c
@@ -736,7 +736,8 @@ i915_texture_get_transfer(struct pipe_context *pipe,
transfer->b.layer_stride = 0;
transfer->b.data = NULL;
- /* only support textures we can render to, because we need that for u_blitter */
+ /* if we use staging transfers, only support textures we can render to,
+ * because we need that for u_blitter */
if (i915->blitter &&
i915_is_format_supported(NULL, /* screen */
transfer->b.resource->format,
More information about the mesa-commit
mailing list