diff options
author | Samuel Pitoiset <[email protected]> | 2019-12-06 16:09:48 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-03 12:31:53 +0000 |
commit | 7b70502a5d9a2d209f51e5b50229110d094f4478 (patch) | |
tree | de910aa447bcc6118744504fd592dc693e364aa8 /src/gallium/drivers/zink/nir_to_spirv/spirv_builder.h | |
parent | 7bbf497b68430934ab34316823e0f59ee34f9a4f (diff) |
radv: implement VK_AMD_mixed_attachment_samples
With VK_AMD_mixed_attachment_samples, the number of depth/stencil
samples isn't always equal to the number of color samples. Adjust
the number of Z samples when it's different but make sure to have
a consistent sample count if there are no depth/stencil attachments.
Also adjust the number of samples used for fragment shaders which is
the number of color samples if mixed attachment samples are used.
Only enabled on GFX8+ because it's untested on previous chips.
All dEQP-VK.pipeline.multisample.mixed_attachment_samples.* now pass.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3018>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3018>
Diffstat (limited to 'src/gallium/drivers/zink/nir_to_spirv/spirv_builder.h')
0 files changed, 0 insertions, 0 deletions