zink. Changed sampler default name.
authorDuncan Hopkins <duncan@thefoundry.co.uk>
Wed, 25 Sep 2019 10:52:37 +0000 (11:52 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 12:24:28 +0000 (12:24 +0000)
commitcc472a2a7c6c99eb228ef138acadc16337a48ede
tree1548472c3ac8a51d6f191a0a2be27ac7d3faa796
parentb1f023307768570a621c3050222bd32c546d72a9
zink. Changed sampler default name.

Changed the sampler variable name from 'sampler' to 'sampler_<num>' to stop symbol classes in the Metal MSL shaders, as 'sampler' is a keyword.
Improves human readability when debugging issues.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4211>
src/mesa/program/prog_to_nir.c