diff options
author | Jason Ekstrand <[email protected]> | 2019-06-12 15:19:17 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-08-06 02:05:28 +0000 |
commit | aa13f75f015f4272b0507279c6b794cd0b20ddd0 (patch) | |
tree | 9fc050750c03e78d68c4df2353ee1f405ba87540 /src/intel/vulkan | |
parent | 77295b1fdc2217178666791be9cdd63b93a53236 (diff) |
anv: Advertise the right line width range on gen9 and CHV
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index cdc0cffc0f2..d46883398b2 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1346,7 +1346,11 @@ void anv_GetPhysicalDeviceProperties( .maxCombinedClipAndCullDistances = 8, .discreteQueuePriorities = 2, .pointSizeRange = { 0.125, 255.875 }, - .lineWidthRange = { 0.0, 7.9921875 }, + .lineWidthRange = { + 0.0, + (devinfo->gen >= 9 || devinfo->is_cherryview) ? + 2047.9921875 : 7.9921875, + }, .pointSizeGranularity = (1.0 / 8.0), .lineWidthGranularity = (1.0 / 128.0), .strictLines = false, /* FINISHME */ |