summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_sf.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-11-25 15:46:34 -0800
committerKenneth Graunke <kenneth@whitecape.org>2013-12-05 13:59:18 -0800
commita7bdd4cba8ddcab8dff59ecaaa7efbd436c6c307 (patch)
treeb312572e9a4e30db2dbb66116b65617ba5e6e72b /src/mesa/drivers/dri/i965/brw_sf.c
parentd542c45c75671e93a1cfae1f0eaf9c12f082f4f1 (diff)
downloadexternal_mesa3d-a7bdd4cba8ddcab8dff59ecaaa7efbd436c6c307.zip
external_mesa3d-a7bdd4cba8ddcab8dff59ecaaa7efbd436c6c307.tar.gz
external_mesa3d-a7bdd4cba8ddcab8dff59ecaaa7efbd436c6c307.tar.bz2
i965: Drop trailing whitespace from the rest of the driver.
Performed via: $ for file in *; do sed -i 's/ *//g'; done Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_sf.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.c b/src/mesa/drivers/dri/i965/brw_sf.c
index 1634078..67d31f5 100644
--- a/src/mesa/drivers/dri/i965/brw_sf.c
+++ b/src/mesa/drivers/dri/i965/brw_sf.c
@@ -2,7 +2,7 @@
Copyright (C) Intel Corp. 2006. All Rights Reserved.
Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to
develop this 3D driver.
-
+
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
@@ -10,11 +10,11 @@
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
-
+
The above copyright notice and this permission notice (including the
next paragraph) shall be included in all copies or substantial
portions of the Software.
-
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
@@ -22,13 +22,13 @@
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
+
**********************************************************************/
/*
* Authors:
* Keith Whitwell <keith@tungstengraphics.com>
*/
-
+
#include "main/glheader.h"
#include "main/macros.h"
@@ -83,7 +83,7 @@ static void compile_sf_prog( struct brw_context *brw,
c.prog_data.urb_entry_size = c.nr_setup_regs * 2;
c.has_flat_shading = brw_any_flat_varyings(&key->interpolation_mode);
- /* Which primitive? Or all three?
+ /* Which primitive? Or all three?
*/
switch (key->primitive) {
case SF_TRIANGLES:
@@ -149,7 +149,7 @@ brw_upload_sf_prog(struct brw_context *brw)
/* BRW_NEW_REDUCED_PRIMITIVE */
switch (brw->reduced_primitive) {
- case GL_TRIANGLES:
+ case GL_TRIANGLES:
/* NOTE: We just use the edgeflag attribute as an indicator that
* unfilled triangles are active. We don't actually do the
* edgeflag testing here, it is already done in the clip
@@ -160,11 +160,11 @@ brw_upload_sf_prog(struct brw_context *brw)
else
key.primitive = SF_TRIANGLES;
break;
- case GL_LINES:
- key.primitive = SF_LINES;
+ case GL_LINES:
+ key.primitive = SF_LINES;
break;
- case GL_POINTS:
- key.primitive = SF_POINTS;
+ case GL_POINTS:
+ key.primitive = SF_POINTS;
break;
}