summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/cts/master/src/vk-master-2019-03-01.txt32
-rw-r--r--android/cts/master/vk-master-2019-03-01.txt32
-rw-r--r--android/cts/master/vk-master.txt32
-rw-r--r--external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp2
-rw-r--r--external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemStorageBufferTests.cpp22
-rw-r--r--external/vulkancts/mustpass/master/vk-default.txt32
-rw-r--r--scripts/android/build_apk.py2
7 files changed, 78 insertions, 76 deletions
diff --git a/android/cts/master/src/vk-master-2019-03-01.txt b/android/cts/master/src/vk-master-2019-03-01.txt
index 37ecb4211..64af791f5 100644
--- a/android/cts/master/src/vk-master-2019-03-01.txt
+++ b/android/cts/master/src/vk-master-2019-03-01.txt
@@ -359242,14 +359242,14 @@ dEQP-VK.multiview.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.index.tesellation_shader.15
-dEQP-VK.multiview.index.tesellation_shader.8
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.index.tessellation_shader.15
+dEQP-VK.multiview.index.tessellation_shader.8
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.multiview.renderpass2.masks.15
dEQP-VK.multiview.renderpass2.masks.8
dEQP-VK.multiview.renderpass2.masks.1_2_4_8
@@ -359404,14 +359404,14 @@ dEQP-VK.multiview.renderpass2.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.renderpass2.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.renderpass2.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.renderpass2.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.subgroups.builtin_var.graphics.subgroupsize
dEQP-VK.subgroups.builtin_var.graphics.subgroupinvocationid
dEQP-VK.subgroups.builtin_var.compute.subgroupsize_compute
diff --git a/android/cts/master/vk-master-2019-03-01.txt b/android/cts/master/vk-master-2019-03-01.txt
index cc9c964cb..44b4807bd 100644
--- a/android/cts/master/vk-master-2019-03-01.txt
+++ b/android/cts/master/vk-master-2019-03-01.txt
@@ -359242,14 +359242,14 @@ dEQP-VK.multiview.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.index.tesellation_shader.15
-dEQP-VK.multiview.index.tesellation_shader.8
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.index.tessellation_shader.15
+dEQP-VK.multiview.index.tessellation_shader.8
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.multiview.renderpass2.masks.15
dEQP-VK.multiview.renderpass2.masks.8
dEQP-VK.multiview.renderpass2.masks.1_2_4_8
@@ -359404,14 +359404,14 @@ dEQP-VK.multiview.renderpass2.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.renderpass2.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.renderpass2.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.renderpass2.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.subgroups.builtin_var.graphics.subgroupsize
dEQP-VK.subgroups.builtin_var.graphics.subgroupinvocationid
dEQP-VK.subgroups.builtin_var.compute.subgroupsize_compute
diff --git a/android/cts/master/vk-master.txt b/android/cts/master/vk-master.txt
index 9582cb681..cb5147357 100644
--- a/android/cts/master/vk-master.txt
+++ b/android/cts/master/vk-master.txt
@@ -734467,14 +734467,14 @@ dEQP-VK.multiview.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.index.tesellation_shader.15
-dEQP-VK.multiview.index.tesellation_shader.8
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.index.tessellation_shader.15
+dEQP-VK.multiview.index.tessellation_shader.8
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.multiview.renderpass2.masks.15
dEQP-VK.multiview.renderpass2.masks.8
dEQP-VK.multiview.renderpass2.masks.1_2_4_8
@@ -734637,14 +734637,14 @@ dEQP-VK.multiview.renderpass2.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.renderpass2.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.renderpass2.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.renderpass2.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.subgroups.builtin_var.graphics.subgroupsize
dEQP-VK.subgroups.builtin_var.graphics.subgroupinvocationid
dEQP-VK.subgroups.builtin_var.compute.subgroupsize_compute
diff --git a/external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp b/external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp
index e2e1067ec..01d3e1ff0 100644
--- a/external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp
+++ b/external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp
@@ -3621,7 +3621,7 @@ void multiViewRenderCreateTests (tcu::TestCaseGroup* group)
"vertex_shader",
"fragment_shader",
"geometry_shader",
- "tesellation_shader",
+ "tessellation_shader",
"input_attachments",
"input_attachments_geometry",
"instanced",
diff --git a/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemStorageBufferTests.cpp b/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemStorageBufferTests.cpp
index 6f8113f44..8b02f4609 100644
--- a/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemStorageBufferTests.cpp
+++ b/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemStorageBufferTests.cpp
@@ -117,24 +117,25 @@ void static addBufferCopyCmd (const vk::DeviceInterface& vk,
deUint32 queueFamilyIndex,
vk::VkBuffer srcBuffer,
vk::VkBuffer dstBuffer,
- deUint32 copySize)
+ deUint32 copySize,
+ bool dstFragment)
{
const vk::VkBufferMemoryBarrier dstWriteStartBarrier =
{
vk::VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER, // VkStructureType sType
DE_NULL, // const void* pNext
- 0, // VkAccessFlags srcAccessMask
+ vk::VK_ACCESS_HOST_WRITE_BIT, // VkAccessFlags srcAccessMask
vk::VK_ACCESS_SHADER_WRITE_BIT, // VkAccessFlags dstAccessMask
queueFamilyIndex, // uint32_t srcQueueFamilyIndex
queueFamilyIndex, // uint32_t dstQueueFamilyIndex
- dstBuffer, // VkBuffer buffer
+ srcBuffer, // VkBuffer buffer
0u, // VkDeviceSize offset
VK_WHOLE_SIZE, // VkDeviceSize size
};
vk.cmdPipelineBarrier(cmdBuffer,
- vk::VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, // srcStageMask
- vk::VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, // dstStageMask
+ vk::VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, // srcStageMask
+ vk::VK_PIPELINE_STAGE_TRANSFER_BIT, // dstStageMask
(vk::VkDependencyFlags)0,
0, (const vk::VkMemoryBarrier*)DE_NULL,
1, &dstWriteStartBarrier,
@@ -160,9 +161,11 @@ void static addBufferCopyCmd (const vk::DeviceInterface& vk,
0u, // VkDeviceSize offset
VK_WHOLE_SIZE, // VkDeviceSize size
};
+
vk.cmdPipelineBarrier(cmdBuffer,
- vk::VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, // srcStageMask
- vk::VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, // dstStageMask
+ vk::VK_PIPELINE_STAGE_TRANSFER_BIT, // srcStageMask
+ dstFragment ? vk::VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT :
+ vk::VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, // dstStageMask
(vk::VkDependencyFlags)0,
0, (const vk::VkMemoryBarrier*)DE_NULL,
1, &dstWriteEndBarrier,
@@ -452,7 +455,7 @@ tcu::TestStatus StorageBufferTestInstance<T>::executeFragmentTest(void)
if (m_testType == SSBO_READ || m_testType == SSBO_ATOMIC)
{
vk::VkBuffer targetBuffer = (m_testType == SSBO_ATOMIC) ? **testBuffer : **testBufferSource;
- addBufferCopyCmd(vk, *cmdBuffer, queueFamilyIndex, **testUniform, targetBuffer, testUniformSize);
+ addBufferCopyCmd(vk, *cmdBuffer, queueFamilyIndex, **testUniform, targetBuffer, testUniformSize, true);
}
// Start image barrier
@@ -612,7 +615,6 @@ tcu::TestStatus StorageBufferTestInstance<T>::executeComputeTest(void)
.update(vk, device);
}
-
// Build and execute test
{
const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device));
@@ -627,7 +629,7 @@ tcu::TestStatus StorageBufferTestInstance<T>::executeComputeTest(void)
if (m_testType == SSBO_READ || m_testType == SSBO_ATOMIC)
{
vk::VkBuffer targetBuffer = (m_testType == SSBO_ATOMIC) ? **testBuffer : **testBufferSource;
- addBufferCopyCmd(vk, *cmdBuffer, queueFamilyIndex, **testUniform, targetBuffer, testUniformSize);
+ addBufferCopyCmd(vk, *cmdBuffer, queueFamilyIndex, **testUniform, targetBuffer, testUniformSize, false);
}
vk.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_COMPUTE, *SSBOPipeline);
diff --git a/external/vulkancts/mustpass/master/vk-default.txt b/external/vulkancts/mustpass/master/vk-default.txt
index 124fed0fc..bcb1ee71c 100644
--- a/external/vulkancts/mustpass/master/vk-default.txt
+++ b/external/vulkancts/mustpass/master/vk-default.txt
@@ -736801,14 +736801,14 @@ dEQP-VK.multiview.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.index.tesellation_shader.15
-dEQP-VK.multiview.index.tesellation_shader.8
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.index.tessellation_shader.15
+dEQP-VK.multiview.index.tessellation_shader.8
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.multiview.renderpass2.masks.15
dEQP-VK.multiview.renderpass2.masks.8
dEQP-VK.multiview.renderpass2.masks.1_2_4_8
@@ -736971,14 +736971,14 @@ dEQP-VK.multiview.renderpass2.index.geometry_shader.8_1_1_8
dEQP-VK.multiview.renderpass2.index.geometry_shader.5_10_5_10
dEQP-VK.multiview.renderpass2.index.geometry_shader.1_2_4_8_16_32
dEQP-VK.multiview.renderpass2.index.geometry_shader.max_multi_view_view_count
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.15_15_15_15
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.8_1_1_8
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.5_10_5_10
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.1_2_4_8_16_32
-dEQP-VK.multiview.renderpass2.index.tesellation_shader.max_multi_view_view_count
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.15_15_15_15
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.8_1_1_8
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.5_10_5_10
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.1_2_4_8_16_32
+dEQP-VK.multiview.renderpass2.index.tessellation_shader.max_multi_view_view_count
dEQP-VK.subgroups.builtin_var.graphics.subgroupsize
dEQP-VK.subgroups.builtin_var.graphics.subgroupinvocationid
dEQP-VK.subgroups.builtin_var.compute.subgroupsize_compute
diff --git a/scripts/android/build_apk.py b/scripts/android/build_apk.py
index 1c9cec9ab..e17036493 100644
--- a/scripts/android/build_apk.py
+++ b/scripts/android/build_apk.py
@@ -206,7 +206,7 @@ class Configuration:
androidBuildTools = ["aapt", "zipalign", "dx"]
for tool in androidBuildTools:
if which(tool, [self.env.sdk.getBuildToolsPath()]) == None:
- raise Exception("Missing Android build tool: %s" % toolPath)
+ raise Exception("Missing Android build tool: %s" % tool)
requiredToolsInPath = ["javac", "jar", "jarsigner", "keytool"]
for tool in requiredToolsInPath: