Skip to content

d3d12: Correctly key off of polygon stipple enable cap

Jesse Natalie requested to merge jenatali/mesa:d3d12-stipple-disable into main

Apparently we were only keying off the presence of a real stipple pattern being set, and completely ignoring when the app does glDisable().

Add in the actual enable bit as an additional discriminator to determine if we should be doing polygon stippling.

Fixes the "Cinebench R15.0" benchmark. Previously, due to stipple being always applied, the rendered image was considered "too wrong" to actually run the benchmark.

Merge request reports