summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Isorce <jisorce@oblong.com>2017-03-22 13:43:45 +0000
committerJulien Isorce <jisorce@oblong.com>2017-03-23 13:21:37 +0000
commit48b5f1cca7deb666cf5b9f8e9dc8098b69ae0707 (patch)
tree7610a0619e3c78ae4cfa99f18f6d5ea362a43a06
parent90633079eccdc7b883b712695c057553d484405f (diff)
r600_shader.c: fix indentation
Introduced by ad13bd2e51a5dc01b0f8a0eb927022f0deac0a0c Signed-off-by: Julien Isorce <jisorce@oblong.com> Reviewed-by: Nayan Deshmukh <nayan26deshmukh@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r--src/gallium/drivers/r600/r600_shader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 844650220b4..41fabf3a314 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -1113,8 +1113,8 @@ static int allocate_system_value_inputs(struct r600_shader_ctx *ctx, int gpr_off
interpolate = ctx->info.input_interpolate[inst->Src[0].Register.Index];
k = eg_get_interpolator_index(interpolate, location);
- if (k >= 0)
- ctx->eg_interpolators[k].enabled = true;
+ if (k >= 0)
+ ctx->eg_interpolators[k].enabled = true;
}
} else if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_DECLARATION) {
struct tgsi_full_declaration *d = &parse.FullToken.FullDeclaration;
@@ -1210,8 +1210,8 @@ static int evergreen_gpr_count(struct r600_shader_ctx *ctx)
interpolate = ctx->info.input_interpolate[inst->Src[0].Register.Index];
k = eg_get_interpolator_index(interpolate, location);
- if (k >= 0)
- ctx->eg_interpolators[k].enabled = true;
+ if (k >= 0)
+ ctx->eg_interpolators[k].enabled = true;
}
}
}