glsl/nir: Lower buffers using Binding instead of Names
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 22 Mar 2019 04:47:02 +0000 (21:47 -0700)
committerArcady Goldmints-Orlov <agoldmints@igalia.com>
Sun, 30 Jun 2019 21:58:27 +0000 (16:58 -0500)
commit5ad283550be8bdbeb0897d42650644d0f19f54a3
tree24557700f59e304d8c72eb238649714f2d950863
parent2af2235a3281a182f6ed4a51a1f58f8a7dcee0e4
glsl/nir: Lower buffers using Binding instead of Names

When using ARB_gl_spirv, the block names are optional and the uniform
blocks are referred using Bindings instead.  Teach
gl_nir_lower_buffers to handle those.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/gl_nir_lower_buffers.c