summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-12-03 12:56:51 -0500
committerJerome Glisse <jglisse@redhat.com>2010-12-03 12:56:51 -0500
commit119f00659c03c48cfab0f2770dd6b6fb89af31e4 (patch)
treec03fcbb3cab68e99922165b6531fac2a5064ac1b /src/gallium/drivers/r600/r600_pipe.h
parent0b841b0349d7aca218eac4e9d9b7b1406ad71944 (diff)
r600g: indentation fix
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index e4d5dd4743..deec946e5d 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -103,19 +103,20 @@ struct r600_pipe_shader {
struct r600_textures_info {
struct r600_pipe_sampler_view *views[NUM_TEX_UNITS];
- unsigned n_views;
+ unsigned n_views;
void *samplers[NUM_TEX_UNITS];
- unsigned n_samplers;
+ unsigned n_samplers;
};
struct r600_translate_context {
/* Translate cache for incompatible vertex offset/stride/format fallback. */
- struct translate_cache *translate_cache;
+ struct translate_cache *translate_cache;
/* The vertex buffer slot containing the translated buffer. */
- unsigned vb_slot;
+ unsigned vb_slot;
/* Saved and new vertex element state. */
- void *saved_velems, *new_velems;
+ void *saved_velems;
+ void *new_velems;
};
#define R600_CONSTANT_ARRAY_SIZE 256
@@ -155,11 +156,9 @@ struct r600_pipe_context {
struct u_upload_mgr *upload_vb;
struct u_upload_mgr *upload_ib;
unsigned any_user_vbs;
- struct r600_textures_info ps_samplers;
-
- unsigned vb_max_index;
- struct r600_translate_context tran;
-
+ struct r600_textures_info ps_samplers;
+ unsigned vb_max_index;
+ struct r600_translate_context tran;
};
struct r600_drawl {