nir: add a new access flag to allow access in helper invocations

v2: Add nir_print support

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13718>
This commit is contained in:
Lionel Landwerlin
2021-10-29 18:04:55 +03:00
committed by Marge Bot
parent 54489b3c09
commit 0800ec2c77
3 changed files with 8 additions and 3 deletions

View File

@@ -903,6 +903,9 @@ enum gl_access_qualifier
/** Use as little cache space as possible. */
ACCESS_STREAM_CACHE_POLICY = (1 << 7),
/** Execute instruction also in helpers. */
ACCESS_INCLUDE_HELPERS = (1 << 8),
};
/**