[Mesa-dev] [PATCH v2 01/11] r600g: fix code indentation

Oded Gabbay oded.gabbay at gmail.com
Thu Apr 14 12:18:44 UTC 2016


Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
---
 src/gallium/drivers/r600/r600_blit.c | 18 +++++++++---------
 src/gallium/drivers/r600/r600_pipe.c |  2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 1a4cc42..2d30807 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -706,7 +706,7 @@ void r600_resource_copy_region(struct pipe_context *ctx,
 				dst_templ.format = PIPE_FORMAT_R8_UNORM;
 				src_templ.format = PIPE_FORMAT_R8_UNORM;
 				break;
-                        case 2:
+			case 2:
 				dst_templ.format = PIPE_FORMAT_R8G8_UNORM;
 				src_templ.format = PIPE_FORMAT_R8G8_UNORM;
 				break;
@@ -714,14 +714,14 @@ void r600_resource_copy_region(struct pipe_context *ctx,
 				dst_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;
 				src_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;
 				break;
-                        case 8:
-                                dst_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
-                                src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
-                                break;
-                        case 16:
-                                dst_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
-                                src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
-                                break;
+			case 8:
+				dst_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
+				src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
+				break;
+			case 16:
+				dst_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
+				src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
+				break;
 			default:
 				fprintf(stderr, "Unhandled format %s with blocksize %u\n",
 					util_format_short_name(src->format), blocksize);
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index c594f5c..52f0986 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -264,7 +264,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 	case PIPE_CAP_START_INSTANCE:
 	case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
 	case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
-        case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
+	case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
 	case PIPE_CAP_QUERY_PIPELINE_STATISTICS:
 	case PIPE_CAP_TEXTURE_MULTISAMPLE:
 	case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
-- 
2.5.5



More information about the mesa-dev mailing list