0278462575
When no attachment allows conditional load/store, skip the unnecessary CP_REG_TEST. This is done to avoid a performance trap on a618 (gen1). CP_REG_TEST or any command that reads a register is slow on a618. glmark2 score goes from 830 to 1001. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8162 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21206>