Hi, here's a v2 of the series. It fixes the case where location aliasing is induced via ARB_enhanced_layouts. It also changes radeonsi to no longer write unused components to the GSVS ring, which actually fixes another bug (piglit glsl-1.50-gs-max-output-components). The overall approach remains the same. Please review!
Thanks! Nicolai -- src/compiler/glsl/ir.h | 3 + src/compiler/glsl/ir_print_visitor.cpp | 14 +- src/compiler/glsl/lower_packed_varyings.cpp | 9 + src/gallium/auxiliary/tgsi/tgsi_build.c | 18 +- src/gallium/auxiliary/tgsi/tgsi_dump.c | 13 + src/gallium/auxiliary/tgsi/tgsi_scan.c | 18 + src/gallium/auxiliary/tgsi/tgsi_scan.h | 3 + src/gallium/auxiliary/tgsi/tgsi_text.c | 48 +++ src/gallium/auxiliary/tgsi/tgsi_ureg.c | 21 +- src/gallium/auxiliary/tgsi/tgsi_ureg.h | 1 + src/gallium/drivers/radeonsi/si_pipe.h | 1 - src/gallium/drivers/radeonsi/si_shader.c | 372 ++++++++++++----- src/gallium/drivers/radeonsi/si_state.h | 6 +- .../drivers/radeonsi/si_state_shaders.c | 77 ++-- src/gallium/include/pipe/p_shader_tokens.h | 5 +- src/gallium/include/pipe/p_state.h | 21 +- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 10 + 17 files changed, 463 insertions(+), 177 deletions(-) _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
