diff options
author | Neil Roberts <[email protected]> | 2018-02-23 16:06:30 +0100 |
---|---|---|
committer | Alejandro PiƱeiro <[email protected]> | 2018-06-21 14:25:05 +0200 |
commit | 652be1563fa6a042d70336431331c75f0f492341 (patch) | |
tree | 8b42a0bf3832412075546e23d511b71dc7f38d51 /src/compiler/nir/nir.h | |
parent | 8d1ec2ed5a24ed6b29fbffd8fc316e9b5579ea49 (diff) |
nir: Add explicit_binding to nir_variable
This is copied from the corresponding value in ir_variable. The
intention is to eventually use it in a pure-NIR linker.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 66764eeaf29..7e9f3968f63 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -253,6 +253,11 @@ typedef struct nir_variable { unsigned bindless:1; /** + * Was an explicit binding set in the shader? + */ + unsigned explicit_binding:1; + + /** * \brief Layout qualifier for gl_FragDepth. * * This is not equal to \c ir_depth_layout_none if and only if this |