pvr: enable sampleRateShading feature

TODO: do something with pipeline create info?!

Signed-off-by: Simon Perretta <simon.perretta@imgtec.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37512>
This commit is contained in:
Simon Perretta 2025-09-23 21:18:27 +01:00 committed by Marge Bot
parent 2476e4c1ab
commit 2d485e8fea

View file

@ -233,7 +233,7 @@ static void pvr_physical_device_get_supported_features(
.independentBlend = false,
.geometryShader = false,
.tessellationShader = false,
.sampleRateShading = false,
.sampleRateShading = true,
.dualSrcBlend = false,
.logicOp = true,
.multiDrawIndirect = false,
@ -534,9 +534,9 @@ static bool pvr_physical_device_get_properties(
.maxTexelGatherOffset = 0U,
/* Requires sampleRateShading */
.minInterpolationOffset = 0.0f,
.maxInterpolationOffset = 0.0f,
.subPixelInterpolationOffsetBits = 0U,
.minInterpolationOffset = -0.5f,
.maxInterpolationOffset = 0.5f,
.subPixelInterpolationOffsetBits = 4U,
.maxFramebufferWidth = 4096U,
.maxFramebufferHeight = 4096U,