778cdb156e
Convert various run-time conditionals into a single draw type determination, and use template specialization to generate unique optimized code paths for each. This also lets us fold the WFM needed in some cases into normal barrier flushes. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23149>