mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
dzn: Roll up initialization failure in dzn_meta_init
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13416
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35748>
(cherry picked from commit 7f4ae75903)
This commit is contained in:
parent
a20567eead
commit
fe9d475e34
2 changed files with 3 additions and 5 deletions
|
|
@ -704,7 +704,7 @@
|
|||
"description": "dzn: Roll up initialization failure in dzn_meta_init",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -827,16 +827,14 @@ dzn_meta_init(struct dzn_device *device)
|
|||
continue;
|
||||
if (type.draw_id && pdev->options21.ExecuteIndirectTier >= D3D12_EXECUTE_INDIRECT_TIER_1_1)
|
||||
continue;
|
||||
VkResult result =
|
||||
dzn_meta_indirect_draw_init(device, type);
|
||||
result = dzn_meta_indirect_draw_init(device, type);
|
||||
if (result != VK_SUCCESS)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!pdev->options15.TriangleFanSupported) {
|
||||
for (uint32_t i = 0; i < ARRAY_SIZE(device->triangle_fan); i++) {
|
||||
VkResult result =
|
||||
dzn_meta_triangle_fan_rewrite_index_init(device, i);
|
||||
result = dzn_meta_triangle_fan_rewrite_index_init(device, i);
|
||||
if (result != VK_SUCCESS)
|
||||
goto out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue