[Mesa-dev] [PATCH 1/7] intel: Move clflush helpers from anv to common/gen_clflush.h.

Emil Velikov emil.l.velikov at gmail.com
Fri Jul 7 10:29:44 UTC 2017


On 5 July 2017 at 21:56, Kenneth Graunke <kenneth at whitecape.org> wrote:
> I want to use these in the OpenGL driver as well.
>
> Cc: Jason Ekstrand <jason at jlekstrand.net>
> ---
>  src/intel/common/gen_clflush.h     | 56 ++++++++++++++++++++++++++++++++++++++
>  src/intel/vulkan/anv_batch_chain.c |  2 +-
>  src/intel/vulkan/anv_device.c      |  2 +-
>  src/intel/vulkan/anv_private.h     | 32 ++--------------------
>  src/intel/vulkan/anv_queue.c       |  2 +-
>  src/intel/vulkan/genX_blorp_exec.c |  2 +-
>  6 files changed, 62 insertions(+), 34 deletions(-)
>  create mode 100644 src/intel/common/gen_clflush.h
>
> diff --git a/src/intel/common/gen_clflush.h b/src/intel/common/gen_clflush.h
> new file mode 100644
> index 00000000000..9b971cac37e
> --- /dev/null
> +++ b/src/intel/common/gen_clflush.h
Please add this file to the COMMON_FILES list in src/intel/Makefile.sources.

Thanks
Emil


More information about the mesa-dev mailing list