mesa: stop assigning unused storage for non-bindless opaque types
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 15 Jun 2017 01:56:28 +0000 (11:56 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 15 Jun 2017 22:09:03 +0000 (08:09 +1000)
commitfcbb93e860246375d03f280f927f79d3645a8988
tree290bd5bf8f2063c7b15e5f9753b9815df356458d
parenta4d3371176fdf5e1d3b2b90aa5a73701ba9b83b8
mesa: stop assigning unused storage for non-bindless opaque types

The storage was once used by get_sampler_uniform_value() but that
was fixed long ago to use the uniform storage assigned by the
linker.

By not assigning storage for images/samplers the constant buffer
for gallium drivers will be reduced which could result in small
perf improvements.

V2: rebase on ARB_bindless_texture

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/program/ir_to_mesa.cpp