mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
nouveau/mme: Don't dereference an empty vector
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30033>
This commit is contained in:
parent
60c3c272ec
commit
7173ae1130
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ mme_tu104_sim_test::test_macro(const mme_builder *b,
|
|||
.size = DATA_BO_SIZE,
|
||||
};
|
||||
mme_tu104_sim(insts.size(), &insts[0],
|
||||
params.size(), ¶ms[0],
|
||||
params.size(), params.size() ? ¶ms[0] : NULL,
|
||||
1, &sim_mem);
|
||||
|
||||
/* Now run the macro on the GPU */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue