OSDN Git Service

nir: Convert nir_variable_mode to a bitfield
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 11 Apr 2016 20:32:59 +0000 (13:32 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Apr 2016 19:40:12 +0000 (12:40 -0700)
commitffa0e12e15bdfd0116446bfc5697e9e250770981
tree5ee88398fd741e3b525d6fd38da229a5c3aaa909
parentf69a61b1aa7f7fc8dd190cb3d5da1e7bca7de809
nir: Convert nir_variable_mode to a bitfield

There are several passes where we need to specify some set of variable
modes that the pass needs top operate on.  This lets us easily do that.

Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_validate.c