svga: trivial whitespace clean-ups in svga_screen.c
authorBrian Paul <brianp@vmware.com>
Tue, 26 Sep 2017 15:58:55 +0000 (09:58 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 28 Sep 2017 16:41:33 +0000 (10:41 -0600)
src/gallium/drivers/svga/svga_screen.c

index 16e350c4c7c0bbe955b9fddfdea3a9753faceccc..2e31e8dfe93bbb93f7f37f4252f3542f8735d648 100644 (file)
@@ -502,12 +502,12 @@ vgpu9_get_shader_param(struct pipe_screen *screen,
          val = get_uint_cap(sws, SVGA3D_DEVCAP_MAX_FRAGMENT_SHADER_TEMPS, 32);
          return MIN2(val, SVGA3D_TEMPREG_MAX);
       case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
-        /* 
-         * Although PS 3.0 has some addressing abilities it can only represent
-         * loops that can be statically determined and unrolled. Given we can
-         * only handle a subset of the cases that the state tracker already
-         * does it is better to defer loop unrolling to the state tracker.
-         */
+         /*
+          * Although PS 3.0 has some addressing abilities it can only represent
+          * loops that can be statically determined and unrolled. Given we can
+          * only handle a subset of the cases that the state tracker already
+          * does it is better to defer loop unrolling to the state tracker.
+          */
          return 0;
       case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
          return 0;
@@ -690,7 +690,7 @@ vgpu10_get_shader_param(struct pipe_screen *screen,
    case PIPE_SHADER_CAP_PREFERRED_IR:
       return PIPE_SHADER_IR_TGSI;
    case PIPE_SHADER_CAP_SUPPORTED_IRS:
-         return 0;
+      return 0;
    case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
    case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED:
    case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED:
@@ -797,12 +797,12 @@ svga_is_format_supported( struct pipe_screen *screen,
       case SVGA3D_A4R4G4B4:
       case SVGA3D_A1R5G5B5:
          return FALSE;
-         
+
       default:
          return FALSE;
       }
    }
-   
+
    /*
     * Query the host capabilities.
     */
@@ -993,14 +993,14 @@ static void
 svga_destroy_screen( struct pipe_screen *screen )
 {
    struct svga_screen *svgascreen = svga_screen(screen);
-   
+
    svga_screen_cache_cleanup(svgascreen);
 
    mtx_destroy(&svgascreen->swc_mutex);
    mtx_destroy(&svgascreen->tex_mutex);
 
    svgascreen->sws->destroy(svgascreen->sws);
-   
+
    FREE(svgascreen);
 }
 
@@ -1209,12 +1209,14 @@ error1:
    return NULL;
 }
 
+
 struct svga_winsys_screen *
 svga_winsys_screen(struct pipe_screen *screen)
 {
    return svga_screen(screen)->sws;
 }
 
+
 #ifdef DEBUG
 struct svga_screen *
 svga_screen(struct pipe_screen *screen)