gallium: Add a cap bit for OpenCL-style extended integer functions
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 14 Nov 2019 22:12:30 +0000 (14:12 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 00:18:57 +0000 (00:18 +0000)
commit9db20748fd1af930920424a95321ee11b6eae16e
treeb21b430d499bc24624f3cd5fb4f7ea4331f946ec
parent4e9079d0c71e42e152a00678bbe2665882849a43
gallium: Add a cap bit for OpenCL-style extended integer functions

Iris will eventually enable this.  Looking at the header files, it looks
like Midgard could also enable it.  Basically, any GPU that fully
supports OpenCL can.

v2: Add default value to u_screen.c.  Suggested by Caio.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h