mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
ANV: Stop advertising smoothLines support on gen10+
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
This commit is contained in:
parent
85a9698ac3
commit
41691ac016
1 changed files with 9 additions and 1 deletions
|
|
@ -1101,7 +1101,15 @@ void anv_GetPhysicalDeviceFeatures2(
|
|||
(VkPhysicalDeviceLineRasterizationFeaturesEXT *)ext;
|
||||
features->rectangularLines = true;
|
||||
features->bresenhamLines = true;
|
||||
features->smoothLines = true;
|
||||
/* Support for Smooth lines with MSAA was removed on gen11. From the
|
||||
* BSpec section "Multisample ModesState" table for "AA Line Support
|
||||
* Requirements":
|
||||
*
|
||||
* GEN10:BUG:######## NUM_MULTISAMPLES == 1
|
||||
*
|
||||
* Fortunately, this isn't a case most people care about.
|
||||
*/
|
||||
features->smoothLines = pdevice->info.gen < 10;
|
||||
features->stippledRectangularLines = false;
|
||||
features->stippledBresenhamLines = true;
|
||||
features->stippledSmoothLines = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue