mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d/resource: Write null descriptors with their correct type when using mutable descriptor types.
This fixes crashes in test_null_srv() and test_null_uav() with llvmpipe and NVIDIA GPUs.
This commit is contained in:
committed by
Henri Verbeet
parent
fb91bd7b8b
commit
1a5a2969be
Notes:
Henri Verbeet
2025-07-14 18:54:27 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1616
@@ -19875,15 +19875,6 @@ static void test_null_srv(void)
|
||||
queue = context.queue;
|
||||
device = context.device;
|
||||
|
||||
if (is_llvmpipe_device_gte(device, 23, 2, 1))
|
||||
{
|
||||
/* llvmpipe crashes when mutable descriptors are used. I don't
|
||||
* know yet whether this is a bug in vkd3d or Mesa. */
|
||||
skip("Test crashes on llvmpipe, skipping.\n");
|
||||
destroy_test_context(&context);
|
||||
return;
|
||||
}
|
||||
|
||||
context.root_signature = create_texture_root_signature(context.device,
|
||||
D3D12_SHADER_VISIBILITY_PIXEL, 4, 0);
|
||||
|
||||
@@ -20099,15 +20090,6 @@ static void test_null_uav(void)
|
||||
command_list = context.list;
|
||||
queue = context.queue;
|
||||
|
||||
if (is_llvmpipe_device_gte(device, 23, 2, 1))
|
||||
{
|
||||
/* llvmpipe crashes when mutable descriptors are used. I don't
|
||||
* know yet whether this is a bug in vkd3d or Mesa. */
|
||||
skip("Test crashes on llvmpipe, skipping.\n");
|
||||
destroy_test_context(&context);
|
||||
return;
|
||||
}
|
||||
|
||||
descriptor_ranges[0].RangeType = D3D12_DESCRIPTOR_RANGE_TYPE_UAV;
|
||||
descriptor_ranges[0].NumDescriptors = 1;
|
||||
descriptor_ranges[0].BaseShaderRegister = 1;
|
||||
|
Reference in New Issue
Block a user