[Mesa-dev] [PATCH 08/11] intel/decoder: Fix indentation
Rafael Antognolli
rafael.antognolli at intel.com
Tue May 2 22:07:23 UTC 2017
Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>
On Mon, May 01, 2017 at 01:54:52PM -0700, Matt Turner wrote:
> ---
> src/intel/common/gen_decoder.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
> index 15bba32..049d1be 100644
> --- a/src/intel/common/gen_decoder.c
> +++ b/src/intel/common/gen_decoder.c
> @@ -433,8 +433,8 @@ end_element(void *data, const char *name)
> struct gen_spec *spec = ctx->spec;
>
> if (strcmp(name, "instruction") == 0 ||
> - strcmp(name, "struct") == 0 ||
> - strcmp(name, "register") == 0) {
> + strcmp(name, "struct") == 0 ||
> + strcmp(name, "register") == 0) {
> size_t size = ctx->nfields * sizeof(ctx->fields[0]);
> struct gen_group *group = ctx->group;
>
> @@ -446,8 +446,8 @@ end_element(void *data, const char *name)
>
> for (int i = 0; i < group->nfields; i++) {
> if (group->fields[i]->start >= 16 &&
> - group->fields[i]->end <= 31 &&
> - group->fields[i]->has_default) {
> + group->fields[i]->end <= 31 &&
> + group->fields[i]->has_default) {
> group->opcode_mask |=
> mask(group->fields[i]->start % 32, group->fields[i]->end % 32);
> group->opcode |=
> --
> 2.10.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list