diff options
author | Eric Anholt <[email protected]> | 2018-09-26 09:13:13 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-10-15 17:16:44 -0700 |
commit | 7d77fe1bcc8e84a30ddc5d4bc6b0c571dfd64b22 (patch) | |
tree | a3f71e28e5191ffd8faf9b48563f12a0113c928a /appveyor.yml | |
parent | b788ab6d5c8e87743c345ee8c6131db628b87a8e (diff) |
nir: Expose nir_remove_unused_io_vars().
For gallium drivers where you want to do some linking at variant compile
time, you don't have the other producer/consumer shader on hand to modify.
By exposing the inner function, the driver can have the used varyings in
the compiled shader cache key and still do linking.
This is also useful for V3D, where the binning shader wants to only output
position and TF varyings. We've been removing those after nir_lower_io,
but this will be less driver-specific code and let more of the shader get
DCEed early in NIR.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions