mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
panfrost: Respect info.fs.uses_sample_shading
Now that this is a link-time property. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
This commit is contained in:
parent
55f8df6d36
commit
b6ad375bdf
1 changed files with 2 additions and 1 deletions
|
|
@ -351,7 +351,8 @@ panfrost_shader_compile(struct panfrost_context *ctx,
|
|||
state->outputs_read = outputs_read >> FRAG_RESULT_DATA0;
|
||||
|
||||
/* EXT_shader_framebuffer_fetch requires per-sample */
|
||||
state->sample_shading = outputs_read;
|
||||
state->sample_shading = s->info.fs.uses_sample_shading ||
|
||||
outputs_read;
|
||||
|
||||
/* List of reasons we need to execute frag shaders when things
|
||||
* are masked off */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue