mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 12:50:25 +01:00
tu: Fix a6xx lineWidthGranularity
Fixes dEQP-VK.info.device_properties. Fixes:48da361eb7("tu: wideLines support for a7xx.") Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29088> (cherry picked from commita3e5c15664)
This commit is contained in:
parent
25aa178802
commit
8ec4314f5e
2 changed files with 2 additions and 2 deletions
|
|
@ -1024,7 +1024,7 @@
|
|||
"description": "tu: Fix a6xx lineWidthGranularity",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "48da361eb7b355f6ce79983d661dd0422e278967",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -910,7 +910,7 @@ tu_get_properties(struct tu_physical_device *pdevice,
|
|||
props->lineWidthRange[1] = pdevice->info->a6xx.line_width_max;
|
||||
props->pointSizeGranularity = 0.0625;
|
||||
props->lineWidthGranularity =
|
||||
pdevice->info->a6xx.line_width_max == 1.0 ? 1.0 : 0.5;
|
||||
pdevice->info->a6xx.line_width_max == 1.0 ? 0.0 : 0.5;
|
||||
props->strictLines = true;
|
||||
props->standardSampleLocations = true;
|
||||
props->optimalBufferCopyOffsetAlignment = 128;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue