nir: Add a lowering pass for non-uniform resource access

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Jason Ekstrand
2019-02-27 14:36:44 -06:00
committed by Jason Ekstrand
parent 39da1deb49
commit 3bd5457641
5 changed files with 286 additions and 0 deletions

View File

@@ -716,6 +716,9 @@ enum gl_access_qualifier
ACCESS_VOLATILE = (1 << 2),
ACCESS_NON_READABLE = (1 << 3),
ACCESS_NON_WRITEABLE = (1 << 4),
/** The access may use a non-uniform buffer or image index */
ACCESS_NON_UNIFORM = (1 << 5),
};
/**