[Mesa-dev] [PATCH] anv: Add gen11 to anv_genX_call

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu Mar 22 21:19:47 UTC 2018


There is another macro anv_genX_call() in anv_cmd_buffer.c & anv_blorp.c
Also a switch in anv_device.c in anv_device_init_dispatch.

If you just knock those off in the same patch, that would be great.

Thanks!

-
Lionel

On 22/03/18 20:58, Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>   src/intel/vulkan/anv_cmd_buffer.c | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c
> index 8f4bf3f0bb9..33687920a38 100644
> --- a/src/intel/vulkan/anv_cmd_buffer.c
> +++ b/src/intel/vulkan/anv_cmd_buffer.c
> @@ -332,6 +332,9 @@ VkResult anv_ResetCommandBuffer(
>      case 10:                                        \
>         gen10_##func(__VA_ARGS__);                   \
>         break;                                       \
> +   case 11:                                        \
> +      gen11_##func(__VA_ARGS__);                   \
> +      break;                                       \
>      default:                                        \
>         assert(!"Unknown hardware generation");      \
>      }




More information about the mesa-dev mailing list