diff options
author | Kenneth Graunke <[email protected]> | 2019-02-06 16:45:25 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-14 11:03:56 -0800 |
commit | 6775665e5eec7db3f291508a8b7ba2a792f62ec0 (patch) | |
tree | 9a37e26e835d81031d5ae95de1ecc060084f385b /src/compiler/Makefile.spirv.am | |
parent | 39aee57523a02552e7eae7df5da488e535aeb1eb (diff) |
spirv: Eliminate dead input/output variables after translation.
spirv_to_nir can generate input/output variables which are illegal
for the current shader stage, which would cause nir_validate_shader
to balk. After my recent commit to start decorating arrays as compact,
dEQP-VK.spirv_assembly.instruction.graphics.module.same_module started
hitting validation errors due to outputs in a TCS (not intended for the
TCS at all) not being per-vertex arrays.
Thanks to Jason Ekstrand for suggesting this approach.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109573
Fixes: ef99f4c8d17 compiler: Mark clip/cull distance arrays as compact before lowering.
Reviewed-by: Juan A. Suarez <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.spirv.am')
0 files changed, 0 insertions, 0 deletions