diff options
author | Kenneth Graunke <[email protected]> | 2016-10-03 20:44:38 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-11-22 00:29:24 -0800 |
commit | a4d7a5bd1eb4cc11024697cf309df390fbd97624 (patch) | |
tree | 344e14c0e63a0680d80a00b49ab463abd65495f0 /src/intel | |
parent | f182e5eafc31ebc7c140e9a369d5f747948733ae (diff) |
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]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/TODO | 1 | ||||
-rw-r--r-- | 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 a39bf43b592..b72b6c6b898 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 3f679195a10..6ad5316c50c 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 }, |