Skip to content

Commit

Permalink
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Browse files Browse the repository at this point in the history
Change-Id: If13d31edfaa41aab48bbca57024722276b86a511
  • Loading branch information
alegal-arm committed Sep 6, 2018
2 parents 2d586ea + 05c7431 commit 4fee4be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions android/cts/master/vk-master.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302781,9 +302781,11 @@ dEQP-VK.tessellation.primitive_discard.triangles_equal_spacing_ccw
dEQP-VK.tessellation.primitive_discard.triangles_equal_spacing_ccw_point_mode
dEQP-VK.tessellation.primitive_discard.triangles_equal_spacing_cw
dEQP-VK.tessellation.primitive_discard.triangles_equal_spacing_cw_point_mode
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_ccw_valid_levels
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_ccw
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_ccw_point_mode_valid_levels
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_ccw_point_mode
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_cw_valid_levels
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_cw
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_cw_point_mode_valid_levels
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_cw_point_mode
Expand All @@ -302795,9 +302797,11 @@ dEQP-VK.tessellation.primitive_discard.quads_equal_spacing_ccw
dEQP-VK.tessellation.primitive_discard.quads_equal_spacing_ccw_point_mode
dEQP-VK.tessellation.primitive_discard.quads_equal_spacing_cw
dEQP-VK.tessellation.primitive_discard.quads_equal_spacing_cw_point_mode
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_ccw_valid_levels
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_ccw
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_ccw_point_mode_valid_levels
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_ccw_point_mode
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_cw_valid_levels
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_cw
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_cw_point_mode_valid_levels
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_cw_point_mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ RandomAllocFreeTestInstance::RandomAllocFreeTestInstance (Context& context, Test
{
m_heaps[heapNdx].heap = m_memoryProperties.memoryHeaps[heapNdx];
m_heaps[heapNdx].memoryUsage = 0;
m_heaps[heapNdx].maxMemoryUsage = m_heaps[heapNdx].heap.size / 2; /* Use at maximum 50% of heap */
m_heaps[heapNdx].maxMemoryUsage = m_heaps[heapNdx].heap.size / 8; /* Use at maximum 12.5% of heap */

m_heaps[heapNdx].objects.reserve(100);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@ struct CaseDefinition
bool lessThanOneInnerLevelsDefined (const CaseDefinition& caseDef)
{
// From Vulkan API specification:
// >> When tessellating triangles or quads in point mode with fractional odd spacing, the tessellator
// >> When tessellating triangles or quads (with/without point mode) with fractional odd spacing, the tessellator
// >> ***may*** produce interior vertices that are positioned on the edge of the patch if an inner
// >> tessellation level is less than or equal to one.
return !((caseDef.primitiveType == vkt::tessellation::TESSPRIMITIVETYPE_QUADS ||
caseDef.primitiveType == vkt::tessellation::TESSPRIMITIVETYPE_TRIANGLES) &&
caseDef.usePointMode &&
caseDef.spacingMode == vkt::tessellation::SPACINGMODE_FRACTIONAL_ODD);
}

Expand Down
7 changes: 7 additions & 0 deletions external/vulkancts/mustpass/1.1.2/src/excluded-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ dEQP-VK.wsi.android.surface.query_devgroup_*

#VK-GL-CTS 749
dEQP-VK.glsl.builtin.precision.atan2.mediump_compute.*

#VK-GL-CTS 1273
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_ccw_valid_levels
dEQP-VK.tessellation.primitive_discard.triangles_fractional_odd_spacing_cw_valid_levels
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_ccw_valid_levels
dEQP-VK.tessellation.primitive_discard.quads_fractional_odd_spacing_cw_valid_levels

0 comments on commit 4fee4be

Please sign in to comment.