lavapipe: enable KHR_memory_model support
lavapipe's memory is always coherent, so this is already supported Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15377>
This commit is contained in:
parent
13d900de0d
commit
40fcd8ef83
|
@ -13,6 +13,8 @@ dEQP-VK.renderpass.suballocation.formats.r32g32b32a32_sint.input.load.store.self
|
||||||
dEQP-VK.renderpass2.dedicated_allocation.formats.a8b8g8r8_sint_pack32.input.clear.store.draw,Fail
|
dEQP-VK.renderpass2.dedicated_allocation.formats.a8b8g8r8_sint_pack32.input.clear.store.draw,Fail
|
||||||
dEQP-VK.renderpass2.suballocation.formats.r16g16b16a16_unorm.input.dont_care.dont_care.draw,Fail
|
dEQP-VK.renderpass2.suballocation.formats.r16g16b16a16_unorm.input.dont_care.dont_care.draw,Fail
|
||||||
dEQP-VK.renderpass2.suballocation.formats.r8g8b8a8_sint.input.load.dont_care.clear_draw,Fail
|
dEQP-VK.renderpass2.suballocation.formats.r8g8b8a8_sint.input.load.dont_care.clear_draw,Fail
|
||||||
|
dEQP-VK.memory_model.message_passing.ext.u32.noncoherent.atomic_atomic.atomicwrite.device.payload_local.image.guard_local.image.vert,Fail
|
||||||
|
dEQP-VK.memory_model.write_after_read.ext.u32.noncoherent.fence_fence.atomicwrite.device.payload_local.buffer.guard_local.image.vert,Fail
|
||||||
|
|
||||||
# Direct leak of 24 byte(s) in 1 object(s) allocated from:
|
# Direct leak of 24 byte(s) in 1 object(s) allocated from:
|
||||||
# #0 0x7f29a36d1e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
|
# #0 0x7f29a36d1e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
|
||||||
|
|
|
@ -129,6 +129,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
|
||||||
.KHR_timeline_semaphore = true,
|
.KHR_timeline_semaphore = true,
|
||||||
.KHR_uniform_buffer_standard_layout = true,
|
.KHR_uniform_buffer_standard_layout = true,
|
||||||
.KHR_variable_pointers = true,
|
.KHR_variable_pointers = true,
|
||||||
|
.KHR_vulkan_memory_model = true,
|
||||||
.EXT_4444_formats = true,
|
.EXT_4444_formats = true,
|
||||||
.EXT_calibrated_timestamps = true,
|
.EXT_calibrated_timestamps = true,
|
||||||
.EXT_color_write_enable = true,
|
.EXT_color_write_enable = true,
|
||||||
|
@ -651,9 +652,9 @@ lvp_get_physical_device_features_1_2(struct lvp_physical_device *pdevice,
|
||||||
f->bufferDeviceAddress = true;
|
f->bufferDeviceAddress = true;
|
||||||
f->bufferDeviceAddressCaptureReplay = false;
|
f->bufferDeviceAddressCaptureReplay = false;
|
||||||
f->bufferDeviceAddressMultiDevice = false;
|
f->bufferDeviceAddressMultiDevice = false;
|
||||||
f->vulkanMemoryModel = false;
|
f->vulkanMemoryModel = true;
|
||||||
f->vulkanMemoryModelDeviceScope = false;
|
f->vulkanMemoryModelDeviceScope = true;
|
||||||
f->vulkanMemoryModelAvailabilityVisibilityChains = false;
|
f->vulkanMemoryModelAvailabilityVisibilityChains = true;
|
||||||
f->shaderOutputViewportIndex = true;
|
f->shaderOutputViewportIndex = true;
|
||||||
f->shaderOutputLayer = true;
|
f->shaderOutputLayer = true;
|
||||||
f->subgroupBroadcastDynamicId = true;
|
f->subgroupBroadcastDynamicId = true;
|
||||||
|
|
|
@ -638,6 +638,8 @@ lvp_shader_compile_to_ir(struct lvp_pipeline *pipeline,
|
||||||
.subgroup_ballot = true,
|
.subgroup_ballot = true,
|
||||||
.subgroup_quad = true,
|
.subgroup_quad = true,
|
||||||
.subgroup_vote = true,
|
.subgroup_vote = true,
|
||||||
|
.vk_memory_model = true,
|
||||||
|
.vk_memory_model_device_scope = true,
|
||||||
.int8 = true,
|
.int8 = true,
|
||||||
.float16 = true,
|
.float16 = true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue