mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 03:28:09 +02:00
mme/fermi: Don't try to access zero-size std::vector
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25167>
This commit is contained in:
parent
884c7bccc1
commit
033cafc9fe
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ mme_fermi_sim_test::test_macro(const mme_builder *b,
|
|||
.size = DATA_BO_SIZE,
|
||||
};
|
||||
mme_fermi_sim(insts.size(), &insts[0],
|
||||
params.size(), ¶ms[0],
|
||||
params.size(), params.size() ? ¶ms[0] : NULL,
|
||||
1, &sim_mem);
|
||||
|
||||
run_macro(macro, params);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue