OSDN Git Service

nir/lower_io: Add a assign_locations function that sorts by [in]direct use
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Mar 2015 22:05:28 +0000 (15:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 19 Mar 2015 20:18:39 +0000 (13:18 -0700)
commit8a33f95b7a1128b5e46bd30306961bac72f5f12e
treeb7ce2057a75ad7c6798d20436babe8164af7366b
parent25db44a84597960a6aea6b252bcf2c3d7e17fc74
nir/lower_io: Add a assign_locations function that sorts by [in]direct use

v2: Delete the set of indirectly accessed variables when we're done with it
v3: Rename from _packed to _scalar

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_io.c