mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 08:50:25 +01:00
radv: reduce maximum line width to 8.0
Using 8191.875 seems to big for the hardware to correctly render wide rectangular lines. This can also be reproduced with AMDVLK by forcing rectangularLines = True, and fixed by reducing the maximum size as well. Other drivers seem to expose that value. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21287>
This commit is contained in:
parent
65469eeca5
commit
3368c0e6f2
1 changed files with 1 additions and 1 deletions
|
|
@ -2156,7 +2156,7 @@ radv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
|||
.maxCombinedClipAndCullDistances = 8,
|
||||
.discreteQueuePriorities = 2,
|
||||
.pointSizeRange = {0.0, 8191.875},
|
||||
.lineWidthRange = {0.0, 8191.875},
|
||||
.lineWidthRange = {0.0, 8.0},
|
||||
.pointSizeGranularity = (1.0 / 8.0),
|
||||
.lineWidthGranularity = (1.0 / 8.0),
|
||||
.strictLines = false, /* FINISHME */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue