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>
This commit is contained in:
@@ -917,7 +917,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;
|
||||
|
||||
Reference in New Issue
Block a user