mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
anv: maxFragmentShadingRateCoverageSamples is 16 on all platforms
But before ACM, we need to mis-report it to keep the CTS sane, as the implementation of coarse pixel seems to have all sorts of wrongs in older HW. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38641>
This commit is contained in:
parent
a7280ab590
commit
978d4b2a99
1 changed files with 4 additions and 2 deletions
|
|
@ -1495,8 +1495,10 @@ get_properties(const struct anv_physical_device *pdevice,
|
|||
props->maxFragmentSizeAspectRatio =
|
||||
pdevice->info.has_coarse_pixel_primitive_and_cb ?
|
||||
2 : 4;
|
||||
props->maxFragmentShadingRateCoverageSamples = 4 * 4 *
|
||||
(pdevice->info.has_coarse_pixel_primitive_and_cb ? 4 : 16);
|
||||
props->maxFragmentShadingRateCoverageSamples =
|
||||
devinfo->verx10 >= 125 ? 16:
|
||||
4 * 4 * 16; /* Technically wrong, but some CTS tests fail because of the rates we
|
||||
report on prior platforms. Fixing all of that is a task for another day. */
|
||||
props->maxFragmentShadingRateRasterizationSamples =
|
||||
pdevice->info.has_coarse_pixel_primitive_and_cb ?
|
||||
VK_SAMPLE_COUNT_4_BIT : VK_SAMPLE_COUNT_16_BIT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue