diff options
author | Gregory Hainaut <[email protected]> | 2015-10-25 15:01:34 +0100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-12-01 12:46:26 +1100 |
commit | 618612f867ed8140409796535314d9b9ed58440b (patch) | |
tree | c6e4b8c3cecad5a349218ef8632242af8a2648b1 /src/glsl/nir/nir_builder.h | |
parent | 76c09c1792ff1209bd34e1ae0e17b9c4929a892f (diff) |
glsl: add always_active_io attribute to ir_variable
The value will be set in separate-shader program when an input/output
must remains active. e.g. when deadcode removal isn't allowed because
it will create interface location/name-matching mismatch.
v3:
* Rename the attribute
* Use ir_variable directly instead of ir_variable_refcount_visitor
* Move the foreach IR code in the linker file
v4:
* Fix variable name in assert
v5 (by Timothy Arceri):
* Rename functions and reword comments
* Don't set always active on builtins
Signed-off-by: Gregory Hainaut <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_builder.h')
0 files changed, 0 insertions, 0 deletions