[PATCH vkd3d 1/6] vkd3d-shader: Rename name_offset to name_bytecode_offset.

Matteo Bruni matteo.mystral at gmail.com
Mon Apr 26 07:48:19 CDT 2021


On Wed, Apr 21, 2021 at 6:30 AM Zebediah Figura <zfigura at codeweavers.com> wrote:
>
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
>  libs/vkd3d-shader/hlsl.h         | 4 ++--
>  libs/vkd3d-shader/hlsl_codegen.c | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/libs/vkd3d-shader/hlsl.h b/libs/vkd3d-shader/hlsl.h
> index 3dc7a26b..0c755f46 100644
> --- a/libs/vkd3d-shader/hlsl.h
> +++ b/libs/vkd3d-shader/hlsl.h
> @@ -136,9 +136,9 @@ struct hlsl_struct_field
>      struct hlsl_type *type;
>      const char *name;
>      const char *semantic;
> -
>      unsigned int reg_offset;
> -    unsigned int name_offset;
> +
> +    unsigned int name_bytecode_offset;
>  };

Splitting hairs, but I didn't mind the blank line before reg_offset
(the idea being that it's a codegen / backend field vs the above which
is pretty much parse / abstract level stuff).



More information about the wine-devel mailing list