anv: Advertise the right line width range on gen9 and CHV

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jason Ekstrand 2019-06-12 15:19:17 -05:00
parent 77295b1fdc
commit aa13f75f01
1 changed files with 5 additions and 1 deletions

View File

@ -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 */