jay: Prohibit JAY_STRIDE_8 for EXPAND_QUAD

No idea why we're getting a stride 8 here, but we can't handle it.
Fixes baldurs_gate_3.vk.foz --graphics-pipeline-range 2248 2249.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41688>
This commit is contained in:
Kenneth Graunke 2026-05-18 19:18:22 -07:00 committed by Marge Bot
parent a9525f4b44
commit 23884ee02c

View file

@ -115,6 +115,10 @@ jay_dst_stride_minmax(jay_inst *I, bool do_max)
min = MAX2(min, jay_min_stride_for_type(jay_src_type(I, 0)));
}
if (I->op == JAY_OPCODE_EXPAND_QUAD) {
return JAY_STRIDE_4;
}
/* V/UV types are restricted */
if (I->op == JAY_OPCODE_SHR_ODD_SUBSPANS_BY_4) {
return JAY_STRIDE_2;