Skip to content

Commit

Permalink
Test push descriptors
Browse files Browse the repository at this point in the history
Added uniform and storage buffer push descriptor tests. Tests for other
descriptor types should be added later.

New tests:

dEQP-VK.pipeline.push_descriptor.*

Components: Vulkan

VK-GL-CTS issue: 1187

Change-Id: I6c8a2ae96f23cff3da1cdeed1659da61e3aa347c
  • Loading branch information
Ari Suonpaa authored and alegal-arm committed Aug 23, 2018
1 parent 9a41fa4 commit 640bea1
Show file tree
Hide file tree
Showing 8 changed files with 1,122 additions and 0 deletions.
1 change: 1 addition & 0 deletions AndroidGen.mk
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ LOCAL_SRC_FILES := \
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleTests.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleTestsUtil.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelinePushConstantTests.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelinePushDescriptorTests.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelineReferenceRenderer.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelineRenderToImageTests.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelineSamplerTests.cpp \
Expand Down
16 changes: 16 additions & 0 deletions android/cts/master/vk-master.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162067,6 +162067,22 @@ dEQP-VK.pipeline.push_constant.graphics_pipeline.overlap_3_shaders_vert_geom_fra
dEQP-VK.pipeline.push_constant.graphics_pipeline.overlap_4_shaders_vert_tess_frag
dEQP-VK.pipeline.push_constant.graphics_pipeline.overlap_5_shaders_vert_tess_geom_frag
dEQP-VK.pipeline.push_constant.compute_pipeline.simple_test
dEQP-VK.pipeline.push_descriptor.graphics.binding0_numcalls1_uniform_buffer
dEQP-VK.pipeline.push_descriptor.graphics.binding0_numcalls2_uniform_buffer
dEQP-VK.pipeline.push_descriptor.graphics.binding1_numcalls2_uniform_buffer
dEQP-VK.pipeline.push_descriptor.graphics.binding3_numcalls2_uniform_buffer
dEQP-VK.pipeline.push_descriptor.graphics.binding0_numcalls1_storage_buffer
dEQP-VK.pipeline.push_descriptor.graphics.binding0_numcalls2_storage_buffer
dEQP-VK.pipeline.push_descriptor.graphics.binding1_numcalls2_storage_buffer
dEQP-VK.pipeline.push_descriptor.graphics.binding3_numcalls2_storage_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding0_numcalls1_uniform_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding0_numcalls2_uniform_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding1_numcalls2_uniform_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding3_numcalls2_uniform_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding0_numcalls1_storage_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding0_numcalls2_storage_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding1_numcalls2_storage_buffer
dEQP-VK.pipeline.push_descriptor.compute.binding3_numcalls2_storage_buffer
dEQP-VK.pipeline.spec_constant.graphics.vertex.default_value.bool
dEQP-VK.pipeline.spec_constant.graphics.vertex.default_value.int
dEQP-VK.pipeline.spec_constant.graphics.vertex.default_value.uint
Expand Down
2 changes: 2 additions & 0 deletions external/vulkancts/modules/vulkan/pipeline/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ set(DEQP_VK_PIPELINE_SRCS
vktPipelineImageTests.hpp
vktPipelinePushConstantTests.cpp
vktPipelinePushConstantTests.hpp
vktPipelinePushDescriptorTests.cpp
vktPipelinePushDescriptorTests.hpp
vktPipelineSpecConstantTests.hpp
vktPipelineSpecConstantTests.cpp
vktPipelineSpecConstantUtil.hpp
Expand Down
Loading

0 comments on commit 640bea1

Please sign in to comment.