mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 01:58:16 +02:00
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:
parent
a9525f4b44
commit
23884ee02c
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue