gallium: Add a PIPE_CAP_NIR_COMPACT_ARRAYS capability bit.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Jan 2019 10:04:01 +0000 (02:04 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Feb 2019 21:58:46 +0000 (13:58 -0800)
commit8fa54bc54902960640d8140bef8c9d35677f17cb
tree88f4369ecbb6c8aa2f9445b67dc20066cb8ebc16
parentcf731564e6d335c987c47d41817b75df8a637dde
gallium: Add a PIPE_CAP_NIR_COMPACT_ARRAYS capability bit.

Iris would like to use compact arrays for tesslevels and clip/cull
distances.  radeonsi will likely want to switch to these at some point,
since it'll be necessary for GL_ARB_gl_spirv support, but it's not ready
for them just yet.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c