diff options
author | Paul Berry <[email protected]> | 2012-12-04 15:17:01 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-12-14 10:48:38 -0800 |
commit | 3c9c17db4a02ab5b1b2f60b9655c20319d9a9093 (patch) | |
tree | 2b94d44183eb5e5062d660f9afc04d9ea635b9ca /src/glsl/loop_analysis.cpp | |
parent | 50895d443ae7b96cb7de6b41857393d4e129d6eb (diff) |
glsl/linker: Make separate ir_variable field to mean "unmatched".
Previously, the linker used a value of -1 in ir_variable::location to
denote a generic input or output of the shader that had not yet been
matched up to a variable in another pipeline stage.
This patch introduces a new ir_variable field,
is_unmatched_generic_inout, for that purpose.
In future patches, this will allow us to separate the process of
matching varyings between shader stages from the processes of
assigning locations to those varying. That will in turn pave the way
for packing varyings.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/loop_analysis.cpp')
0 files changed, 0 insertions, 0 deletions