mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
panfrost: limit sample_shading to bifrost and later
We haven't wired this up in the Midgard compiler, so we can't expose
sample shading on Midgard GPUs. This all seems fixable, because the KILL
instruction can update the coverage without the kill-flag (yeah, a bit
confusing naming), but until someone puts in the time to wire up that,
let's just disable the functionality to avoid crashes.
Fixes: 6bba718027 ("panfrost: Advertise SAMPLE_SHADING")
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35881>
This commit is contained in:
parent
6237388454
commit
504e511c44
1 changed files with 1 additions and 1 deletions
|
|
@ -639,7 +639,7 @@ panfrost_init_screen_caps(struct panfrost_screen *screen)
|
|||
caps->depth_clip_disable = true;
|
||||
caps->mixed_framebuffer_sizes = true;
|
||||
caps->frontend_noop = true;
|
||||
caps->sample_shading = true;
|
||||
caps->sample_shading = dev->arch >= 6;
|
||||
caps->fragment_shader_derivatives = true;
|
||||
caps->framebuffer_no_attachment = true;
|
||||
caps->quads_follow_provoking_vertex_convention = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue