summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-25 08:05:53 -0700
committerBrian Paul <[email protected]>2010-02-25 08:05:53 -0700
commit013dd29cca9b90555b7481a81ea1727fb7cea28b (patch)
treed690eb79ebec74995b78b95062f3c892a4d5bddc /src/gallium
parent9960b3ed4b9a7b6eb92245820bdffdf5f70470a6 (diff)
gallium/util: rewrap comment to fit in 80 columns
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_sampler.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/util/u_sampler.c b/src/gallium/auxiliary/util/u_sampler.c
index 3e45a2fa70d..08cf1fcf223 100644
--- a/src/gallium/auxiliary/util/u_sampler.c
+++ b/src/gallium/auxiliary/util/u_sampler.c
@@ -47,15 +47,18 @@ default_template(struct pipe_sampler_view *view,
view->swizzle_b = PIPE_SWIZZLE_BLUE;
view->swizzle_a = PIPE_SWIZZLE_ALPHA;
- /* Override default green and blue component expansion to the requested one.
+ /* Override default green and blue component expansion to the requested
+ * one.
*
- * Gallium expands nonexistent components to (0,0,0,1), DX9 expands to (1,1,1,1).
- * Since alpha is always expanded to 1, and red is always present, we only really
- * care about green and blue components.
+ * Gallium expands nonexistent components to (0,0,0,1), DX9 expands
+ * to (1,1,1,1). Since alpha is always expanded to 1, and red is
+ * always present, we only really care about green and blue
+ * components.
*
- * To make it look less hackish, one would have to add UTIL_FORMAT_SWIZZLE_EXPAND
- * to indicate components for expansion and then override without exceptions or
- * favoring one component over another.
+ * To make it look less hackish, one would have to add
+ * UTIL_FORMAT_SWIZZLE_EXPAND to indicate components for expansion
+ * and then override without exceptions or favoring one component
+ * over another.
*/
if (format != PIPE_FORMAT_A8_UNORM) {
const struct util_format_description *desc = util_format_description(format);