mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-02-19 16:54:18 +01:00
trying to get all CTS running
This commit is contained in:
parent
93fee845bd
commit
8ed881450a
@ -49,7 +49,8 @@ VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE
|
||||
#define ALLOCATE(size, alignment, scope) (pAllocator == 0) ? malloc(size) : pAllocator->pfnAllocation(pAllocator->pUserData, size, alignment, scope)
|
||||
#define FREE(memory) (pAllocator == 0) ? free(memory) : pAllocator->pfnFree(pAllocator->pUserData, memory)
|
||||
|
||||
#define UNSUPPORTED(str) fprintf(stderr, "Unsupported: %s\n", str); exit(-1)
|
||||
#define UNSUPPORTED(str) fprintf(stderr, "Unsupported: %s\n", str); //exit(-1)
|
||||
#define UNSUPPORTED_RETURN VK_SUCCESS
|
||||
|
||||
typedef struct VkDevice_T _device;
|
||||
|
||||
|
@ -12,7 +12,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkCreateComputePipelines(
|
||||
VkPipeline* pPipelines)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkCreateComputePipelines);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdDispatchIndirect(
|
||||
|
@ -406,7 +406,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkMergePipelineCaches(
|
||||
const VkPipelineCache* pSrcCaches)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkMergePipelineCaches);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL rpi_vkGetPipelineCacheData(
|
||||
@ -416,7 +416,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkGetPipelineCacheData(
|
||||
void* pData)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkGetPipelineCacheData);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL rpi_vkDestroyPipelineCache(
|
||||
@ -491,5 +491,5 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkCreatePipelineCache(
|
||||
VkPipelineCache* pPipelineCache)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkCreatePipelineCache);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
VkResult rpi_vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkCreateShaderModule);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
void rpi_vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator)
|
||||
|
@ -29,7 +29,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkQueueBindSparse(
|
||||
VkFence fence)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkQueueBindSparse);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL rpi_vkGetPhysicalDeviceSparseImageFormatProperties2(
|
||||
|
@ -444,7 +444,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkGetEventStatus(
|
||||
VkEvent event)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkGetEventStatus);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL rpi_vkDestroyEvent(
|
||||
@ -470,7 +470,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkCreateEvent(
|
||||
VkEvent* pEvent)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkCreateEvent);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL rpi_vkResetEvent(
|
||||
@ -478,7 +478,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkResetEvent(
|
||||
VkEvent event)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkResetEvent);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL rpi_vkSetEvent(
|
||||
@ -486,7 +486,7 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkSetEvent(
|
||||
VkEvent event)
|
||||
{
|
||||
UNSUPPORTED(rpi_vkSetEvent);
|
||||
return VK_SUCCESS;
|
||||
return UNSUPPORTED_RETURN;
|
||||
}
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdSetEvent(
|
||||
|
151
excluded-tests.txt
Normal file
151
excluded-tests.txt
Normal file
@ -0,0 +1,151 @@
|
||||
# Excluded texture function tests according to the Android GLES3 issue list
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.samplercubeshadow_fragment
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.samplercubeshadow_vertex
|
||||
|
||||
# Excluded sparse version of the above texture function tests
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.sparse_samplercubeshadow_fragment
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.sparse_samplercubeshadow_vertex
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.sparse_isamplercube_fragment
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.sparse_isamplercube_vertex
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.sparse_usamplercube_fragment
|
||||
dEQP-VK.glsl.texture_functions.texturegrad.sparse_isampler3d_vertex
|
||||
|
||||
# Issue 420: Exclude problematic clipping tests
|
||||
dEQP-VK.clipping.clip_volume.clipped.large_points
|
||||
dEQP-VK.clipping.clip_volume.clipped.wide_lines_axis_aligned
|
||||
dEQP-VK.clipping.clip_volume.clipped.wide_lines_diagonal
|
||||
|
||||
# Issue 419: Failing sparse tests (Image mismatch)
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_isampler2d_bias_fragment
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_usampler2d_bias_fragment
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_isamplercube_bias_fragment
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_usamplercube_bias_fragment
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_isampler2darray_bias_fragment
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_usampler2darray_bias_fragment
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_isampler3d_bias_fragment
|
||||
dEQP-VK.glsl.texture_functions.texture.sparse_usampler3d_bias_fragment
|
||||
|
||||
# Excluded Amber example tests
|
||||
dEQP-VK.amber-example.*
|
||||
|
||||
#VK-GL-CTS 1274
|
||||
dEQP-VK.rasterization.interpolation.basic.lines_wide
|
||||
dEQP-VK.rasterization.interpolation.projected.line_strip_wide
|
||||
dEQP-VK.rasterization.flatshading.lines_wide
|
||||
|
||||
dEQP-VK.pipeline.multisample.*.primitive_point_1px
|
||||
dEQP-VK.pipeline.multisample.*.primitive_point_1px_sparse
|
||||
|
||||
# VK-GL-CTS 1829
|
||||
# Test shader length is excessive, excluding until such time as the test case can be re-visited.
|
||||
dEQP-VK.ssbo.layout.random.scalar.75
|
||||
|
||||
|
||||
|
||||
#TODO
|
||||
dEQP-VK.api.smoke.create_shader
|
||||
dEQP-VK.api.smoke.triangle
|
||||
dEQP-VK.api.smoke.triangle_ext_structs
|
||||
dEQP-VK.api.smoke.asm_triangle
|
||||
dEQP-VK.api.smoke.asm_triangle_no_opname
|
||||
dEQP-VK.api.smoke.unused_resolve_attachment
|
||||
dEQP-VK.api.object_management.single.event
|
||||
dEQP-VK.api.object_management.single.shader_module
|
||||
dEQP-VK.api.object_management.single.pipeline_cache
|
||||
dEQP-VK.api.object_management.single.graphics_pipeline
|
||||
dEQP-VK.api.object_management.single.compute_pipeline
|
||||
dEQP-VK.api.object_management.multiple_unique_resources.event
|
||||
dEQP-VK.api.object_management.multiple_unique_resources.shader_module
|
||||
dEQP-VK.api.object_management.multiple_unique_resources.pipeline_cache
|
||||
dEQP-VK.api.object_management.multiple_unique_resources.graphics_pipeline
|
||||
dEQP-VK.api.object_management.multiple_unique_resources.compute_pipeline
|
||||
dEQP-VK.api.object_management.multiple_shared_resources.event
|
||||
dEQP-VK.api.object_management.multiple_shared_resources.shader_module
|
||||
dEQP-VK.api.object_management.multiple_shared_resources.pipeline_cache
|
||||
dEQP-VK.api.object_management.multiple_shared_resources.graphics_pipeline
|
||||
dEQP-VK.api.object_management.multiple_shared_resources.compute_pipeline
|
||||
#segfault
|
||||
dEQP-VK.api.object_management.multiple_shared_resources.descriptor_set
|
||||
#
|
||||
dEQP-VK.api.object_management.max_concurrent.event
|
||||
dEQP-VK.api.object_management.max_concurrent.shader_module
|
||||
dEQP-VK.api.object_management.max_concurrent.pipeline_cache
|
||||
dEQP-VK.api.object_management.max_concurrent.graphics_pipeline
|
||||
dEQP-VK.api.object_management.max_concurrent.compute_pipeline
|
||||
dEQP-VK.api.object_management.max_concurrent.render_pass
|
||||
dEQP-VK.api.object_management.max_concurrent.descriptor_set_layout_empty
|
||||
#segfault
|
||||
dEQP-VK.api.object_management.max_concurrent.descriptor_set
|
||||
#
|
||||
dEQP-VK.api.object_management.max_concurrent.framebuffer
|
||||
#segfault
|
||||
dEQP-VK.api.object_management.max_concurrent.command_buffer_primary
|
||||
dEQP-VK.api.object_management.max_concurrent.command_buffer_secondary
|
||||
#
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_device.event
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_device.shader_module
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_device.pipeline_cache
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_device.graphics_pipeline
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_device.compute_pipeline
|
||||
#segfault
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_device.descriptor_set
|
||||
#
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_resources.event
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_resources.shader_module
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_resources.pipeline_cache
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_resources.graphics_pipeline
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_resources.compute_pipeline
|
||||
#segfault
|
||||
dEQP-VK.api.object_management.multithreaded_per_thread_resources.descriptor_set
|
||||
#
|
||||
dEQP-VK.api.object_management.multithreaded_shared_resources.event
|
||||
dEQP-VK.api.object_management.multithreaded_shared_resources.shader_module
|
||||
dEQP-VK.api.object_management.multithreaded_shared_resources.pipeline_cache
|
||||
dEQP-VK.api.object_management.multithreaded_shared_resources.graphics_pipeline
|
||||
dEQP-VK.api.object_management.multithreaded_shared_resources.compute_pipeline
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.event
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.shader_module
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.pipeline_cache
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.graphics_pipeline
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.compute_pipeline
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.render_pass
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.descriptor_set_layout_empty
|
||||
dEQP-VK.api.object_management.single_alloc_callbacks.framebuffer
|
||||
dEQP-VK.api.object_management.alloc_callback_fail.graphics_pipeline
|
||||
dEQP-VK.api.object_management.alloc_callback_fail.compute_pipeline
|
||||
dEQP-VK.api.object_management.alloc_callback_fail.framebuffer
|
||||
dEQP-VK.api.object_management.alloc_callback_fail_multiple.graphics_pipeline
|
||||
dEQP-VK.api.object_management.alloc_callback_fail_multiple.compute_pipeline
|
||||
#segfault
|
||||
dEQP-VK.api.object_management.alloc_callback_fail_multiple.descriptor_set
|
||||
#
|
||||
dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_complete
|
||||
dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_partial_offset0
|
||||
dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_partial_offset1
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_complete_with_buffer_suballocated_image_dedicated_alloc
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset0_with_buffer_suballocated_image_dedicated_alloc
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset1_with_buffer_suballocated_image_dedicated_alloc
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_complete_with_buffer_dedicated_alloc_image_suballocated
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset0_with_buffer_dedicated_alloc_image_suballocated
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset1_with_buffer_dedicated_alloc_image_suballocated
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_complete_with_buffer_dedicated_alloc_image_dedicated_alloc
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset0_with_buffer_dedicated_alloc_image_dedicated_alloc
|
||||
dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset1_with_buffer_dedicated_alloc_image_dedicated_alloc
|
||||
dEQP-VK.api.command_buffers.pool_reset_reuse
|
||||
dEQP-VK.api.command_buffers.allocate_many_primary
|
||||
dEQP-VK.api.command_buffers.allocate_many_secondary
|
||||
dEQP-VK.api.command_buffers.execute_small_primary
|
||||
dEQP-VK.api.command_buffers.execute_large_primary
|
||||
dEQP-VK.api.command_buffers.reset_implicit
|
||||
dEQP-VK.api.command_buffers.trim_command_pool
|
||||
dEQP-VK.api.command_buffers.trim_command_pool_secondary
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user