radeonsi/nir: gather buffers declared more accurately and use const fast path
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 26 Mar 2018 23:39:49 +0000 (10:39 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 2 Apr 2018 04:56:00 +0000 (14:56 +1000)
commitdd3d3cc877423027562087261a6e47226b69df84
tree7fd3cce25d210069e7bc7b5e6d262e637bb91c43
parent56017d81004072fd00979f3a987ff2e94e3b6315
radeonsi/nir: gather buffers declared more accurately and use const fast path

For now we skip SI && HAVE_LLVM < 0x0600 for simplicity. We also skip
setting the more accurate masks for builtin uniforms for now as it
causes some piglit regressions.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_nir.c