Merge "Revert "Revert CUBE_COMPATIBLE flag check from "Fix required sample count tests""" into vulkan-cts-1.0.0
diff --git a/external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp b/external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp
index 467b6f8..620f28a 100644
--- a/external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp
+++ b/external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp
@@ -4201,7 +4201,6 @@
 	TextureLevel	m_referenceTarget;
 };
 
-
 class RenderPassCommand
 {
 public:
@@ -4496,7 +4495,7 @@
 				vk::VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,
 				vk::VK_ACCESS_TRANSFER_READ_BIT,
 
-				vk::VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
+				vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
 				vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
 
 				vk::VK_QUEUE_FAMILY_IGNORED,
diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp
index eb58bdc..3d5d26c 100644
--- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp
+++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp
@@ -3999,6 +3999,8 @@
 		"OpExecutionMode %tessc_main OutputVertices 3\n"
 
 		"OpExecutionMode %tesse_main Triangles\n"
+		"OpExecutionMode %tesse_main SpacingEqual\n"
+		"OpExecutionMode %tesse_main VertexOrderCcw\n"
 
 		"OpExecutionMode %frag_main OriginUpperLeft\n"
 
@@ -4545,7 +4547,11 @@
 		"OpEntryPoint TessellationEvaluation %tesse1_main \"tesse1\" %stream %gl_tessCoord %in_position %out_color %in_color \n"
 		"OpEntryPoint TessellationEvaluation %tesse2_main \"tesse2\" %stream %gl_tessCoord %in_position %out_color %in_color \n"
 		"OpExecutionMode %tesse1_main Triangles\n"
+		"OpExecutionMode %tesse1_main SpacingEqual\n"
+		"OpExecutionMode %tesse1_main VertexOrderCcw\n"
 		"OpExecutionMode %tesse2_main Triangles\n"
+		"OpExecutionMode %tesse2_main SpacingEqual\n"
+		"OpExecutionMode %tesse2_main VertexOrderCcw\n"
 		"OpName %tesse1_main \"tesse1\"\n"
 		"OpName %tesse2_main \"tesse2\"\n"
 		"OpName %per_vertex_out \"gl_PerVertex\"\n"