Module: Mesa Branch: master Commit: a4d7a5bd1eb4cc11024697cf309df390fbd97624 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4d7a5bd1eb4cc11024697cf309df390fbd97624
Author: Kenneth Graunke <[email protected]> Date: Mon Oct 3 20:44:38 2016 -0700 anv: Enable clip and cull distance support. Everything is now in place, and we appear to pass the tests on Gen7+. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> --- src/intel/vulkan/TODO | 1 - src/intel/vulkan/anv_device.c | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/intel/vulkan/TODO b/src/intel/vulkan/TODO index a39bf43..b72b6c6 100644 --- a/src/intel/vulkan/TODO +++ b/src/intel/vulkan/TODO @@ -4,7 +4,6 @@ Intel Vulkan ToDo Missing Features: - FP64 - Tessellation - - Cull and Clip Distance - Image Gather Extended - Storage Image Without Format - Investigate CTS failures on HSW diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3f67919..6ad5316 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -439,8 +439,8 @@ void anv_GetPhysicalDeviceFeatures( .shaderStorageImageArrayDynamicIndexing = true, .shaderStorageImageReadWithoutFormat = false, .shaderStorageImageWriteWithoutFormat = true, - .shaderClipDistance = false, - .shaderCullDistance = false, + .shaderClipDistance = true, + .shaderCullDistance = true, .shaderFloat64 = false, .shaderInt64 = false, .shaderInt16 = false, @@ -576,9 +576,9 @@ void anv_GetPhysicalDeviceProperties( .maxSampleMaskWords = 1, .timestampComputeAndGraphics = false, .timestampPeriod = time_stamp_base, - .maxClipDistances = 0 /* FIXME */, - .maxCullDistances = 0 /* FIXME */, - .maxCombinedClipAndCullDistances = 0 /* FIXME */, + .maxClipDistances = 8, + .maxCullDistances = 8, + .maxCombinedClipAndCullDistances = 8, .discreteQueuePriorities = 1, .pointSizeRange = { 0.125, 255.875 }, .lineWidthRange = { 0.0, 7.9921875 }, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
