I forgot to ask Daniel what happens if you disable optimization for just
TGSI_PROCESSOR_FRAGMENT as this missing crumbs happens on that case...
one-liner change line 84. Does that still lockup SI card?
if (type != TGSI_PROCESSOR_COMPUTE && TGSI_PROCESSOR_FRAGMENT) {