only use dead input elimination on vertex shaders
authorMalcolm Bechard <malcolm@derivative.ca>
Wed, 28 Sep 2022 04:07:01 +0000 (00:07 -0400)
committerMalcolm Bechard <malcolm@derivative.ca>
Wed, 28 Sep 2022 04:07:01 +0000 (00:07 -0400)
commitd11c3ff315d340e5c75cf00023535c397b0b6d9e
tree0de62d2e3e83663936a1fbf5e5a17f0f13348d54
parentb40f87f1d3ee11051a3ada1f874ee7473e2edf65
only use dead input elimination on vertex shaders

It can't be safely used unilaterally on other stages, since that will
result in output/input mismatches between stages. They arn't
having their output variables eliminated accordingly.
SPIRV/SpvTools.cpp