nir: add used field to nir variables
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 25 Sep 2023 00:37:05 +0000 (10:37 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 28 Sep 2023 13:55:16 +0000 (13:55 +0000)
commitf2e87c5c28677eff5795d68d1f5ab53df3b62192
tree017474f5b826b74c8801c7095462663596708052
parent0bfae246400dff316f9e0446cd45ea58ca888253
nir: add used field to nir variables

Will be use in a following path by the glsl nir based linker.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25371>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/nir.h