r600g: indentation fix
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
0b841b0349
commit
119f00659c
|
@ -1206,8 +1206,7 @@ void evergreen_init_config(struct r600_pipe_context *rctx)
|
|||
r600_pipe_state_add_reg(rstate, R_0283F8_SQ_VTX_SEMANTIC_30, 0x0, 0xFFFFFFFF, NULL);
|
||||
r600_pipe_state_add_reg(rstate, R_0283FC_SQ_VTX_SEMANTIC_31, 0x0, 0xFFFFFFFF, NULL);
|
||||
|
||||
r600_pipe_state_add_reg(rstate, R_028810_PA_CL_CLIP_CNTL,
|
||||
0x0, 0xFFFFFFFF, NULL);
|
||||
r600_pipe_state_add_reg(rstate, R_028810_PA_CL_CLIP_CNTL, 0x0, 0xFFFFFFFF, NULL);
|
||||
|
||||
r600_context_pipe_state_set(&rctx->ctx, rstate);
|
||||
}
|
||||
|
|
|
@ -115,7 +115,8 @@ struct r600_translate_context {
|
|||
/* The vertex buffer slot containing the translated buffer. */
|
||||
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
|
||||
|
@ -156,10 +157,8 @@ struct r600_pipe_context {
|
|||
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_drawl {
|
||||
|
|
|
@ -205,8 +205,7 @@ static unsigned r600_texture_get_nblocksy(struct pipe_screen *screen,
|
|||
}
|
||||
|
||||
/* Get a width in pixels from a stride in bytes. */
|
||||
static unsigned pitch_to_width(enum pipe_format format,
|
||||
unsigned pitch_in_bytes)
|
||||
static unsigned pitch_to_width(enum pipe_format format, unsigned pitch_in_bytes)
|
||||
{
|
||||
return (pitch_in_bytes / util_format_get_blocksize(format)) *
|
||||
util_format_get_blockwidth(format);
|
||||
|
@ -552,8 +551,7 @@ struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx,
|
|||
if (rtex->tiled)
|
||||
use_staging_texture = TRUE;
|
||||
|
||||
if ((usage & PIPE_TRANSFER_READ) &&
|
||||
u_box_volume(box) > 1024)
|
||||
if ((usage & PIPE_TRANSFER_READ) && u_box_volume(box) > 1024)
|
||||
use_staging_texture = TRUE;
|
||||
|
||||
/* XXX: Use a staging texture for uploads if the underlying BO
|
||||
|
|
Loading…
Reference in New Issue